1188 CHAPTER 92: LLDP CONFIGURATION
n
The configuration does not apply to LLDP-CDP packets, which use only SNAP 
encapsulation.
Configuring LLDP Trap LLDP trap is used to notify NMS of the events such as new neighboring devices 
detected and link malfunctions.
LLDP traps are sent periodically and you can set the interval to send LLDP traps. In 
response to topology changes detected, a device sends LLDP traps according to 
the interval configured to inform the neighboring devices of the changes.
Follow these steps to configure LLDP trap:
Displaying and 
Maintaining LLDP
Configure the encapsulation 
format for LLDPDUs as SNAP
lldp encapsulation snap Optional
Ethernet II encapsulation 
format applies by default. Configure the encapsulation 
format for LLDPDUs as Ethernet II
undo lldp encapsulation 
[ snap ]
To do… Use the command…  Remarks 
To do… Use the command… Remarks 
Enter system view system-view - 
Enter 
Ethernet 
interface 
view/port 
group view 
Enter Ethernet 
interface view 
interface interface-type 
interface-number 
Either of the two is required.
Configuration performed in 
Ethernet interface view 
applies to the current port 
only; configuration performed 
in port group view applies to 
all the ports in the 
corresponding port group. 
Enter port 
group view 
port-group { aggregation 
agg-id | manual 
port-group-name }
Enable LLDP trap sending lldp notification 
remote-change enable 
Required
Disabled by default 
Quit to system view quit - 
Set the interval to send LLDP 
traps
lldp timer 
notification-interval value 
Optional
5 seconds by default
To do…  Use the command…  Remarks 
Display the global LLDP 
information or the 
information contained in the 
LLDP TLVs to be sent through 
a port 
display lldp 
local-information [ global | 
interface interface-type 
interface-number ] 
Available in any view 
Display the information 
contained in the LLDP TLVs 
received through a port 
display lldp 
neighbor-information 
[ interface interface-type 
interface-number ] [ brief ] 
Available in any view 
Display LLDP statistics  display lldp statistics 
[ global | interface 
interface-type 
interface-number ] 
Available in any view