HP 6125XLG Command Reference Manual page 116

Blade switch network management and monitoring
Table of Contents

Advertisement

<Sysname> system-view
[Sysname] snmp-agent group v3 testGroup authentication
[Sysname] snmp-agent usm-user v3 testUser testGroup simple authentication-mode sha authkey
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, the privacy algorithm aes128, the
plaintext authentication key authkey, and the plaintext privacy key prikey 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 authkey
privacy-mode aes128 prikey
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 to the SNMPv3 group testGroup,
enable the authentication and privacy security model for the group, specify the authentication algorithm
sha, the privacy algorithm aes128, the plaintext authentication key authkey, and the plaintext privacy
key prikey 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 authkey privacy-mode aes128 prikey
Related commands
display snmp-agent usm-user
snmp-agent calculate-password
snmp-agent group
114

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents