Information
Sets the SNMP v3 user with SHA authentication and AES-256 encryption
Rationale:
SNMP users have a specified username, a group to which the user belongs, authentication password, encryption password, and authentication and encryption algorithms to use. The authentication algorithm options are MD5 and SHA. The encryption algorithm options are DES, 3DES, and AES (which is available in 128, 192, and 256 versions).
It is recommended to use SHA algorithm for authentication and AES-256 for encryption
Solution
Run the following:
HOSTNAME(CONFIG)#SNMP-SERVER USER _<snmp_username> <group-name>_ V3 AUTH SHA _<authentication_password>_ PRIV AES 256 _<encryption_password>_