CDP_and_LLDP
CDP_and_LLDP
md 2024-12-09
LAYER 2 DISCOVERY PROTOCOL, such as CDP and LLDP share information WITH and DISCOVER
information about NEIGHBORING (Connected) DEVICES
Hostname
IP Address
Device Type
etcetera.
Because they SHARE INFORMATION about the DEVICES in the NETWORK, they can be considered a
security risk and are often NOT used. It is up to the NETWORK ENGINEER / ADMIN to decide if they
want to use them in the NETWORK or not.
When a DEVICE receives a CDP message, it PROCESSES and DISCARDS the message. It does NOT
forward it to other devices.
By DEFAULT, CDP Messages are sent once every 60 seconds
1 / 10
CDP_and_LLDP.md 2024-12-09
By DEFAULT, the CDP hold-time is 180 seconds. If a message isn’t received from a neighbor for 180
seconds, the neighbor is REMOVED from the CDP Neighbor Table
CDPv2 messages are sent by DEFAULT
2 / 10
CDP_and_LLDP.md 2024-12-09
3 / 10
CDP_and_LLDP.md 2024-12-09
“Local Intrface” = What LOCAL device interface the neighbors are connected to
4 / 10
CDP_and_LLDP.md 2024-12-09
5 / 10
CDP_and_LLDP.md 2024-12-09
When a DEVICE receives an LLDP message, it PROCESSES and DISCARDS the message. It does NOT
forward it to OTHER DEVICES
By DEFAULT, LLDP Messages are sent once every 30 seconds
By DEFAULT, LLDP Holdtime is 120 seconds
LLDP has an additional timer called the ‘reinitialization delay’
If LLDP is ENABLED (Globally or on an INTERFACE), this TIMER will DELAY the actual initialization
of LLDP (2 seconds, by DEFAULT)
YOU NEED TO ENABLE BOTH TO SEND AND RECEIVE (Unless you want to only enable SEND or RECEIVE LLDP
Messages)
6 / 10
CDP_and_LLDP.md 2024-12-09
7 / 10
CDP_and_LLDP.md 2024-12-09
8 / 10
CDP_and_LLDP.md 2024-12-09
9 / 10
CDP_and_LLDP.md 2024-12-09
10 / 10