100% found this document useful (1 vote)
71 views1 page

CDP & LLDP

CDP and LLDP are layer 2 protocols that identify neighboring devices and share information. CDP is Cisco proprietary, while LLDP is an open standard. Both protocols use TLVs to share information like device ID, port ID, and VLAN configuration. CDP is enabled by default on Cisco devices and shares additional Cisco-specific information, while LLDP must be manually enabled but can transmit voice VLAN settings to non-Cisco phones.

Uploaded by

Ahmad Ali
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
71 views1 page

CDP & LLDP

CDP and LLDP are layer 2 protocols that identify neighboring devices and share information. CDP is Cisco proprietary, while LLDP is an open standard. Both protocols use TLVs to share information like device ID, port ID, and VLAN configuration. CDP is enabled by default on Cisco devices and shares additional Cisco-specific information, while LLDP must be manually enabled but can transmit voice VLAN settings to non-Cisco phones.

Uploaded by

Ahmad Ali
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Configure and Verify Layer 2 Protocols:

CDP and LLDP, serve the same purpose, identify neighbor devices, LLDP is an industry standard
and CDP is Cisco proprietary. CDP is used for many purposes in our current network like device
identification and carrying vlan information for cisco devices. The voice vlan in Cisco switches
carried by CDP packets to ip phone, if you have other vender such as Avaya phone, you can use
LLDP to send the voice vlan information LLDP packets just like CDP.

LLDP CDP
Link Layer Discovery Protocol Cisco Discovery Protocol
LLDP is a layer two discovery protocol CDP is a layer two discovery protocol
LLDP is a standard protocol CDP is Cisco Proprietary protocol
LLDP use TLVs (Type, Length, and Value) to CDP use TLVs (Type, Length, and Value) to
send and receive information to their directly send and receive information to their directly
connected neighbors. connected neighbors.
CDP message contains information about CDP message contains information about
port, system name, system capabilities, and Device ID, IP address, port ID, VLAN and
management address. hardware platform.
LLDP allows switch ports configured with a CDPv2 allows switch ports configured with a
voice vlan. voice vlan.
LLDP announcements are send to the CDP announcements are send to the
multicast destination address multicast destination address
01-80-C2-00-00-0e on each interface 01-00-0c-cc-cc-cc on each interface
LLDP is disabled by default CDP is enable by default
LLDP advertisements are sent every 30 sec CDP advertisements are sent every 60 sec
LLDP hold time advertised is 120 seconds CDP hold time advertised is 180 seconds
Globally enable LLDP Globally enable CDP
SW(config)#lldp run SW(config)#cdp run
Globally disable LLDP Globally disable CDP
SW(config)#no lldp run SW(config)#no cdp run
Enable LLDP on an interface Enable CDP on an interface
SW(config-if) #lldp transmit SW(config-if)#cdp enable
SW(config-if)#lldp receive
N/A Enable CDP version 2
SW(config)# cdp advertise-v2
SW# show lldp neighbors SW# show cdp neighbors
SW# show lldp entry * SW# show cdp entry *
SW# show lldp traffic SW# show cdp traffic
SW# show lldp SW# show cdp
SW# show lldp interface SW# show cdp interface
SW(config)#lldp timer <time_ in_ second> SW(config)#cdp timer <time_ in_ second>
SW(config)#lldp holdtime <time_ in_ second> SW(config)#cdp holdtime <time_ in_ second>

1 | P a g e Created by Ahmad Ali E-Mail: [email protected] , Mobile: 056 430 3717

You might also like