Configuring lldp trapping, Displaying and maintaining lldp – H3C Technologies H3C S12500 Series Switches User Manual
Page 241

228
Step Command Remarks
3.
Enter Ethernet interface view
or port group view.
•
Enter Layer 2 or Layer 3 Ethernet
interface view:
interface interface-type
interface-number
•
Enter port group view:
port-group manual port-group-name
Use either command.
4.
Configure CDP-compatible
LLDP to operate in TxRx mode. lldp compliance admin-status cdp txrx
The default setting is
disable mode.
Configuring LLDP trapping
LLDP trapping notifies the network management system of events such as newly detected neighboring
devices and link failures.
To prevent excessive LLDP traps from being sent when topology is unstable, set a trap transmission
interval for LLDP.
To configure LLDP trapping:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter Ethernet interface view or
port group view.
•
Enter Layer 2 or Layer 3 Ethernet
interface view:
interface interface-type
interface-number
•
Enter port group view:
port-group manual
port-group-name
Use either command.
3.
Enable LLDP trapping.
lldp notification remote-change enable
By default, LLDP trapping is
disabled.
4.
Return to system view.
quit
N/A
5.
Set the LLDP trap transmission
interval.
lldp timer notification-interval interval
Optional.
The default setting is 5
seconds.
Displaying and maintaining LLDP
Task 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.