Neighbour Discovery Protocols – Part 6 ( LLDP Cisco Configuration)

lldp-neighbour-discovery

LLDP Cisco Configuration

To understand LLDP better, let’s check the configure of LLDP on the Cisco IOS. The most important commands related with LLDP configuration is showed below.

LLDP Configuration Topology
 

LLDP Configuration Topology
LLDP is disabled by default. To enable LLDP on the device, use “lldp run” on the global configuration mode. Again, “no lldp run” is used to disable lldp on that device.

RouterA(config)# lldp run
RouterA(config)# no lldp run

To specify the TLVs on the device, use “lldp med-tlv-select tlv” command. Here, tlv can be inventory-management, power-management, network-policy, location etc.

RouterA(config)# lldp med-tlv-select tlv  

Like other protocols, LLDP has also timers. The default values of reinit is 2, timer is 30 and holdtime is 120. Reinit is the initialization delay. Timer is the update time. And holdtime is the time that it waits without an update and then discards the entry.



LLDP timers can be configured like below:



Neighbour Discovery Protocols – Part 1
Neighbour Discovery Protocols – Part 2 ( LLDP )
Neighbour Discovery Protocols – Part 3 ( CDP )
Neighbour Discovery Protocols – Part 4 ( CDP Configuration Example )
Neighbour Discovery Protocols – Part 5 ( LLDP-MED )
Neighbour Discovery Protocols – Part 6 ( LLDP Cisco Configuration)

 

Leave a Reply