Command Manual – Login
H3C S7500E Series Ethernet Switches
Chapter 2 Commands for Controlling
Login Users
2-4
2.1.4 snmp-agent usm-user
Syntax
snmp-agent usm-user
{
v1
|
v2c
}
user-name
group-name
[
acl
acl-number
]
undo snmp-agent usm-user
{
v1
|
v2c
}
user-name
group-name
snmp-agent usm-user
v3
user-name
group-name
[
authentication-mode
{
md5
|
sha
}
auth-password
[
privacy-mode
{
des56
|
aes128
}
priv-password
] ] [
acl
acl-number
]
undo snmp-agent usm-user
v3
user-name
group-name
{
local
|
engineid
engineid-string
}
View
System view
Parameters
v1
: Specifies to adopt v1 security scheme.
v2c
: Specifies to adopt v2c security scheme.
v3
: Specifies to adopt v3 security scheme.
user-name
: User name, a string of 1 to 32 characters.
group-name
: Group name the user corresponds to, a string of 1 to 32 characters.
authentication-mode
: Specifies to authenticate users.
md5
: Specifies the authentication protocol to be HMAC-MD5-96.
sha
: Specifies the authentication protocol to be HMAC-SHA-96.
auth-password
: Authentication password. This argument can be of 1 to 64 characters.
privacy
: Specifies to encrypt data.
des56
: Specifies the privacy protocol to be Data Encryption Standard (DES for short).
aes128
: Specifies the privacy protocol to be Advanced Encryption Standard (AES for
short).
priv-password
: Encrypting password, a string of 1 to 64 characters.
acl acl-number
: Specifies the ACL number. The
acl-number
argument ranges from
2,000 to 2,999.
local
: Specifies the user to be a local user entity.
engineid
: Specifies the ID of the engine associated with the user.
engineid-string
: Engine ID string, 10 to 64 even number of hexadecimal numbers. Odd
number of hexadecimal numbers, all-zero, or all-F hexadecimal numbers are all
regarded as invalid parameters.