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-632
Cisco ASR 14000 Series Router System Management Command Reference
OL-17231-01
::= {bgpTraps 2}
For a complete description of these notifications and additional MIB functions, see the BGP4-MIB in
the SNMP Object Navigator, available through cisco.com at
http://tools.cisco.com/Support/SNMP/do/BrowseMIB.do?local=en&step=2
.
The
snmp-server traps bgp
command is used with the
command. Use the
command to specify which host or hosts receive SNMP notifications.
Task ID
Examples
The following example shows how to enable the router to send BGP state-change notifications to the host
at the address myhost.cisco.com using the community string defined as public:
RP/0/RP0/CPU0:Router(config)#
snmp-server traps bgp
RP/0/RP0/CPU0:Router(config)#
snmp-server host myhost.cisco.com version 2c public
Related Commands
Task ID
Operations
snmp
read, write
bgp
read, write
Command
Description
Specifies the identification number of the local SNMP engine.
Specifies the recipient of an SNMP notification operation.
Enables RFC 1157 SNMP notifications.
Enables SNMP notifications for Cisco-syslog-MIB error messages.