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
SMR-630
Cisco ASR 14000 Series Router System Management Command Reference
OL-17231-01
Examples
The following example shows how to enable the router to send all traps to the host specified by the name
myhost.cisco.com, using the community string defined as public:
RP/0/RP0/CPU0:Router(config)#
snmp-server traps
RP/0/RP0/CPU0:Router(config)#
snmp-server host myhost.cisco.com public
Related Commands
Notification Type
Task ID
Operations
bgp
bgp
read, write
copy-complete
config-services
read, write
ipsec
crypto
read, write
isakmp
crypto
read, write
l2vpn
l2vpn
read, write
mpls frr
mpls-ldp
read, write
mpls-te
read, write
mpls l3vpn
ipv4
read, write
mpls-ldp
read, write
mpls-te
read, write
mpls ldp
mpls-ldp
read, write
mpls-te
read, write
mpls traffic-eng
mpls-ldp
read, write
mpls-te
read, write
ospf
ospf
read, write
syslog
sysmgr
read, write
vpls
l2vpn
read, write
Command
Description
Specifies the recipient of an SNMP notification operation.
Enables BGP server state-change SNMP notifications.
Enables RFC 1157 SNMP notifications.
Enables SNMP notifications for Cisco-syslog-MIB error messages.