User Manual

[Example]
Create the user group "admins," and grant users belonging to the "admins" group full access rights to the "most" view.
SWP1(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.
SWP1(config)#snmp-server group users auth read standard
9.1.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
[Description]
Specifies a user.
The group name of this command specifies the name defined by the snmp-server group command; according to the security
level specified by the group setting, it specifies the algorithm and password that are used to authenticate and encrypt the content
of communication.
It is not possible to only encrypt without authentication.
The maximum number of entries is 16.
The setting as to whether authentication and encryption are used, the algorithm, and the password, must match the user setting
of the SNMP manager that is the other party.
If this command is executed with the "no" syntax, the setting of the specified user is deleted.
Command Reference | Network monitoring | 83