Configuring LLDP trapping
LLDP trapping notifies the network management system (NMS) of events such as newly-detected
neighboring devices and link malfunctions.
To prevent excessive LLDP traps from being sent when the topology is unstable, you can set a minimum
trap sending interval for LLDP.
Follow these steps to configure LLDP trapping:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter Layer 2 Ethernet
interface view
interface
interface-type interface-number
Enter Ethernet
interface view
or port group
view
Enter port group view
port-group manual
port-group-name
Required
Use either command.
Enable LLDP trapping
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
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
176