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
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

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.
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.
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)

Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook 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 ?
Steven CarnahanNetwork ManagerCommented:
Brocade switches use FDP instead of CDP

show fdp neighbors
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
Steven CarnahanNetwork ManagerCommented:
Since Brocade won't send CDP Cisco can't see it. Yes in a mixed environment you should use LLDP.

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
Steven CarnahanNetwork ManagerCommented:
LLDP is disabled globally.  To enable:

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

Then the command sh lldp neighbors should work
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 :

Steven CarnahanNetwork ManagerCommented:
I am afraid Cisco-commands are not always the same, fx. Nexus vs IOS.
In IOS I use 'lldp run'
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.
you might be better off useing a tool to get your naighbors
eemoonAuthor Commented:
Since Cisco has this kind of command, the commands should be able to work, i think so.
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.
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

From novice to tech pro — start learning today.