S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m
21-57
Cisco MDS 9000 Family Command Reference
OL-18089-01, Cisco MDS NX-OS Release 4.x
Chapter 21 S Commands
snmp-server user
Usage Guidelines
The localized keys are not portable across devices as they contain information on the engine ID of the
device. If a configuration file is copied into the device, the passwords may not be set correctly if the
configuration file was generated at a different device. We recommend that passwords be explicitly
configured to the desired passwords after copying the configuration into the device.
SNMP Version 3 is the most secure model, as it allows packet encryption with the
priv
keyword.
To assign multiple roles to a user, perform multiple
snmp-server user
username group-name
commands. The
group-name
argument is defined by the
role name
command.
Examples
The following example sets the 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
The following example sets the user information.
switch#
config terminal
switch(config)#
snmp-server user joe network-admin auth sha abcd1234 engineID
switch(config)#
snmp-server user sam network-admin auth md5 abcdefgh
switch(config)#
snmp-server user Bill network-admin auth sha abcd1234 priv abcdefgh
switch(config)#
snmp-server user user1 network-admin auth md5 0xab0211gh priv 0x45abf342
localizedkey
Related Commands
Command
Description
role name
Configures role profiles.
show snmp
Displays SNMP information.
snmp-server host
Configures SNMP server host information.