R3166-R3206-HP High-End Firewalls System Management and Maintenance Command Reference-6PW101
162
# Add a user testUser to the SNMPv3 group testGroup. Configure the security model as authentication
and privacy, the authentication protocol as MD5, the privacy protocol as DES56, the plain-text
authentication password as authkey, and the plain-text privacy password 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 protocol to MD5
• Set the authentication password to authkey
• Set the privacy protocol to DES
• Set the privacy password to prikey
• Establish a connection, and the NMS can access the MIB objects in the default view 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 protocol as MD5, the privacy protocol
as DES56, the plain-text authentication password as authkey, and the plain-text privacy password 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 protocol to MD5
• Set the authentication password to authkey
• Set the privacy protocol to DES
• Set the privacy password to prikey
• Establish a connection, and the NMS can access the MIB objects in the default view on the device