This topic is to discuss the following lesson:
It’s always so good read your articles! I can understand them and make me feeling smarter Thanks!!!
Good to hear you like them Gabriel!
I work as technical support in Internet Services & Communications company and we don’t use Cisco products only, we also use other network products from different vendors like Ubiquiti, mikrotik, Exalt, etc. and we connect all these different products with each other!!
so when I use CDP to show which devices connected to cisco switch or router I noticed that information of different vendors products also appears to me!!
My question is why I show this info ? I know that CDP is Cisco proprietary so how it’s able to identify the products from other vendors???
Some other vendors also support(ed) CDP. Some older HP procurve switches also had it.
I think Ubiquiti and Mikrotik also have some support for it. Nowadays we also use LLDP, it is similar to CDP:
Cisco ASA doesn’t seem to have CDP available. Is it maybe configured a different way?
The ASA doesn’t support CDP…not sure why but it doesn’t
Hello @ReneMolenaar ,
I work with Cisco ASRs devices running cisco XR OS, and they don’t have CDP enabled by default. You have to enable it globally with
cdp run command and that’s not enough to make it work. You still have to enable it per interface as well with
cdp enable command.
ASAs don’t have CDP feature and it make sense since they are firewall devices. but there is a trick way to do this, I will lab it and show you the commands.
Thanks for sharing that information. It’s important because it shows how much detail Cisco goes into in choosing what features are enabled by default and which are not. ASRs are used in larger enterprise networks, and as such may be susceptible to security issues. Because CDP can open doors to attacks, it is disabled by default to improve security, but as you mention, can be enabled by administrators only if required and only on interfaces where it is needed.
Thanks for sharing!
The link for the topic “2.1a: Implement and troubleshoot switch administration is not working.” Does it exist?
I added this menu item but didn’t add any lessons to it yet. I’ll see if I already have any material that I can add to it.
A post was merged into an existing topic: Link Layer Discovery Protocol (LLDP)
Can I use cdp on routers? If I have two switches that have a routed port between them, will
show cdp neighbors give me info about the router on the other side or any switches on the other side?
You can use CDP to to find information about any directly connected Cisco device, even if they are connected via a routed port or a Layer 2 port. So yes, you can have a switch connected to a router and CDP will show you information about that device, assuming CDP is correctly configured.
Even if you have multiple devices in a network and they are not directly connected to each other, if they are on the same VLAN (like a management VLAN for example) you will see them in the show CDP neighbor output. This is because they are considered directly connected on Layer 2 so they share this information between them.
The only time you won’t see information about the directly connected device is if you are using a QinQ VLAN arrangement, where multiple VLANs are tunnelled through a single VLAN. In this case, you will only see the “neighbors” that are on the tunnelled VLAN and not on the tunnelling VLAN.
For more info about QinQ, take a look at the relevant lesson.
I hope this has been helpful!