snmp-server user
Configures the SNMP v3 user for
authenticating.
Syntax
snmp-server
{
user
[
user name
]
auth
[
noauth
|
md5
|
sha
]
auth-key
[
auth-key
]
priv
[
nopriv
|
aes
|
des
]
priv-key
[
priv-key
]
}
Parameters
- user
user
name
- Specifies the SNMPv3 user name. Valid length
is 1 to 32 characters.
- auth
[
noauth
|
md5
|
sha
]
- Specifies the supported authentication
method.
- auth-key
auth-key
- Specifies the key phrase to be used for
authentication. The auth-key string can contain only alpha-numeric
characters. Valid string length is 8 to 40 characters.
- priv
[
nopriv
|
aes
|
des
]
- Specifies the supported encryption
method.
- priv-key
[
priv-key]
- Specifies the key phrase to be used for
encryption. Valid priv-key length is 8 to 40 characters.
Usage Guidelines
This command is available only to users with the admin
role.
Examples
The following example configures an SNMP server user.
device(config)# snmp-server user user8 auth sha auth-key authKey1 priv aes priv-key user1privkey
device(config)# snmp-server user user2 auth md5 auth-key authkey12 priv nopriv
device(config)# snmp-server user user3 auth noauth