Cisco ASR 14000 Series Management Command Reference page 653

Router system
Hide thumbs Also See for ASR 14000 Series:
Table of Contents

Advertisement

SNMP Server Commands on Cisco IOS XR Software
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 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.
Syntax Description
authentication
Defaults
SNMP notifications are disabled by default.
Command Modes
Global configuration
Command History
Release
Release 3.7.1
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 is used with the
snmp-server host
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
Task ID
snmp
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
OL-17231-01
snmp-server traps snmp [authentication]
no snmp-server traps snmp [authentication]
(Optional) Controls the sending of SNMP authentication failure notifications.
Modification
This command was introduced on the Cisco ASR 14000 Series Router.
command to specify which host or hosts receive SNMP notifications.
Operations
read, write
Cisco ASR 14000 Series Router System Management Command Reference
snmp-server traps snmp
snmp-server host
command. Use the
SMR-651

Advertisement

Table of Contents
loading

Table of Contents