187
Step Command
Remarks
4.
Configure CDP-compatible
LLDP to operate in TxRx
mode.
lldp compliance admin-status cdp txrx
Disable mode by default.
Configuring LLDP trapping
LLDP trapping notifies the network management system (NMS) of events such as newly-detected
neighboring devices and link failures.
LLDP traps are sent periodically, and the interval is configurable. To prevent excessive LLDP traps
from being sent when the 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 Ethernet interface
view:
interface interface-type
interface-number
•
Enter port group view:
port-group manual
port-group-name
N/A
3.
Enable LLDP trapping.
lldp notification remote-change
enable
Disabled by default.
4.
Return to system view.
quit
N/A
5.
Set the LLDP trap transmission
interval.
lldp timer notification-interval
interval
Optional.
5 seconds by default.
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
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