The snmp-agent bfd trap-interval command sets the interval at which traps are sent.
The undo snmp-agent bfd trap-interval command restores the default interval at which traps are sent.
By default, the interval at which traps are sent is 120s.
Parameter |
Description |
Value |
---|---|---|
interval |
Specifies the interval at which traps are sent. |
The value is an integer that ranges from 1 to 600, in seconds. |
Usage Scenario
If the BFD module is enabled with the SNMP alarm function, the NMS will receive BFD Up or Down messages. If the BFD session flaps, the NMS receives a large number of traps. In this case, BFD traps need to be suppressed. Run the snmp-agent bfd trap-interval command to set the interval at which traps are sent to prevent overflow of traps.
Prerequisites
Global BFD has been enabled using the bfd command.