
S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m
1-8
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
OL-16597-01
Chapter 1 Configuring SNMP
Configuring SNMP
To configure a host receiver for SNMPv3 traps or informs in a global configuration mode, perform this
task:
The following example shows how toconfigure 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 device 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.
Use the following command in global configuration mode to configure the notification target user:
The following example shows how to configure a notification target user:
switch(config)#
snmp-server user NMS auth sha abcd1234 priv abcdefgh enginID
00:00:00:63:00:01:00:a1:ac:15:10:03
Enabling SNMP Notifications
You can enable or disable notifications. If you do not specify a notification name, Cisco Nexus 5000
Series enables all notifications.
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.
Command
Purpose
switch(config)#
snmp-server user
name
[
auth
{md5 | sha}
passphrase
[
auto
] [
priv
[
aes-128
]
passphrase
]
[
engineID
id
]
Configures the notification target user with the
specified engine ID for notification host receiver.
The engineID format is a 12-digit colon-separated
hexadecimal number.