1.4.2.1 SNMP V3

Information

SNMPv3, offers support for different users, authentication, and strong encryption. AOS-CX supports stronger authentication protocols (SHA224, SHA256, SHA384, and SHA 512) and privacy protocols (AES192 and AES256).

Enabling SNMPv3 enhances the security and reliability of network management by introducing authentication, encryption and message integrity features, addressing vulnerabilities present in earlier versions like SNMPv1 and SNMPv2c.

Solution

To create an SNMPv3 user using SHA for authentication and DES for privacy

switch(config)# snmpv3 user <myUser> auth sha auth-pass plaintext <myAuthPswrd> priv
des priv-pass plaintext <myPrivPswrd

Disable support for SNMPv1 and SNMPv2c and only accept SNMPv3 messages using the followingcommand -

switch(config)# snmp-server snmpv3-only

To enable SNMP on the required VRF -

switch(config)# snmp-server vrf <vrf-name>

Impact:

Implementing SNMPv3 helps organizations meet security requirements and stay compliant with industry standards.

See Also

https://workbench.cisecurity.org/benchmarks/24202