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