![Cisco ASR 14000 Series Management Command Reference Download Page 653](http://html.mh-extra.com/html/cisco/asr-14000-series/asr-14000-series_management-command-reference_66667653.webp)
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 snmp
SMR-651
Cisco ASR 14000 Series Router System Management Command Reference
OL-17231-01
snmp-server traps snmp
To enable the sending of RFC 1157 Simple Network Management Protocol (SNMP) notifications, use
the
snmp-server traps snmp
command in global configuration mode. To disable RFC 1157 SNMP
notifications, use the
no
form of this command.
snmp-server traps
snmp
[
authentication
]
no snmp-server traps
snmp
[
authentication
]
Syntax Description
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 snmp
command. Use the
command to specify which host or hosts receive SNMP notifications.
An authentication Failure(4) trap signifies that the sending device is the addressee of a protocol message
that is not properly authenticated. The authentication method depends on the version of SNMP being
used. For SNMPv1 or SNMPv2c, authentication failure occurs for packets with an incorrect community
string. For SNMPv3, authentication failure occurs for packets with an incorrect Secure Hash Algorithm
(SHA) or Message Digest 5 (MD5) authentication key or for a packet that is outside the window of the
authoritative SNMP engine.
Task ID
Examples
The following example shows how to enable the device to send all traps to the host myhost.cisco.com
using the community string defined as public:
RP/0/RP0/CPU0:Router(config)#
snmp-server traps snmp authentication
RP/0/RP0/CPU0:Router(config)#
snmp-server host myhost.cisco.com public snmp
authentication
(Optional) Controls the sending of SNMP authentication failure notifications.
Release
Modification
Release 3.7.1
This command was introduced on the Cisco ASR 14000 Series Router.
Task ID
Operations
snmp
read, write