Configuring Snmpv3 Notifications; Enabling Snmp Notifications - Cisco DS-X9530-SF1-K9 - Supervisor-1 Module - Control Processor Configuration Manual

Mds 9000 family
Table of Contents

Advertisement

Chapter 27
Configuring SNMP
S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m .
Command
Step 3
switch(config)# snmp-server host 171.71.187.101
informs version 2c private udp-port 1163
switch(config)# no snmp-server host
171.71.187.101 informs version 2c private
udp-port 2162

Configuring SNMPv3 Notifications

To configure SNMPv3 notifications, follow these steps:
Command
Step 1
switch# config t
Step 2
switch(config)# snmp-server host 16.20.11.14
traps version 3 noauth testuser udp-port 1163
switch(config)# snmp-server host 16.20.11.14
informs version 3 auth testuser udp-port 1163
switch(config)# snmp-server host 16.20.11.14
informs version 3 priv testuser udp-port 1163
switch(config)# no snmp-server host
172.18.2.247 informs version 3 testuser noauth
udp-port 2162
Note
In the case of SNMPv3 trap notifications, the SNMP manager is expected to know the user credentials
(authKey/PrivKey) based on the switch's engineID to authenticate and decrypt the SNMP messages.

Enabling SNMP Notifications

Notifications (Traps and Informs) are system alerts that the switch generates when certain events occur.
As of Cisco MDS SAN-OS Release 2.1(1a) , you can enable or disable notifications. By default, no
notification is defined or issued. If a notification name, is not specified all notifications are disabled or
enabled.
Table 27-1
fru, vrrp, license, unlisted trap notifications, and other generic trap notifications s such as coldstart,
warmstart, linkup, and linkdown.
OL-6973-03, Cisco MDS SAN-OS Release 2.x
lists the trap notifications that are disabled by default. This list does not include the entity
Configuring SNMP Notifications (Traps and Informs)
Purpose
Configures the specified host to receive
SNMPV2c inform notifications using
SNMPv2c community string "private".
Prevents the specified host from receiving
SNMP v2c inform notifications on the
configured UDP port.
Purpose
Enters configuration mode.
Configures the specified host to receive
SNMPv3 trap notifications using SNMPv3
user "testuser" and securityLevel of
"noAuthNoPriv".
Configures the specified host to receive
SNMPv3 inform notifications using SNMPv3
user "testuser" and securityLevel of
"AuthNoPriv".
Configures the specified host to receive
SNMPv3 inform notifications using SNMPv3
user "testuser" and securityLevel of
"AuthPriv".
Prevents the specified host from receiving
SNMPv3 inform notifications.
Cisco MDS 9000 Family Configuration Guide
27-9

Advertisement

Table of Contents
loading

Table of Contents