Chapter 21
S Commands
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
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 information.
switch# config terminal
switch(config)# snmp-server user joe network-admin auth sha abcd1234
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)# no snmp-server user usernameA
switch(config)# snmp-server user user1 network-admin auth md5 0xab0211gh priv 0x45abf342
localizedkey
Related Commands
Command
role name
show snmp
snmp-server host
OL-8413-07, Cisco MDS SAN-OS Release 3.x
Description
Configures role profiles.
Displays SNMP information.
Configures SNMP server host information.
Cisco MDS 9000 Family Command Reference
snmp-server user
21-41