20 snmp-server user – PLANET WGSW-50040 User Manual
Page 66

Switch (config)#no snmp-server view readview
1.4.20 snmp-server user
Command:
snmp-server user
no snmp-server user
{
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.
1-32;
500-599;
between 1-32.
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