HPE FlexNetwork 10500 Series Network Management And Monitoring Command Reference page 191

Hide thumbs Also See for FlexNetwork 10500 Series:
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
123456TESTplat&!
# For an NMS to access the MIB objects in the default view ViewDefault, make sure the following
configurations on the NMS are the same as the SNMP agent:
SNMPv3 username.
SNMP protocol version.
Authentication algorithm and key.
# Add user testUser to SNMPv3 group testGroup, and enable authentication and encryption for the
group. Specify authentication algorithm HMAC-SHA1, encryption algorithm AES, plaintext-form
authentication key 123456TESTauth&!, and plaintext-form encryption key 123456TESTencr&! 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&!
# For an NMS to access the MIB objects in the default view ViewDefault, make sure the following
configurations on the NMS are the same as the SNMP agent:
SNMPv3 username.
SNMP protocol version.
Authentication algorithm.
Privacy algorithm.
Plaintext authentication and encryption keys.
# Add user remoteUser for the SNMP remote engine at 10.1.1.1 to SNMPv3 group testGroup, and
enable authentication and encryption for the group. Specify authentication algorithm HMAC-SHA1,
encryption algorithm AES, plaintext-form authentication key 123456TESTauth&!, and plaintext-form
encryption key 123456TESTencr&! 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&!
In RBAC mode:
# Create SNMPv3 user testUser with user role network-operator and enable authentication for the
user. Specify authentication algorithm HMAC-SHA1 and plaintext-form authentication key
123456TESTplat&! for the user.
<Sysname> system-view
[Sysname] snmp-agent usm-user v3 testUser user-role network-operator simple
authentication-mode sha 123456TESTplat&!
For an NMS to have read-only access to all MIB objects, make sure the following configurations on
the NMS are the same as the SNMP agent:
SNMPv3 username.
SNMP protocol version.
Authentication algorithm and key.
Related commands
display snmp-agent usm-user
182

Advertisement

Table of Contents
loading

Table of Contents