LLDP versus CDP

lldp vs cdp, lldp versus cdp comparison table

LLDP (Link Layer Discovery Protocol) and CDP (Cisco Discovery Protocol) are two neighbour discovery protocols used in computer networks. These protocols have some similar and different characteristics. Both LLDP and CDP are layer 2 (data-link layer) protocols. They are both used to discover directly connected other devices in the network. How about differences? What are the differences between LLDP and CDP? Here is the comparison of these neighbor discovery protocols.

 


LLDP vs CDP

When we compare LLDP and CDP, the first important difference is about standardization. LLDP is a standard based neighbor discovery protocol used by all manufacturers. On the other hand, CDP is a vendor specific protocol. In other words, CDP is Cisco proprietary protocol.

 

LLDP is defined as IEEE 802.1AB standard.

 

With LLDP we discover all the directly connected network devices. Here, device name, capabilities, port IDs are shared. CDP discovers only directly connected Cisco devices. Here device information such as IOS version, IP address and capabilities are shared. Because of supporting by all vendors, LLDP is used mostly in the networks.

 

lldp vs cdp, lldp versus cdp comparison table

 

Here, both protocols have advantages. The key point of Cisco Discovery Protocol is this: CDP provides detailed information about Cisco devices. On the other hand, LLDP is an interoperable protocol that can discover not only Cisco but also other vendor devices.  But LLDP (Link Layer Discovery Protocol) gets, not much details like CDP.

 

Below, you can find a comparison table for LLDP and CDP.

 

Feature LLDP CDP
Vendor Support Multi-vendor Cisco only
Standard IEEE 802.1AB Cisco Proprietary
OSI Layer Layer 2 Layer 2
Interoperability Yes No
Info Shared Device name, capabilities, port ID Device name, IOS version, IP, capabilities
Use Case Multi-vendor environments Cisco-only environments
Details Low details More details

 


Frequently Asked Question on LLDP and CDP

Can LLDP and CDP run on the same Cisco device?

Yes, both protocols can run simultaneously without conflict. LLDP is often used for multi-vendor interoperability, while CDP is used for Cisco-specific details.

 


In Which layer do LLDP and CDP operate?

Both LLDP and CDP operate at Layer 2 (Data Link Layer) of OSI model.

 


Which neighbor discovery protocol provides more detailed information?

CDP provides detailed information such as IOS version, IP address, and device capabilities for Cisco devices. On the other hand, Link Layer Discovery Protocol provides basic device info across vendors.

 


How do I verify LLDP neighbors on a Cisco switch?

We can use lldp commands to verify lldp neighbors on Cisco devices. Here, “show lldp neighbors” and “show lldp neighbors detail” are good commands.

 


What Cisco commands can I use to check CDP neighbors?

To check CDP neighbors you can use “show cdp neighbors”, “show cdp neighbors detail” and “show cdp traffic” commands on Cisco devices.

Lesson tags: CDP, lldp, network protocols, neighbor discovery protocols
Back to: CCNA 200-301 v1.1 > Neighbor Discovery

Leave a Reply

Your email address will not be published. Required fields are marked *

CCNA 200-301 v1.1

Collapse
Expand