HP FlexFabric 12500 Series Network Management And Monitoring Command Reference page 164

Routing
Hide thumbs Also See for FlexFabric 12500 Series:
Table of Contents

Advertisement

SNMPv3 users are valid only on the SNMP engine that creates them. By default, SNMPv3 users are
created on the local SNMP engine. When you create an SNMPv3 user for sending SNMP inform
messages, you must associate it with the remote SNMP engine.
If you configure an SNMPv3 user multiple times, the most recent configuration takes effect.
For security purposes, all keys, including keys configured in plain text, are saved in cipher text.
Make sure you remember the username and the plain text of the keys. When you access the device from
an NMS, you must provide this information.
Examples
# Add the user testUser to the SNMPv3 group testGroup, enable the authentication without privacy
security model for the group, and specify the authentication algorithm SHA- 1 and the authentication key
123456TESTplat&! in plain text for the user.
<Sysname> system-view
[Sysname] snmp-agent group v3 testGroup authentication
[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 123456TESTauth&!, and the plaintext privacy 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&!
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- 1 , the privacy algorithm AES, the plaintext authentication key 123456TESTauth&!, and the plaintext
privacy 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&!
Related commands
display snmp-agent usm-user
snmp-agent calculate-password
snmp-agent group
156

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flexfabric 12500e series

Table of Contents