Cisco Discovery Protocol (CDP):
Cisco Discovery Protocol is a proprietary Data Link Layer protocol developed by Cisco Systems. It is used to share information about other directly connected Cisco equipment, such as the operating system version and IP address.
CDP sends discovery packets every 60 seconds and has a hold interval of 180 seconds.
Related commands:
Command |
Effect |
S1(config)#cdp run |
Will enable CDP on the Router / Switch (exists by default). |
S1(config-if)#no cdp enable |
Will disable CDP on a certain interface. |
Show cdp neighbors |
To see the available neighbors. |
Show cdp interface |
Will show the status of each interface. (The missing interfaces are the ones with no cdp enable). |
Show cdp neighbors detail
|
Will show details like the platform version and IP address of the neighbors |
Show cdp |
Will show CDP timers |
Link Layer Discovery Protocol (LLDP)
The main difference is that CDP is Cisco Proprietary whereas LLDP is an open standard.
LLDP was actually built by the IETF on the same basis as CDP.
Note: Many Cisco Devices do NOT Support LLDP.
Related Commands:
Command |
Effect |
S1(config)#lldp run |
Will enable LLDP on the Router / Switch. |
S1(config-if)#lldp transmit |
Will enable LLDP on a certain interface. |
Show lldp nighbors |
To see the available neighbors. |