The display snmp-agent trap feature-name bgp all command displays all the traps related to the BGP module.
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.
# 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
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:
|
Default switch status |
Default status of the trap function:
|
Current switch status |
Current status of the trap function:
|