Cisco Nexus 5000 Series Switch CLI Software Configuration Guide (OL-16597-01, July 2009)
You can enforce SNMP message encryption for a specific user.
PurposeCommand
Enforces SNMP message encryption for this user.
switch(config)# snmp-server user name enforcePriv
You can enforce SNMP message encryption for all users.
PurposeCommand
Enforces SNMP message encryption for all users.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
PurposeCommand
Associates this SNMP user with the configured user
role.
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:
PurposeCommand
Creates an SNMP community string.
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.
You can configure a host receiver for SNMPv1 traps in a global configuration mode.
PurposeCommand
Configures a host receiver for SNMPv1 traps. The
community can be any alphanumeric string up to 255
switch(config)# snmp-server host ip-address traps
version 1 community [udp_port number]
characters. The UDP port number range is from 0 to
65535.
You can configure a host receiver for SNMPv2c traps or informs in a global configuration mode.
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
380 OL-16597-01
Configuring SNMP
Assigning SNMPv3 Users to Multiple Roles