Configuring Snmpv3 Notifications; Enabling Snmp Notifications - Cisco AP776A - Nexus Converged Network Switch 5020 Configuration Manual

Cisco mds 9000 family cli configuration guide - release 4.x (ol-18084-01, february 2009)
Hide thumbs Also See for AP776A - Nexus Converged Network Switch 5020:
Table of Contents

Advertisement

SNMP Trap and Inform Notifications
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

Configuring SNMPv3 Notifications

To configure SNMPv3 notifications using IPv4, follow these steps:
Command
Step 1
switch# config t
switch(config)#
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
To configure SNMPv3 notifications using IPv6, follow these steps:
Command
Step 1
switch# config t
switch(config)#
Step 2
switch(config)# snmp-server host
2001:0DB8:800:200C::417A traps version 3 noauth
testuser udp-port 1163
switch(config)# snmp-server host
2001:0DB8:800:200C::417A informs version 3 auth
testuser udp-port 1163
switch(config)# snmp-server host
2001:0DB8:800:200C::417A informs version 3 priv
testuser udp-port 1163
switch(config)# no snmp-server host
2001:0DB8:800:200C::417A informs version 3
testuser noauth udp-port 2162
In the case of SNMPv3 notifications, the SNMP manager is expected to know the user credentials
Note
(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.
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 33-1
Cisco MDS 9000 Family CLI Configuration Guide
33-10
lists the CLI commands that enable the notifications for Cisco MDS MIBs.
Chapter 33
Purpose
Enters configuration mode.
Configures the specified host to receive
SNMPv3 traps using SNMPv3 user (testuser)
and securityLevel of noAuthNoPriv.
Configures the specified host to receive
SNMPv3 informs using SNMPv3 user
(testuser) and securityLevel of AuthNoPriv.
Configures the specified host to receive
SNMPv3 informs using SNMPv3 user
(testuser) and securityLevel of AuthPriv.
Prevents the specified host from receiving
SNMPv3 informs.
Purpose
Enters configuration mode.
Configures the specified host to receive
SNMPv3 traps using SNMPv3 user (testuser)
and securityLevel of noAuthNoPriv.
Configures the specified host to receive
SNMPv3 informs using SNMPv3 user
(testuser) and securityLevel of AuthNoPriv.
Configures the specified host to receive
SNMPv3 informs using SNMPv3 user
(testuser) and securityLevel of AuthPriv.
Prevents the specified host from receiving
SNMPv3 informs.
OL-18084-01, Cisco MDS NX-OS Release 4.x
Configuring SNMP

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents