Cisco Nexus 7000 Series Reference Manual page 423

Nx-os system management command reference
Hide thumbs Also See for Nexus 7000 Series:
Table of Contents

Advertisement

S Commands
into the device, the passwords may not be set correctly if the configuration file was generated at a
different device. We recommend that you explicitly configure passwords after copying the configuration
into the device.
SNMP Version 3 is the most secure model, because it allows packet encryption with the priv keyword.
To assign multiple roles to a user, configure multiple snmp-server user username group-name
commands. The group-name argument is defined by the role name command.
If you are configuring an SNMP notification target user, use the engineID keyword to configure the
SNMP engine ID for this user.
To delete the user or the role associated with that user, use the no form of this command.
You cannot delete the last role for a user.
Note
This command does not require a license.
Examples
This example shows how to set the user authentication information for user jane:
switch# config terminal
switch(config)# snmp-server user jane network-admin auth sha abcd1234
This example shows how to multiple roles for user sam:
switch# config terminal
switch(config)# snmp-server user sam network-admin
switch(config)# snmp-server user sam testrole
This example shows how to set user authentication and privacy information for user Juan:
switch# config terminal
switch(config)# snmp-server user Juan network-admin auth sha abcd1234 priv abcdefgh
This example shows how to set user authentication and SNMP engine ID for a notification target user:
switch# config terminal
switch(config)# snmp-server user notifUser network-admin auth sha abcd1234 engineID
00:12:00:00:09:03:00:05:48:00:74:30
Related Commands
Command
role name
show snmp
snmp-server host
OL-25806-03
Description
Configures role profiles used as SNMP group names.
Displays SNMP information.
Configures SNMP server host information.
Cisco Nexus 7000 Series NX-OS System Management Command Reference
snmp-server user
395

Advertisement

Table of Contents
loading

Table of Contents