clear snmp access

Use this command to clear the SNMP access entry of a specific group, including its currently configured SNMP security-model and level of security.

Syntax

clear snmp access groupname security-model {v1 | v2c | usm} [noauthentication | authentication | privacy] [context context]

Parameters

groupname Specifies the name of the SNMP group for which to clear access.
security-model v1 | v2c | usm Specifies the security model to be cleared for the SNMP access group.
noauthentication | authentication | privacy (Optional) Clears a specific security level for the SNMP access group.
context context (Optional) Clears a specific context for the SNMP access group. Enter / - / to clear the default context.

Defaults

  • If security level is not specified, all levels will be cleared.
  • If context is not specified, none will be applied.

Mode

All command modes.

Usage

In C2 security mode, you can not clear an SNMP access entry while in Read-Write user mode.

Example

This example shows how to clear SNMP version 3 access for the “mis-group” using the authentication protocol:

System(rw)->clear snmp access mis-group security-model usm authentication