08-08-2022 07:54 AM
I've tried to find an answer to this on my own, but I'm not having much luck so I'm just going to ask it. I have Layer 2 switches in my network and there are times when running sh cdp niegh it doesn't listed everything that's connected. I have an IE switch that I ran the command on this morning and despite having devices plugged into Fa 1/3, 1/4 and Gi 1/1 the output lists nothing. Why is this? Are there just some devices cdp neigh won't list?
Solved! Go to Solution.
08-08-2022 08:24 AM - edited 08-08-2022 08:27 AM
Hello,
Since CDP is CISCO proprietary you may not get all the results of a non CISCO device. In addition to what others said, the other standard is LLDP (Link Layer Discovery Protocol). On CISCO CDP is enabled by default and LLD is disabled by default I believe. You can enable LLDP globally or per interface with the commands:
Globally:
lldp run
Interface:
lldp transmit
lldp receive
You need both commands on interface for transmit/receive functions
See if "show lldp neighbors" shows any information after you enable it.
Hope that helps
-David
08-08-2022 08:08 AM
are devices on port Fa 1/3, 1/4 and Gi 1/1 Cisco devices ? if Yes, is CDP enabled on them ?
08-08-2022 08:14 AM
despite having devices plugged into Fa 1/3, 1/4 and Gi 1/1 the output lists nothing.
what device is this ? they capable of CDP ? Only switches and router have capabilities of CDP enable devices.
08-08-2022 08:24 AM - edited 08-08-2022 08:27 AM
Hello,
Since CDP is CISCO proprietary you may not get all the results of a non CISCO device. In addition to what others said, the other standard is LLDP (Link Layer Discovery Protocol). On CISCO CDP is enabled by default and LLD is disabled by default I believe. You can enable LLDP globally or per interface with the commands:
Globally:
lldp run
Interface:
lldp transmit
lldp receive
You need both commands on interface for transmit/receive functions
See if "show lldp neighbors" shows any information after you enable it.
Hope that helps
-David
08-08-2022 09:08 AM
Thank you! It's been a while since studying for my CCNA and I should've known that. lol Thanks for reminding me. You're absolutely right.
08-10-2022 08:23 AM
"On CISCO CDP is enabled by default . . ."
BTW, CDP isn't always on by default, for all interface types, tunnel interfaces often being an example where you need to manually enable CDP on the interface.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide