H3C S7500E Series Command Manual page 1197

Hide thumbs Also See for S7500E Series:
Table of Contents

Advertisement

Command Manual – SNMP-RMON
H3C S7500E Series Ethernet Switches
priv-password: The privacy password. If the cipher keyword is not specified,
priv-password indicates a plain text password, which is a string of 1 to 64 characters. If
the cipher keyword is specified, priv-password indicates a cipher text password. If the
md5 keyword is specified, priv-password is a string of 32 hexadecimal characters. If the
sha keyword is specified, priv-password is a string of 40 hexadecimal characters.
acl acl-number: Basic ACL, in the range 2,000 to 2,999.
local: Represents a local SNMP entity user.
engineid engineid-string: The engine ID string, an even number of hexadecimal
characters, in the range 10 to 64. Its length must not be an odd number, and the all-zero
and all-F strings are invalid.
Description
Use the snmp-agent usm-user v3 command to add a user to an SNMP group.
Use the undo snmp-agent usm-user v3 command to delete a user from an SNMP
group.
If you specify the cipher keyword, the system considers the arguments
auth-password and priv-password as cipher text passwords. In this case, the
command supports copy and paste, meaning if the engine IDs of the two devices
are the same, you can copy and paste the SNMPv3 configuration commands in
the configuration file on device A to device B and execute the commands on
device B. The cipher text password and plain text password on the two devices are
the same.
If you do not specify the cipher keyword, the system considers the arguments
auth-password and priv-password as plain text passwords. In this case, if you
perform the copy and paste operation, the system will encrypt these two
passwords, resulting in inconsistency of the cipher text and plain text passwords of
the two devices.
Note that:
If you use the snmp-agent usm-user v3 cipher command, the pri-password
argument
calculate-password command. To make the calculated cipher text password
applicable to the snmp-agent usm-user v3 cipher command and have the same
effect as that in the snmp-agent usm-user v3 cipher command, ensure that the
same privacy protocol 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.
If you execute the command without specifying the cipher keyword, the display
current-configuration | include snmp command displays garbled characters of
the cipher text password; if you execute the command with the cipher keyword
in
this
command
1-26
Chapter 1 SNMP Configuration Commands
can
be
obtained
by
the
snmp-agent

Advertisement

Table of Contents
loading

Table of Contents