0% found this document useful (0 votes)
97 views

9.CDP and LLDP

This document discusses the Layer 2 discovery protocols Cisco Discovery Protocol (CDP) and Link Layer Discovery Protocol (LLDP). CDP is a Cisco proprietary protocol that shares device information between Cisco devices every 60 seconds. LLDP is a standard protocol that shares information between directly connected devices every 30 seconds. The document provides commands to configure, view neighbor information, and troubleshoot issues with CDP and LLDP.
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
0% found this document useful (0 votes)
97 views

9.CDP and LLDP

This document discusses the Layer 2 discovery protocols Cisco Discovery Protocol (CDP) and Link Layer Discovery Protocol (LLDP). CDP is a Cisco proprietary protocol that shares device information between Cisco devices every 60 seconds. LLDP is a standard protocol that shares information between directly connected devices every 30 seconds. The document provides commands to configure, view neighbor information, and troubleshoot issues with CDP and LLDP.
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/ 11

Networkforyou

Welcome
To
Network for you
CDP and LLDP

Email us: 1 of 11 WhatsApp Us : +966532984612


[email protected]
Networkforyou

Configure and verify Layer 2 discovery protocols (Cisco Discovery Protocol and LLDP)

CDP:
• CDP is CISCO Discovery Protocol.
• CDP is a Layer two discovery Protocol.
• CDP is CISCO Proprietary Protocol.
• CDP message contains information about Device ID, IP address, Port ID, Vlan and
Hardware Platform. Or it is used to share information about other directly connected
CISCO equipment such as the operating system version and IP address.
• CDP enable by default
• CDP advertisements are sent every 60 sec.
• CDP hold time advertised is 180 sec.
• CISCO devices send CDP announcements to the destination MAC address
01:00:0c:cc:cc:cc, out each connected network interface.

Email us: 2 of 11 WhatsApp Us : +966532984612


[email protected]
Networkforyou

To check we use command as given below.

Command Description
Sh cdp entry * To get all CDP neighbor entries
sh cdp neighbors To get neighbors information
sh cdp neighbors detail To get the neighbors detail
sh cdp interface To get interface neighbors info
Int e0/0 To disable cdp in any interface we go to that
no cdp enable interface then type

no cdp run If we want to disable completely in device


then we type
cdp timer <time_ in_ second> To Change CDP Time
cdp holdtime <time_ in_ second> To Change CDP Holdtime

Basic Lab for CDP:

S1: type below command to get CDP info in S1 S2: type below command to get CDP info in S2
Sh cdp entry * Sh cdp entry *
sh cdp neighbors sh cdp neighbors
sh cdp neighbors detail sh cdp neighbors detail
sh cdp interface sh cdp interface
no cdp enable no cdp enable
Cdp timer 100 Cdp timer 100
Cdp holdtime 200 Cdp holdtime 200

Email us: 3 of 11 WhatsApp Us : +966532984612


[email protected]
Networkforyou

Email us: 4 of 11 WhatsApp Us : +966532984612


[email protected]
Networkforyou

Email us: 5 of 11 WhatsApp Us : +966532984612


[email protected]
Networkforyou

Email us: 6 of 11 WhatsApp Us : +966532984612


[email protected]
Networkforyou

LLDP (Link Layer Discovery Protocol):


• It is Link Layer Discovery Protocol
• LLDP is a layer two discovery protocol
• LLDP is a standard Protocol
• LLDP is used to share information about other directly connected equipment such as the
operating system version and IP address.
• LLDP is disabled by default
• LLDP advertisements are sent every 30 sec.
• LLDP hold time advertised is 120 sec.
• LLDP announcements are send to the multicast destination address 01-80-C2-00-00-0e on
each interface.

Command Description
Lldp run To Enable LLDP Globally
No lldp run To disable LLDP Globally
Int e0/0 To Enable LLDP on an interface
Lldp transmit
Lldp receive
Int e0/0 To disable LLDP on an interface
No Lldp transmit To disable Transmit LLDP
No Lldp receive To disable Receive LLDP
Sh lldp entry * To get all LLDP neighbor entries
Sh lldp To get LLDP timer detal
Sh lldp interface To get interface neighbors info
Lldp timer <time_in_second> To Change LLDP timer
Lldp holdtime <time_in_second> To Change LLDP holdtime

Email us: 7 of 11 WhatsApp Us : +966532984612


[email protected]
Networkforyou

Email us: 8 of 11 WhatsApp Us : +966532984612


[email protected]
Networkforyou

Email us: 9 of 11 WhatsApp Us : +966532984612


[email protected]
Networkforyou

When we say no lldp transmit in SW3 then it will no go to SW4.

Email us: 10 of 11 WhatsApp Us : +966532984612


[email protected]
Networkforyou

Email us: 11 of 11 WhatsApp Us : +966532984612


[email protected]

You might also like