Command Manual (For Soliton) – Login
H3C S3100 Series Ethernet Switches
Chapter 2 Commands for User Control
2-6
privacy
: Encrypts packets.
des56
: Specifies data encryption standard (DES) for encrypting.
aes128
: Specifies advanced encryption standard (AES) for encrypting.
priv-password
: Encryption password, a string of 1 to 64 characters in plain text, a 32-bit
hexadecimal number in cipher text if MD5 algorithm is used, and a 40-bit hexadecimal
number in cipher text if SHA algorithm is used.
acl-number
: Basic ACL number, ranging from 2000 to 2999.
local
: Specifies local entity users.
engineid
-string: Engine ID associated with the user, a string of even number of
hexadecimal numbers and comprising of 10 to 64 hexadecimal digits.
Description
Use the
snmp-agent usm-user
command to add a user to an SNMP group. You can
also optionally use this command to apply an ACL for network management users.
Use the
undo snmp-agent usm-user
command to remove an SNMP user from the
corresponding SNMP group and to remove the ACL configuration on the user.
Examples
# Add a user named
aaa
to an SNMP group named
group1
, specify to require
authentication, specify the authentication protocol as
HMAC-MD5-96
and
authentication password as
123
, and apply ACL 2002 to filter network management
users (assuming that ACL 2002 already exists).
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] snmp-agent usm-user v3 aaa group1 authentication-mode md5 123 acl
2002