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.
snmp-agent trap enable feature-name bgp [ trap-name { backward | established } ]
undo snmp-agent trap enable feature-name bgp [ trap-name { backward | established } ]
Parameter | Description | Value |
---|---|---|
trap-name | Enables the trap function for a specified type of BGP events. | - |
backward | Enables the trap function upon the disconnection of BGP neighbors. | - |
established | Enables the trap function when BGP neighbors are in Established state. | - |