21 snmp-server user, 21 snmp-server user -103 – PLANET WGSW-52040 User Manual
Page 104
1-103
1.4.21 snmp-server user
Command:
snmp-server user
{
no snmp-server user
[access {
{
Function:
Add a new user to an SNMP group; the "no” form of this command deletes this user.
Command Mode:
Global Mode.
Parameter:
<user-string> is the user name containing 1-32 characters.
<group-string> is the name of the group the user belongs to, containing 1-32 characters.
authPriv use DES for the packet encryption.
authNoPriv not use DES for the packet encryption.
auth perform packet authentication.
md5 packet authentication using HMAC MD5 algorithm.
sha packet authentication using HMAC SHA algorithm.
Usage Guide:
If the encryption and authentication is not selected, the default settings will be no encryption and no authentication. If
the encryption is selected, the authentication must be done. When deleting a user, if correct username and incorrect
group name is inputted, the user can still be deleted.
Example:
Add a new user tester in the UserGroup with an encryption safety level and HMAC md5 for authentication, the
password is hellohello
Switch (config)#snmp-server user tester UserGroup authPriv auth md5 hellohello
Delete an User
Switch (config)#no snmp-server user tester