snmpv3 security-level
Syntax
snmpv3 security-level {auth | auth-privacy}
no snmpv3 security-level {auth | auth-privacy}
Description
Configures the SNMPv3 security level. The
no
form of this command restores the default security-level.
Command context
config
Parameters
auth
SNMPv3 users with either authentication or both authentication and privacy are enabled. When used with the
no
command, the security level is reset to both authentication and privacy.auth-privacy
Only SNMPv3 users with both authentication and privacy are enabled. Default. This is the highest level of SNMPv3 security. All users without both or any one of them will be disabled. When used with the
no
command, the SNMPv3 security level will be set to no authentication no privacy level. This is the lowest SNMPv3 security level, where all SNMPv3 users are enabled.
Authority
Administrators
Usage
The status of the SMNPv3 users will be decided based on the SMPv3 security-level. If the security level is set to
auth-privacy
, only SNMPv3 users with authentication and privacy will be enabled. Users not conforming to the set security-level will be disabled.
Examples
Setting the SNMPv3 security level to authentication and privacy:
switch(config)# snmpv3 security-level auth SNMPv3 users with either authentication or both authentication and privacy are enabled auth-privacy SNMPv3 users with both authentication and privacy are enabled 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 switch(config)# no snmpv3 security-level auth