< Home

snmp-agent bfd trap-interval

Function

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.

Format

snmp-agent bfd trap-interval interval

undo snmp-agent bfd trap-interval

Parameters

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.

Views

BFD view

Default Level

2: Configuration level

Usage Guidelines

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.

Example

# Set the interval at which traps are sent to 100s.

<HUAWEI> system-view
[HUAWEI] bfd
[HUAWEI-bfd] snmp-agent bfd trap-interval 100
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >