Cisco Nexus 5000 Series Switch CLI Software Configuration Guide, NX-OS 4.0(1a)N1 (OL-16597-01, January 2009)

Send feedback to nx5000-docfeedback@cisco.com
27-7
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
OL-16597-01
Chapter 27 Configuring SNMP
Configuring SNMP
To configure a host receiver for SNMPv1 traps in a global configuration mode, perform this task:
To configure a host receiver for SNMPv2c traps or informs in a global configuration mode, perform this
task:
To configure a host receiver for SNMPv3 traps or informs in a global configuration mode, perform this
task:
The following example shows how to configure a host receiver for an SNMPv3 inform:
switch(config)# snmp-server host 192.0.2.1 informs version 3 auth NMS
Note The SNMP manager must know the user credentials (authKey/PrivKey) based on the SNMP engineID
of the Cisco Nexus 5000 Series switch to authenticate and decrypt the SNMPv3 messages.
Configuring the Notification Target User
You must configure a notification target user on the device to send SNMPv3 inform notifications to a
notification host receiver.
The Cisco Nexus 5000 Series switch uses the credentials of the notification target user to encrypt the
SNMPv3 inform notification messages to the configured notification host receiver.
Note For authenticating and decrypting the received INFORM PDU, The notification host receiver should
have the same user credentials as configured in the Cisco Nexus 5000 Series switch to authenticate and
decrypt the informs.
Command Purpose
switch(config)# snmp-server host
ip-address traps {version 1] community
[udp_port number]
Configures a host receiver for SNMPv1 traps. The
community can be any alphanumeric string up to
255 characters. The UDP port number range is
from 0 to 65535.
Command Purpose
switch(config)# snmp-server host
ip-address {traps | informs} version 2c
community [udp_port number]
Configures a host receiver for SNMPv2c traps or
informs. The community can be any alphanumeric
string up to 255 characters. The UDP port number
range is from 0 to 65535.
Command Purpose
switch(config)# snmp-server host
ip-address {traps | informs} version 3
{auth | noauth | priv } username [udp_port
number]
Configures a host receiver for SNMPv2c traps or
informs. The username can be any alphanumeric
string up to 255 characters. The UDP port number
range is from 0 to 65535.