snmp-server user
snmp-server user
user-name
group-name
v3
[
auth
{
md5 |
sha | sha512 | sha384 |
sha256 | sha224 }
auth-password
[ priv
{ aes | des }
password-string
]
]no
snmp-server user
user-name
group-name
v3
[
auth
{
md5 |
sha | sha512 | sha384 |
sha256 | sha224 }
auth-password
[ priv
{ aes | des
}
password-string
]
]SNMP users are not configured.
Global configuration mode
The snmp-server user
command creates an SNMP user, defines the group to which the user will be
associated, defines the type of authentication to be used for SNMP access by this
user, specifies either the
AES or DES encryption
types used to encrypt the privacy password.
All users must be mapped to an SNMP
group. Groups are defined using the snmp-server group
command.
The priv parameter specifies the encryption type (DES or AES) used to encrypt the privacy password. If the encrypted keyword is used, do the following:
- If DES is the privacy protocol to be used, enter des followed by a 16-octet DES key in hexadecimal format for the DES-password-key . If you include the encrypted keyword, enter a password string of at least 8 characters.
- If AES is the privacy protocol to be used, enter aes followed by the AES password key. For a small password key, enter 12 characters. For a big password key, enter 16 characters.
The no form of the command
removes the SNMP access. To use the no form of the command, you
must know and enter the password as part of the command syntax. If you have
forgotten or lost the password, you can copy all the encrypted string that hides
the
password from the output of the show running-config command using
the encrypted keyword into the no snmp-server command
instead.
The following examples removes the SNMP user access.
device(config)# show running-config | include snmp-server aaa authentication snmp-server default local snmp-server user user1 admin v3 encrypted auth md5 7c545376563546dhg67236732463 priv encrypted des 2736237hgfhe365635bvdf device(config)# no snmp-server user user1 admin v3 auth md5 Incomplete command. device(config)# no snmp-server user user1 admin v3 encrypted auth md5 7c545376563546dhg67236732463 priv encrypted des 2736237hgfhe365635bvdf device(config)# show running-config | include snmp-server aaa authentication snmp-server default local
| Release version | Command history |
|---|---|
| 09.0.10e | The command was modified to remove the ACL options. |
| 10.0.10c | The command was modified to include the new keywords. |