snmp-agent trap enable feature-name bgp
Function
The snmp-agent trap enable feature-name bgp command enables the trap function for the BGP module.
The undo snmp-agent trap enable feature-name bgp command disables the trap function for the BGP module.
By default, the trap function is disabled for the BGP module.
Format
snmp-agent trap enable feature-name bgp [ trap-name { backward | established | grstatuschange | hwbackward | hwestablished | routethresholdclear | routethresholdexceed } ]
undo snmp-agent trap enable feature-name bgp [ trap-name { backward | established | grstatuschange | hwbackward | hwestablished | routethresholdclear | routethresholdexceed } ]
Parameters
Parameter | Description | Value |
---|---|---|
trap-name | Enables the traps of BGP events of specified types. | - |
backward | Enables the trap on the disconnection of BGP neighbors. | - |
established | Enables the trap on the BGP neighbors in the Established state. | - |
grstatuschange | Enables the trap on the BGP GR status change. | - |
hwbackward | Enables the trap on the disconnection of BGP neighbors. | - |
hwestablished | Enables the trap on the BGP neighbors in the Established state. | - |
routethresholdclear | Enables the trap that is generated when the number of BGP routes falls below the threshold. | - |
routethresholdexceed | Enables the trap that is generated when the number of BGP routes exceeds the threshold. | - |