How to configure SNMPv3 on HPE Aruba & Procurve switches?

Snmpv3 is enabled.

sw1(config)# snmpv3 enable

A new user named initial is created.

When it asks me to create a new user, it is called no.

Would you like to create a user that uses SHA? [y/n] n

Confirm the restriction of SNMPv1 and v2c by saying yes. Other protocols other than v3 will no longer be used.

Would you like to restrict SNMPv1 and SNMPv2c messages to have read only access (you can set this later by the command ‘snmpv3 restricted-access’)? [y/n]y 

A new user and group is created. The user’s group is given admin authority.

snmpv3 user “username” auth sha “password” priv aes “priv-pass

snmpv3 group managerpriv user username sec-model ver3

The “initial” user that was created while enabling snmpv3 is deleted.

no snmpv3 user initial 

To increase snmp security, only snmpv3 connection is allowed.

snmpv3 only

snmpv3 restricted-access

write memory

The created user is checked

show snmpv3 user username

By:

Posted in:


Leave a comment