Command Manual - System Management
Quidway S6500 Series Ethernet Switches Chapter 5 SNMP Configuration Commands
Huawei Technologies Proprietary
5-19
5.1.22 snmp-agent usm-user
Syntax
snmp-agent usm-user { v1 | v2c } username groupname [ acl acl-list ]
undo snmp-agent usm-user { v1 | v2c } username groupname
snmp-agent usm-user v3 username groupname [ authentication-mode { md5 | sha }
authpassstring [ privacy-mode { des56 privpassstring } ] ] [ acl acl-list ]
undo snmp-agent usm-user v3 username groupname { local | engineid engine-id }
View
System view
Parameter
username: Specify the user name, ranging from 1 to 32 bytes.
groupname: Specify the group name corresponding to that user, a character string at
the length ranging from 1 to 32 bytes.
v1: Configure to use V1 safe mode.
v2c: Configure to use V2c safe mode.
v3: Configure to use V3 safe mode.
authentication-mode: Specify the safety level as authentication required.
md5: MD5 algorithm is adopted in authentication. MD5 authentication uses the
128-digit password. Computation speed of MD5 is faster than that of SHA
sha: SHA algorithm is adopted in authentication. SHA authentication uses the 160-digit
password. Computation speed of SHA is slower than that of MD5, but with higher
security.
authpassword: Specify the authentication password with a character string, ranging
from 1 to 64 bytes.
privacy-mode: Specify the safety level as encrypted.
des56: Specify the authentication protocol as DES.
privpassword: Specify the encryption password with a character string, ranging from 1
to 64 bytes.
acl acl-list:Set access control list for this user based on USM name
Description
Using snmp-agent usm-user command, you can add a new user to an SNMP group.
Using undo snmp-agent usm-user command, you can cancel a user from SNMP
group.