The lldp trap-interval command sets the delay in sending neighbor change traps to the NMS.
The undo lldp trap-interval command restores the default delay in sending neighbor change traps to the NMS.
By default, the device sends a neighbor change trap to the NMS after a 5-second delay.
Parameter |
Description |
Value |
---|---|---|
interval |
Specifies the delay in sending traps. |
The value is an integer ranging from 5 to 3600, in seconds. The default value is 5 seconds. The default value is recommended. |
Usage Scenario
There is a delay before the device sends LLDP traps about neighbor information changes to the NMS. When neighbor information changes frequently, you can prolong the delay. In this way, the device will not frequently send traps to the NMS, and the network topology flapping is suppressed.
Prerequisites
LLDP has been enabled globally using the lldp enable (system view) command.
Configuration Impact
After the delay is set on the device, LLDP-enabled interfaces send LLDP traps to neighbors after a delay (the delay is the same as or longer than the delay you specified). The interfaces may send LLDP traps at different time points.
Precautions
The delay takes effect for the lldpRemTablesChange trap generated when a neighbor is added, aged, or discarded (a new neighbor is discarded if the number of neighbors on an interface or switch has reached the upper limit).