Configuring Snmpv1 And Snmpv2C Notifications - Cisco DS-X9530-SF1-K9 - Supervisor-1 Module - Control Processor Configuration Manual

Mds 9000 family
Table of Contents

Advertisement

Assigning SNMP Switch Contact and Location Information
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 .
Assigning SNMP Switch Contact and Location Information
You can assign the switch contact information, which is limited to 32 characters (without spaces) andthe
switch location.
To configure contact and location information, follow these steps:
Command
Step 1
switch# config t
Step 2
switch(config)# snmp-server contact NewUser
switch(config)# no snmp-server contact NewUser
Step 3
switch(config)# snmp-server location SanJose
switch(config)# no snmp-server location SanJose
Configuring SNMP Notifications (Traps and Informs)
You can configure the Cisco MDS switch using the CLI to send notifications to SNMP managers when
particular events occur. You can send these notifications as Traps or Informs. Traps are unreliable
because the receiver does not send any acknowledgment when it receives a trap. The sender cannot
determine if the trap was received. However, an SNMP manager that receives Informs acknowledges the
message with an SNMP Response PDU. If the sender never receives a Response, the inform is normally
retransmitted. Thus, Informs are more likely to reach their intended destination.
Use the SNMP-TARGET-MIB to obtain more information on the destinations to which notifications are
Note
to be sent either as Traps or as Informs. Refer to the Cisco MDS 9000 Family MIB Quick Reference for
more information.
The SNMP version 1 option is not available with the snmp-server host ip-address informs command.
Tip

Configuring SNMPv1 and SNMPv2c Notifications

To configure SNMPv1 and SNMPv2c notifications, follow these steps:
Command
Step 1
switch# config t
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
Cisco MDS 9000 Family Configuration Guide
27-8
Chapter 27
Purpose
Enters configuration mode.
Assigns the contact name for the switch.
Deletes the contact name for the switch.
Assigns the switch location.
Deletes the switch location.
Purpose
Enters configuration mode.
Configures the specified host to receive
SNMPV2c trap notifications.
Prevents the specified host from receiving
SNMPv2c trap notifications on the configured
UDP port.
OL-6973-03, Cisco MDS SAN-OS Release 2.x
Configuring SNMP

Advertisement

Table of Contents
loading

Table of Contents