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>