Layer 2 Discovery Protocols (CDP & LLDP)
Layer 2 Discovery Protocols (CDP & LLDP)
CDP Conditions:-
1. Device must be Cisco
2. Must be Directly Connected
3. Must be some software Running on those Devices
Router#show cdp
Global CDP information:
Sending CDP packets every 60 seconds
Sending a holdtime value of 180 seconds
Sending CDPv2 advertisements is enabled
Router#
Router#
LLDP has and additional timer called the ‘reinitialization delay’. If LLDP is
enabled (globally or on an interface), this timer will delay the actual
initialization on LLDP. 2 seconds by default.
Verification
SW-A#show lldp interface fastEthernet 0/10
FastEthernet0/1
0: Tx:
enabled Rx:
enabled
Tx state:
IDLE Rx state:
INIT
SW-A#
Switch#show lldp
Global LLDP
Information:
Status: ACTIVE
LLDP advertisements are sent every 30
seconds LLDP hold time advertised is 120
seconds
LLDP interface reinitialisation delay is 2 seconds
Chassis id:
0024.9730.3680 Port id:
Fa0/10