[Initial value]
none
[Input mode]
global configuration mode
[Description]
Sets the user group.
Access to MIB objects not included in the MIB view specified by this command is prohibited.
The MIB view is defined by the
snmp-server view
command.
The maximum number of entries is 16.
If this command is executed with the "no" syntax, the specified group setting is deleted.
[Example]
Create the user group "admins," and grant users belonging to the "admins" group full access rights to the "most" view.
SWR2311P(config)#snmp-server group admins priv read most write most
Create the user group "users," and grant users belonging to the "users" group read access rights to the "standard" view.
SWR2311P(config)#snmp-server group users auth read standard
4.10.8 Set SNMP user
[Syntax]
snmp-server
user
user
group
[
auth
auth
auth_path
[
priv
priv
priv_path
]]
no
snmp-server
user
user
[Keyword]
auth
:
Set the authentication algorithm
priv
:
Set the encryption algorithm
[Parameter]
user
:
User name (maximum 32 characters)
group
:
Group name (maximum 32 characters)
auth
:
Authentication algorithm
Setting value
Description
md5
HMAC-MD5-96
sha
HMAC-SHA-96
auth_pass
:
Authentication password (8 or more characters, maximum 32 characters)
priv
:
Encryption algorithm
Setting value
Description
des
DES-CBC
aes
AES128-CFB
priv_pass
:
Encryption password (8 or more characters, maximum 32 characters)
[Initial value]
none
[Input mode]
global configuration mode
Command Reference | Maintenance and operation functions |
55