Setup Guide
View all the LLDP TLV information including unrecognized TLVs, using the snmpwalk and snmpget commands.
For more details, see MIB Support to Display Unrecognized LLDP TLVs.
Viewing the LLDP Conguration
To view the LLDP conguration, use the following command.
• Display the LLDP conguration.
CONFIGURATION or INTERFACE mode
show config
Examples of Viewing LLDP Congurations
The following example shows viewing an LLDP global conguration.
DellEMC(conf)#protocol lldp
DellEMC(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
DellEMC(conf-lldp)#
DellEMC(conf-lldp)#exit
DellEMC(conf)#interface gigabitethernet 1/31
DellEMC(conf-if-gi-1/31)#show config
!
interface GigabitEthernet 1/31
no ip address
switchport
no shutdown
DellEMC(conf-if-gi-1/31)#protocol lldp
DellEMC(conf-if-gi-1/31-lldp)#show config
!
protocol lldp
DellEMC(conf-if-gi-1/31-lldp)#
Viewing Information Advertised by Adjacent LLDP
Neighbors
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
Examples of Viewing Information Advertised by Neighbors
Example of Viewing Brief Information Advertised by Neighbors
DellEMC(conf-if-gi-1/3-lldp)#end
DellEMC(conf-if-gi-1/3)#do show lldp neighbors
Loc PortID Rem Host Name Rem Port Id Rem Chassis Id
--------------------------------------------------------------------
Link Layer Discovery Protocol (LLDP)
467