Specifications

Table Of Contents
snmp-server enable traps (MPLS)
MP-794
Cisco IOS Multiprotocol Label Switching Command Reference
January 2010
In the following example, the router is enabled to send Frame Relay and environmental monitor
notifications to the host specified as myhost.cisco.com. The community string is defined as public:
Router(config)# snmp-server enable traps frame-relay
Router(config)# snmp-server enable traps envmon temperature
Router(config)# snmp-server host myhost.cisco.com public
In the following example, notifications are not sent to any host. BGP notifications are enabled for all
hosts, but the only notifications enabled to be sent to a host are ISDN notifications (which are not
enabled in this example).
Router(config)# snmp-server enable traps bgp
Router(config)# snmp-server host host1 public isdn
In the following example, the router is enabled to send all inform requests to the host specified as
myhost.cisco.com. The community string is defined as public.
Router(config)# snmp-server enable traps
Router(config)# snmp-server host myhost.cisco.com informs versio
n 2c public
In the following example, HSRP MIB notifications are sent to the host specified as myhost.cisco.com.
The community string is defined as public.
Router(config)# snmp-server enable hsrp
Router(config)# snmp-server host myhost.cisco.com traps version
2c public hsrp
Related Commands Command Description
snmp-server host Specifies the intended recipient of an SNMP notification (that is, the
d
esignated NMS workstation in the network).