C i s c o C o n f i d e n t i a l - B e t a R e v i e w R 3 . 7. 1
SNMP Server Commands on Cisco IOS XR Software
snmp-server traps bgp
SMR-631
Cisco ASR 14000 Series Router System Management Command Reference
OL-17231-01
snmp-server traps bgp
To enable Border Gateway Protocol (BGP) state-change Simple Network Management Protocol (SNMP)
notifications, use the
snmp-server traps bgp
command in global configuration mode. To disable BGP
state-change SNMP notifications, use the
no
form of this command.
snmp-server traps
bgp
no
snmp-server
traps
bgp
Syntax Description
This command has no arguments or keywords.
Defaults
SNMP notifications are disabled by default.
Command Modes
Global configuration
Command History
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper
task IDs.
SNMP notifications can be sent as traps.
Use the
snmp-server traps bgp
command to enable or disable BGP server state-change notifications,
as defined in the BGP4-MIB (enterprise 1.3.6.1.2.1.15.7). The notifications types are:
•
bgpEstablished
•
bgpBackwardTransition
The BGP notifications are defined in the BGP-4 MIB as follows:
bgpTraps OBJECT IDENTIFIER ::= { bgp 7 }
bgpEstablished NOTIFICATION-TYPE
OBJECTS { bgpPeerLastError,
bgpPeerState }
STATUS current
DESCRIPTION
"The BGP Established event is generated when the BGP FSM enters the ESTABLISHED
state."
::= { bgpTraps 1 }
bgpBackwardTransition NOTIFICATION-TYPE
OBJECTS { bgpPeerLastError,
bgpPeerState }
STATUS current
DESCRIPTION
"The BGPBackwardTransition Event is generated when the BGP FSM moves from a higher
numbered state to a lower numbered state."
Release
Modification
Release 3.7.1
This command was introduced on the Cisco ASR 14000 Series Router.