< Home

display snmp-agent trap feature-name bfd all

Function

The display snmp-agent trap feature-name bfd all command displays the status of all traps on the BFD module.

Format

display snmp-agent trap feature-name bfd all

Parameters

None

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Usage Scenario

The Simple Network Management Protocol (SNMP) is a network management standard widely used on the TCP/IP network. It uses a central computer (a network management station) that runs network management software to manage network elements. The SNMP agent reports trap messages to the network management station so that the network management station can obtain the network status in a timely manner, and the network administrator can take measures accordingly.

The display snmp-agent trap feature-name bfd all command displays the following information:
  • Trap names supported by the BFD module. The trap names are the same as the trap names specified by the snmp-agent trap enable feature-name bfd trap-name { hwbfdsessdown | hwbfdsessreachlimit | hwbfdsessreachlimitbindif | hwbfdsessup } command. Each trap name corresponds to a network element abnormality.

  • Trap status of the BFD module. You can check whether the trap is reported based on the trap name.

Prerequisites

SNMP has been enabled. See snmp-agent.

Example

# Display all the traps of the BFD module.

<HUAWEI>display snmp-agent trap feature-name bfd all
------------------------------------------------------------------------------  
Feature name: BFD                                                               
Trap number : 4                                                                 
------------------------------------------------------------------------------  
Trap name                       Default switch status   Current switch status   
hwBfdSessUp                     off                     off                     
hwBfdSessDown                   off                     off                     
hwBfdSessReachLimit             off                     off                     
hwBfdSessReachLimitBindIf       off                     off 
Table 1 Description of the display snmp-agent trap feature-name bfd all command output

Item

Specification

Feature name

Name of the module that the trap belongs to.

Trap number

Number of traps.

Trap name

Trap name. Traps of the BFD module include:

  • hwBfdSessUp: A Huawei proprietary trap is sent when the BFD session becomes Up.

  • hwBfdSessDown: A Huawei proprietary trap is sent when the BFD session becomes Down.

  • hwBfdSessReachLimit: A Huawei proprietary trap is sent when the number of established BFD sessions on the device reaches the upper limit.

  • hwBfdSessReachLimitBindIf: A Huawei proprietary trap is sent when the number of established BFD sessions on the device reaches the upper limit.

Default switch status

Default status of the trap function:
  • on: indicates that the trap function is enabled by default.

  • off: indicates that the trap function is disabled by default.

Current switch status

Status of the trap function:

  • on: indicates that the trap function is enabled.

  • off: indicates that the trap function is disabled.

To set the status of the trap, run the snmp-agent trap enable feature-name bfd command.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >