snmpv3 security-level

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 commandsnmpv3用户are able to connect.

Thenoform of this command changes the security level as follows:

  • no snmpv3 security-level auth: Sets the security level to身份验证-privacy.
  • no snmpv3 security-level auth-privacy: Sets the security level to no authentication or privacy, allowing any SNMP user to connect.

Parameter

Description

身份验证

SNMPv3 users that support authentication, or authentication and privacy are allowed.

身份验证-privacy

Only SNMPv3 users with both authentication and privacy are allowed. This is the highest level of SNMPv3 security. Default.

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

Command History

Release

Modification

10.07 or earlier

--

Command Information

Platforms

Command context

Authority

All platforms

config

Administrators or local user group members with execution rights for this command.