What is replacement of Cisco show cdp neighbor ?

Hi , We use show cdp neighbor to know device connection. But the network includes Cisco and other devices. What command can we use to show cdp neighbor ? Thank you
eemoonAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Steven CarnahanNetwork ManagerCommented:
Are you saying the command doesn't work?  If that is the case it may be because there is an "s" at the end of neighbor that you don't have in your description.

sh cdp neighbors

See http://www.cisco.com/web/techdoc/dc/reference/cli/nxos/commands/l2/show_cdp_neighbors.html for additional information about using the command.
0
eemoonAuthor Commented:
show cdp neighbor is used to only show Cisco devices connection. If non-Cisco devices are in the network, show cdp neighbor cannot work to connection to non-Cisco devices.
0
jburgaardCommented:
You do not mention make and model of the other switches.
In a HP Procurve switch the protocol used would be LLDP instead of the Cisco proprietary CDP.
-You can config the  Cisco to 'talk' LLDP :   LLDP run
-To show neighbors running lldp:    show lldp nei
(in the procurve the command would be:    show lldp info remote)

HTH
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

eemoonAuthor Commented:
Thank you so much for your fast reply. The network just have Cisco devices and Brocade switch 6610. It looks like LLDP cannot work. Maybe we need Brocade commands to find physical relation, right ?
0
Steven CarnahanNetwork ManagerCommented:
Brocade switches use FDP instead of CDP

show fdp neighbors
0
eemoonAuthor Commented:
Yes, show fdp neighbor can work in Brocade switch side. If we want to see the neighbor relation from Cisco devices side, do we need run LLDP ? I tried to run it in Cisco Nexus 7k, but it does not work, and I cannot enter the command
0
Steven CarnahanNetwork ManagerCommented:
Since Brocade won't send CDP Cisco can't see it. Yes in a mixed environment you should use LLDP.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
eemoonAuthor Commented:
You are right, but Cisco device does not accept "show lldp neighbors" command. I am trying to enable lldp first, and I will let you know the result
0
Steven CarnahanNetwork ManagerCommented:
LLDP is disabled globally.  To enable:

SUMMARY STEPS
 
 1. enable
 
 2. configure terminal
 
 3. lldp run
 
 4. end

Then the command sh lldp neighbors should work
0
eemoonAuthor Commented:
Thank you for your reply. "lldp run" in Nexus7k cannot work, but after i enter feature lldp, i can enter show lldp neighbor and got the result. However, the output result is different between show cdp neighbor and show lldp neighbor in the same device Nexus7k. Show lldp neighbor still cannot see non-Cisco devices. I do not know why it happen. The command show lldp neighbor has shown less neighbors. Cisco document also do not mention the issue and command, such as lldp run. the below is one that I reviewed :

http://www.cisco.com/c/en/us/td/docs/switches/datacenter/sw/5_x/nx-os/system_management/configuration/guide/sm_nx_os_cg/sm_lldp.html
0
Steven CarnahanNetwork ManagerCommented:
0
jburgaardCommented:
I am afraid Cisco-commands are not always the same, fx. Nexus vs IOS.
In IOS I use 'lldp run'
0
eemoonAuthor Commented:
The link that you provided do not mention for Nexus7000. As jburaard said, it is for IOS. but even if it is for ios, the ios should be high version. In gns, it cannot work too

So in Nexus 7000, based on the command mentioned in that Cisco document, it looks like show lldp neighbors cannot work, which means it cannot show non-Cisco devices. I guess it lack some configuration.
0
StolsieCommented:
you might be better off useing a tool to get your naighbors
http://www.spiceworks.com/free-network-mapping-software/
0
eemoonAuthor Commented:
Since Cisco has this kind of command, the commands should be able to work, i think so.
0
Steven CarnahanNetwork ManagerCommented:
Have you tried

show ip ospf neighbor

Not sure if it will work since I have been a full Cisco shop for many years now.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Routers

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.