Configuring The Notification Target User; Enabling Snmp Notifications - Cisco nexus 5000 series Cli Configuration Manual

Hide thumbs Also See for nexus 5000 series:
Table of Contents

Advertisement

Configuring SNMP
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
To configure a host receiver for SNMPv3 traps or informs in a global configuration mode, perform this
task:
Command
switch(config)# snmp-server host
ip-address {traps | informs} version 3
{auth | noauth | priv } username [udp_port
number]
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
The SNMP manager must know the user credentials (authKey/PrivKey) based on the SNMP engineID
Note
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.
For authenticating and decrypting the received INFORM PDU, The notification host receiver should
Note
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:
Command
switch(config)# snmp-server user name
{md5 | sha} passphrase [auto] [priv
[aes-128] passphrase] [engineID id]
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.
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
1-8
Purpose
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.
Purpose
[
Configures the notification target user with the
auth
specified engine ID for notification host receiver.
The engineID format is a 12-digit colon-separated
hexadecimal number.
Chapter 1
Configuring SNMP
OL-16597-01

Advertisement

Table of Contents
loading

Table of Contents