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 syslog
SMR-653
Cisco ASR 14000 Series Router System Management Command Reference
OL-17231-01
snmp-server traps syslog
To enable Simple Network Management Protocol (SNMP) notifications of Cisco-syslog-MIB error
messages, use the
snmp-server traps syslog
command in global configuration mode. To disable these
types of notifications, use the
no
form of this command.
snmp-server traps syslog
no snmp-server traps syslog
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.
The
snmp-server traps syslog
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 Cisco-syslog-MIB error message 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 syslog
RP/0/RP0/CPU0:Router(config)#
snmp-server host myhost.cisco.com version 2c public
Related Commands
Release
Modification
Release 3.7.1
This command was introduced on the Cisco ASR 14000 Series Router.
Task ID
Operations
snmp
read, write
Command
Description
Specifies the identification number of the local SNMP engine.
Specifies the recipient of an SNMP notification operation.
Enables BGP server state-change SNMP notifications.
Enables RFC 1157 SNMP notifications.