R3204P16-HP Load Balancing Module System Maintenance Command Reference-6PW101

70
[Sysname] snmp-agent group v3 testGroup authentication
[Sysname] snmp-agent usm-user v3 testUser testGroup authentication-mode md5 authkey
Set the SNMP version on the NMS to SNMPv3
Fill in the user name testUser
Set the authentication algorithm to MD5
Set the authentication encrypted key to authkey
Establish a connection, and the NMS can access the MIB objects in the default view (ViewDefault)
on the device
# Add a user testUser to the SNMPv3 group testGroup. Configure the security model as authentication
and privacy, the authentication algorithm as MD5, the privacy algorithm as DES56, the plain-text
authentication key as authkey, and the plain-text privacy key as prikey.
<Sysname> system-view
[Sysname] snmp-agent group v3 testGroup privacy
[Sysname] snmp-agent usm-user v3 testUser testGroup authentication-mode md5 authkey
privacy-mode des56 prikey
Set the SNMP version on the NMS to SNMPv3
Fill in the user name testUser
Set the authentication algorithm to MD5
Set the authentication key to authkey
Set the privacy algorithm to DES
Set the privacy key to prikey
Establish a connection, and the NMS can access the MIB objects in the default view (ViewDefault)
on the device
# Add a user testUser to the SNMPv3 group testGroup with the cipher keyword specified. Configure the
security model as authentication and privacy, the authentication algorithm as MD5, the privacy
algorithm as DES56, the plain-text authentication key as authkey, and the plain-text privacy key as
prikey.
<Sysname> system-view
[Sysname] snmp-agent group v3 testGroup privacy
[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
Set the SNMP version on the NMS to SNMPv3
Fill in the user name testUser,
Set the authentication algorithm to MD5
Set the authentication key to authkey
Set the privacy algorithm to DES
Set the privacy key to prikey
Establish a connection, and the NMS can access the MIB objects in the default view(ViewDefault)
on the device