Configuring Snmpv2C 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

Chapter 33
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

Configuring SNMPv2c Notifications

To configure SNMPv2c notifications using IPv4, follow these steps:
Command
Step 1
switch# config t
switch(config)#
Step 2
switch(config)# snmp-server host 171.71.187.101
traps version 2c private udp-port 1163
switch(config)# no snmp-server host
171.71.187.101 traps version 2c private
udp-port 2162
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
To configure SNMPv2c 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 2c
private udp-port 1163
switch(config)# no snmp-server host
2001:0DB8:800:200C::417A traps version 2c
private udp-port 2162
Step 3
switch(config)# snmp-server host
2001:0DB8:800:200C::417A informs version 2c
private udp-port 1163
switch(config)# no snmp-server host
2001:0DB8:800:200C::417A informs version 2c
private udp-port 2162
Switches can forward events (SNMP traps and informs) up to 10 destinations.
Note
OL-18084-01, Cisco MDS NX-OS Release 4.x
SNMP Trap and Inform Notifications
Purpose
Enters configuration mode.
Configures the specified host to receive
SNMPv2c traps using SNMPv2c community
string (private).
Prevents the specified host from receiving
SNMPv2c traps on the configured UDP port
using SNMPv2c community string (private).
Configures the specified host to receive
SNMPv2c informs using SNMPv2c
community string (private).
Prevents the specified host from receiving
SNMPv2c informs on the configured UDP
port using SNMPv2c community string
(private).
Purpose
Enters configuration mode.
Configures the specified host to receive
SNMPv2c traps using SNMPv2c community
string (private).
Prevents the specified host from receiving
SNMPv2c traps on the configured UDP port
using SNMPv2c community string (private).
Configures the specified host to receive
SNMPv2c informs using SNMPv2c
community string (private).
Prevents the specified host from receiving
SNMPv2c informs on the configured UDP
port using SNMPv2c community string
(private).
Cisco MDS 9000 Family CLI Configuration Guide
33-9

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents