snmpv3 security-level
Syntax
snmpv3 security-level {auth | auth-privacy}
no snmpv3 security-level {auth | auth-privacy}
Description
Configures the SNMPv3 security level. The security level determines which SMNPv3 users defined by the command
snmpv3 user
are able to connect.
The
no
form of this command changes the security level as follows:
no snmpv3 security-level auth
: Sets the security level toauth-privacy
.no snmpv3 security-level auth-privacy
: Sets the security level to no authentication or privacy, allowing any SNMP user to connect.
Command context
config
Parameters
auth
SNMPv3 users that support authentication, or authentication and privacy are allowed.
auth-privacy
Only SNMPv3 users with both authentication and privacy are allowed. This is the highest level of SNMPv3 security. Default.
Authority
Administrators or local user group members with execution rights for this command.
Examples
Setting the SNMPv3 security level to authentication and privacy:
switch(config)# snmpv3 security-level auth-privacy
Setting the SNMPv3 security level to authentication only:
switch(config)# snmpv3 security-level auth
Setting the SNMPv3 security level to no authentication and no privacy:
switch(config)# no snmpv3 security-level auth-privacy
Restoring the default SNMPv3 security level to authentication and privacy:
switch(config)# no snmpv3 security-level auth