Command Manual – SNMP-RMON
H3C S7500E Series Ethernet Switches
Chapter 1 SNMP Configuration Commands
1-27
specified, the
display current-configuration
|
include snmp
command displays
the cipher text password.
z
If you execute this command repeatedly to configure the same user, the last
configuration takes effect.
Related commands:
snmp-agent calculate-password
,
snmp-agent group
,
snmp-agent usm-user
{
v1
|
v2c
}.
Examples
# Add a user
testUser
to the SNMPv3 group
testGroup
. Configure the security model
as
authentication
, the authentication protocol as MD5, the privacy protocol as DES56,
the authentication plain text password as
authkey
, and
the authentication cipher text
password as
prikey
.
<Sysname> system-view
[Sysname] snmp-agent usm-user v3 testUser testGroup authentication-mode md5
authkey privacy-mode des56 prikey
# Add a user
testUser
to the SNMPv3 group
testGroup
with the
cipher
keyword
specified. Configure the security model as
authentication and privacy
, the
authentication protocol as MD5, the privacy protocol as DES56, the authentication
plain text password as
authkey
, and
the authentication cipher text password as
prikey
<Sysname> system-view
[Sysname] snmp-agent calculate-password authkey mode md5 local-engineid
The secret key is: 09659EC5A9AE91BA189E5845E1DDE0CC
[Sysname] snmp-agent calculate-password prikey mode md5 local-engineid
The secret key is: 800D7F26E786C4BECE61BF01E0A22705
[Sysname] snmp-agent usm-user v3 testUser testGroup cipher
authentication-mode md5 09659EC5A9AE91BA189E5845E1DDE0CC privacy-mode des56
800D7F26E786C4BECE61BF01E0A22705