HP MSR2000/3000/4000 Router Series Network Management and Monitoring Command Reference
163
[Sysname] snmp-agent usm-user v3 testUser testGroup simple authentication-mode sha
123456TESTplat&!
An NMS can use the same SNMPv3 username, SNMP protocol version, and authentication algorithm
and key as the SNMP agent to access the MIB objects in the default view ViewDefault.
# Add the user testUser to the SNMPv3 group testGroup, enable the authentication and privacy security
model for the group, and specify the authentication algorithm SHA-1, the privacy algorithm AES, the
plaintext authentication key 123 456 TE STau t h& ! , and the plaintext privacy key 123 456 TE STe nc r&! for the
user.
<Sysname> system-view
[Sysname] snmp-agent group v3 testGroup privacy
[Sysname] snmp-agent usm-user v3 testUser testGroup simple authentication-mode sha
123456TESTauth&! privacy-mode aes128 123456TESTencr&!
An NMS can use the same SNMPv3 username, SNMP protocol version, authentication algorithm,
privacy algorithm, and plaintext authentication and privacy keys as the SNMP agent to access the MIB
objects in the default view ViewDefault.
# Add the user remoteUser for the SNMP remote engine at 10 .1.1.1 t o t h e S N M P v 3 g r o u p testGroup,
enable the authentication and privacy security model for the group, specify the authentication algorithm
SHA-1, the privacy algorithm AES, the plaintext authentication key 123456TESTauth&!, and the plaintext
privacy key 123 456 TESTe ncr &! for the user.
<Sysname> system-view
[Sysname] snmp-agent remote 10.1.1.1 engineid 123456789A
[Sysname] snmp-agent group v3 testGroup privacy
[Sysname] snmp-agent usm-user v3 remoteUser testGroup remote 10.1.1.1 simple
authentication-mode sha 123456TESTauth&! privacy-mode aes128 123456TESTencr&!
Related commands
• display snmp-agent usm-user
• snmp-agent calculate-password
• snmp-agent group