< Home

snmp-agent trap enable feature-name bfd

Function

The snmp-agent trap enable feature-name bfd command enables the trap function for the BFD module.

The undo snmp-agent trap enable feature-name bfd command disables the trap function for the BFD module.

By default, the trap function is disabled for the BFD module.

Format

snmp-agent trap enable feature-name bfd [ trap-name { hwbfdsessdown | hwbfdsessreachlimit | hwbfdsessreachlimitbindif | hwbfdsessup } ]

undo snmp-agent trap enable feature-name bfd [ trap-name { hwbfdsessdown | hwbfdsessreachlimit | hwbfdsessreachlimitbindif | hwbfdsessup } ]

Parameters

Parameter

Description

Value

trap-name

Enables or disables the trap function for the specified event.

-

hwbfdsessdown

Sends a Huawei proprietary trap when the BFD session goes Down.

-

hwbfdsessreachlimit

Sends a Huawei proprietary trap when the number of established BFD sessions on the device reaches the upper limit.

-

hwbfdsessreachlimitbindif

Sends a Huawei proprietary trap when the number of established BFD sessions reaches the upper limit.

-

hwbfdsessup

Sends a Huawei proprietary trap when the BFD session becomes Up.

-

Views

System view

Default Level

2: Configuration level

Usage Guidelines

You can specify trap-name to enable the trap function for one or more events of the BFD module.

Example

# Enable the device to send a Huawei proprietary trap when the number of established BFD sessions on the board reaches the upper limit.

<HUAWEI> system-view
[HUAWEI] snmp-agent trap enable feature-name bfd trap-name hwbfdsessreachlimit
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >