Addendum

Viewing the LLDP Configuration
To view the LLDP configuration, use the following command.
Display the LLDP configuration.
CONFIGURATION or INTERFACE mode
show config
Example of Viewing LLDP Global Configurations
R1(conf)#protocol lldp
R1(conf-lldp)#show config
!
protocol lldp
advertise dot1-tlv port-protocol-vlan-id port-vlan-id
advertise dot3-tlv max-frame-size
advertise management-tlv system-capabilities system-description
hello 10
no disable
R1(conf-lldp)#
Example of Viewing LLDP Interface Configurations
R1(conf-lldp)#exit
R1(conf)#interface gigabitethernet 1/31
R1(conf-if-gi-1/31)#show config
!
interface GigabitEthernet 1/31
no ip address
switchport
no shutdown
R1(conf-if-gi-1/31)#protocol lldp
R1(conf-if-gi-1/31-lldp)#show config
!
protocol lldp
R1(conf-if-gi-1/31-lldp)#
Viewing Information Advertised by Adjacent LLDP Agents
To view brief information about adjacent devices or to view all the information that neighbors are
advertising, use the following commands.
Display brief information about adjacent devices.
show lldp neighbors
Display all of the information that neighbors are advertising.
show lldp neighbors detail
Example of Viewing Brief Information Advertised by Neighbors
R1(conf-if-gi-1/31-lldp)#end
R1(conf-if-gi-1/31)#do show lldp neighbors
Loc PortID Rem Host Name Rem Port Id Rem Chassis Id
-------------------------------------------------------------------------
Gi 1/21 - GigabitEthernet 2/11 00:01:e8:06:95:3e
Gi 1/31 - GigabitEthernet 3/11 00:01:e8:09:c2:4a
Link Layer Discovery Protocol (LLDP)
385