![Huawei Quidway S8500 Series Command Manual Download Page 1119](http://html.mh-extra.com/html/huawei/quidway-s8500-series/quidway-s8500-series_command-manual_1694791119.webp)
Command Manual – System Management
Quidway S8500 Series Routing Switches
Chapter 5 SNMP Configuration Commands
Huawei Technologies Proprietary
5-20
5.1.20 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
v1
: Configures to use V1 safe mode.
v2c
: Configures to use V2c safe mode.
v3
: Configures to use V3 safe mode.
username
: Specifies the user name, ranging from 1 to 32 bytes.
groupname
: Specifies the group name corresponding to that user, a character string at
the length ranging from 1 to 32 bytes.
authentication-mode
: Specifies 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.
authpasstring
: Specifies the authentication password with a character string, ranging
from 1 to 64 bytes.
privacy-mode
: Specifies the safety level as encrypted.
des56
: Specifies the authentication protocol as DES.
privpassword
: Specifies the encryption password with a character string, ranging from 1
to 64 bytes.
acl
acl-list
: Sets access control list for this user based on USM name
engineid
engine-id
:
SNMP engineID.
Description
Use the
snmp-agent usm-user
command to add a new user to an SNMP group.
Use the
undo snmp-agent usm-user
command to cancel a user from SNMP group.