Administrator Guide

Example of Viewing LLDP Global Congurations
Example of Viewing LLDP Interface Congurations
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)#
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
Example of Viewing Details Advertised by Neighbors
R1(conf-if-te-1/31-lldp)#end
R1(conf-if-te-1/31)#do show lldp neighbors
Loc PortID Rem Host Name Rem Port Id Rem Chassis Id
-------------------------------------------------------------------------
Te 0/2 - 00:00:c9:b1:3b:82 00:00:c9:b1:3b:82
Te 0/3 - 00:00:c9:ad:f6:12 00:00:c9:ad:f6:12
Dell#show lldp neighbors detail
========================================================================
Local Interface Te 0/2 has 1 neighbor
Total Frames Out: 16843
Total Frames In: 17464
Total Neighbor information Age outs: 0
Total Multiple Neighbors Detected: 0
Total Frames Discarded: 0
Total In Error Frames: 0
Total Unrecognized TLVs: 0
Total TLVs Discarded: 0
Next packet will be sent after 16 seconds
The neighbors are given below:
-----------------------------------------------------------------------
474
Link Layer Discovery Protocol (LLDP)