H3C LS-3100-52P-OVS-H3 Operation Manual - page 100
1-11
Follow these steps to configure LLDP trap:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter Ethernet
interface view
interface interface-type
interface-number
Enter
Ethernet
interface
view/port
group view
Enter port
group view
port-group manual
port-group-name
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.
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
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 ]
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
Display LLDP status of a port
display lldp status [ interface
interface-type interface-number ]
Available in any view
Display the types of the LLDP
TLVs that are currently sent
display lldp tlv-config [ interface
interface-type interface-number]
Available in any view
LLDP Configuration Examples
LLDP Basic Configuration Example
Network requirements
z
The NMS and Switch A are located in the same Ethernet. An MED device and Switch B are
connected to GigabitEthernet1/0/1 and GigabitEthernet1/0/2 of Switch A.
z
Enable LLDP on the ports of Switch A and Switch B to monitor the link between Switch A and
Switch B and the link between Switch A and the MED device on the NMS.