
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-7
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
OL-16597-01
Chapter 1 Configuring SNMP
Configuring SNMP
Assigning SNMPv3 Users to Multiple Roles
After you configure an SNMP user, you can assign multiple roles for the user.
Note
Only users belonging to a network-admin role can assign roles to other users.
To assign a role to an SNMP user in a global configuration mode, perform this task:
Creating SNMP Communities
You can create SNMP communities for SNMPv1 or SNMPv2c.
Tocreate an SNMP community string in a global configuration mode, perform this task:
Configuring SNMP Notification Receivers
You can configure Cisco Nexus 5000 Series to generate SNMP notifications to multiple host receivers.
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:
Command
Purpose
switch(config)#
snmp-server user
name group
Associates this SNMP user with the configured
user role.
Command
Purpose
switch(config)#
snmp-server community
name
group
{
ro
|
rw
}
Creates an SNMP community string.
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.