Switches, Hubs, and Modems
1748183 Members
3678 Online
108759 Solutions
New Discussion юеВ

Re: CDP / LLDP display issue

 
SOLVED
Go to solution
Jay-D
Occasional Contributor

CDP / LLDP display issue

Hi there,

While doing a "show cdp neighbors" or a "show lldp info remote-device" on two directly linked procurve switches I can only see the remote MAC address, not the system name :

KALAMAR1# sh cdp neighbors

CDP neighbors information

Port Device ID | Platform Capability
---- ----------------------------- + ---------------------------- -----------
1 00 1f fe 51 be 40 | ProCurve J9085A Switch 26... S


KALAMAR2# sh cdp neighbors

CDP neighbors information

Port Device ID | Platform Capability
---- ----------------------------- + ---------------------------- -----------
1 00 1f fe 51 60 80 | ProCurve J9085A Switch 26... S

I've seen this issue in many config. Do you know what can cause this?

Kind regards,
JD.
'not so bad'
5 REPLIES 5
Mohammed Faiz
Honored Contributor
Solution

Re: CDP / LLDP display issue

Hi,

Depending upon what software versions you are running the CDP command isn't really valid anymore.
For example, if I run a "show cdp n" I only see the MAC of the connected switch but with a "sh ll i r" I see both the MAC address and the hostname (listed under 'SysName').
What software versions are you running on the switches in your example?
Jay-D
Occasional Contributor

Re: CDP / LLDP display issue

You're right, we may have more info from the LLDP view :

KALAMAR1# sh ll i r

LLDP Remote Devices Information

LocalPort | ChassisId PortId PortDescr SysName
--------- + ------------------------- ------ --------- ----------------------
1 | 00 1f fe 51 be 40 1 1 KALAMAR2
26 | CORE(00110a-45d200) C2

now I have a mix of MAC address & Host names. On older IOS, the view is more user friendly with only the host name.

JD.
'not so bad'
Mohammed Faiz
Honored Contributor

Re: CDP / LLDP display issue

If you just want something to show you a map of your switch inter-links try using Procurve Manager:

http://www.procurve.com/products/management/ProCurve_Manager/overview.htm

The basic version (not Procurve manager plus) is free and it will automatically create graphical maps of your network for you.
Shadow13
Respected Contributor

Re: CDP / LLDP display issue

you can try
#show cdp neighbors detail
Jay-D
Occasional Contributor

Re: CDP / LLDP display issue

This command :

#show cdp neighbors detail

..is giving the IP but not the hostname which didn't do the trick for me :(

I'm using PCM+ but I prefer using CLI to track switches interco in order to propagate VLANS. I'll stop using CDP and for the LLDP commands.

Thank you!
'not so bad'