< Home

display snmp-agent trap feature-name bgp all

Function

The display snmp-agent trap feature-name bgp all command displays all the traps related to the BGP module.

Format

display snmp-agent trap feature-name bgp all

Parameters

None

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Usage Scenario

The display snmp-agent trap feature-name bgp all command is used to display the status of all the traps related to the BGP module.

To change the status of the traps related to the BGP module, run the snmp-agent trap enable feature-name bgp command.

Example

# Display all the traps related to the BGP module.

<HUAWEI>display snmp-agent trap feature-name bgp all
------------------------------------------------------------------------------
Feature name: bgp
Trap number : 11
------------------------------------------------------------------------------
Trap name                       Default switch status   Current switch status
ESTABLISHED                     off                     on
BACKWARD                        off                     on
ROUTETHRESHOLDEXCEED            off                     on
ROUTETHRESHOLDCLEAR             off                     on
GRSTATUSCHANGE                  off                     on
HWESTABLISHED                   off                     on
HWBACKWARD                      off                     on
HWBGPROUTEMAXEXCEED             off                     off
HWBGPROUTEMAXCLEAR              off                     off
HWBGPROUTETHRESHOLDEXCEED       off                     off
HWBGPROUTETHRESHOLDCLEAR        off                     off
Table 1 Description of the display snmp-agent trap feature-name bgp all command output

Item

Description

Feature name

Name of the module to which a trap message belongs.

Trap number

Number of trap messages.

Trap name

Name of a trap message of the BGP module:

  • ESTABLISHED: indicates that the BGP neighbor has entered the Established state.
  • BACKWARD: indicates the disconnection of BGP neighbors.
  • ROUTETHRESHOLDEXCEED: indicates that the number of routes of BGP neighbors exceeds the alarm threshold.
  • ROUTETHRESHOLDCLEAR: indicates that the number of routes of BGP neighbors falls below the alarm threshold.
  • GRSTATUSCHANGE: indicates that the GR status of BGP neighbors changes.
  • HWESTABLISHED: indicates that the BGP neighbor has entered the Established state.
  • HWBACKWARD: indicates the disconnection of BGP neighbors.
  • HWBGPROUTEMAXEXCEED: indicates that the number of BGP routes exceeds the alarm threshold.
  • HWBGPROUTEMAXCLEAR: indicates that the number of BGP routes falls below the alarm threshold.
  • HWBGPROUTETHRESHOLDEXCEED: indicates that the number of BGP routes exceeds the alarm threshold.
  • HWBGPROUTETHRESHOLDCLEAR: indicates that the number of BGP routes falls below the alarm threshold.

Default switch status

Default status of the trap function:

  • on: The trap function is enabled by default.
  • off: The trap function is disabled by default.

Current switch status

Current status of the trap function:

  • on: The trap function is enabled.
  • off: The trap function is disabled.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >