217
To configure LLDP trapping:
To do… Use the command… Remarks
1. Enter system view
system-view —
Enter Layer 2/Layer 3
Ethernet interface
view
interface interface-type interface-
number
2. Enter
Ethernet
interface
view or
port
group
view
Enter port group view port-group manual port-group-name
Required.
Use either command.
3. Enable LLDP trapping
lldp notification remote-change enable
Required.
Disabled by default
4. Quit to system view
quit —
5. Set the interval to send LLDP traps
lldp timer notification-interval interval
Optional.
5 seconds by default
Displaying and maintaining LLDP
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 ] [ |
{ begin | exclude | include } regular-
expression ]
Available in any view
Display the information contained
in the LLDP TLVs sent from
neighboring devices
display lldp neighbor-information [ brief |
interface interface-type interface-number
[ brief ] | list [ system-name system-name ] ]
[ | { begin | exclude | include } regular-
expression ]
Available in any view
Display LLDP statistics
display lldp statistics [ global | interface
interface-type interface-number ] [ | { begin
| exclude | include } regular-expression ]
Available in any view
Display LLDP status of a port
display lldp status [ interface interface-type
interface-number ] [ | { begin | exclude |
include } regular-expression ]
Available in any view
Display types of advertisable
optional LLDP TLVs
display lldp tlv-config [ interface interface-
type interface-number ] [ | { begin | exclude
| include } regular-expression ]
Available in any view