
Command Manual (For Soliton) – SNMP-RMON
H3C S3100 Series Ethernet Switches
Chapter 1 SNMP Configuration Commands
1-33
engineid
-
string
: Engine ID associated with the user, an even number of hexadecimal
characters, in the range 10 to 64.
Description
Use the
snmp-agent usm-user
command to add a user to an SNMP group.
Use the
undo snmp-agent usm-user
command to remove a user from an SNMP
group.
This command is applicable to SNMPv3. If the agent and the NMS communicate using
SNMPv3 messages, you need to create an SNMPv3 user first.
To make the configured user take effect, you need to create a group first. You can
configure whether to perform authentication or privacy when you create a group, and
configure the algorithm and password for authentication or privacy when you create a
user.
An SNMPv3 user is related the engine ID: if you change the engine ID after configuring
a user, the user corresponding to the original engine ID becomes invalid.
Note that:
z
If the password is in cipher text, the
pri-password
argument can be obtained by the
snmp-agent calculate-password
command. To make the calculated cipher text
password applicable to the
snmp-agent usm-user v3
cipher
command, ensure
that the same authentication algorithm is specified for the two commands and the
local engine ID specified in the
snmp-agent usm-user v3
cipher
command is
consistent with the SNMP entity engine ID specified in the
snmp-agent
calculate-password
command.
z
If you use the command repeatedly to configure the same user (namely, with the
same username), the last configuration takes effect.
z
You must enter a plain text password when the NMS accesses the device.
Therefore, when you create a user, you need to memorize the username and the
corresponding plain text password.
Related commands:
snmp-agent group
,
snmp-agent community
,
snmp-agent
local-engineid
.
Examples
# Add a user named
testUser
to the SNMPv3 group named
testGroup
. Set the
security mode to authentication without privacy, the authentication algorithm to
md5
,
and authentication password
authkey
.
<Sysname> system-view
[Sysname] snmp-agent group v3 testGroup authentication
[Sysname] snmp-agent usm-user v3 testUser testGroup authentication-mode md5
authkey