2-98
Catalyst 6500 Series Switch Command Reference—Release7.6
78-15328-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands
clear snmp access
clear snmp access
To remove the access rights of an SNMP group, use the clear snmp access command.
clear snmp access [-hex] {groupname} {security-model {v1 | v2c}}
clear snmp access {security-model v3 {noauthentication | authentication | privacy}}
[context [-hex] contextname]
Syntax Description
Defaults The default contextname is a NULL string.
Command Types Switch command.
Command Modes Privileged.
Usage Guidelines If you use special characters for groupname (nonprintable delimiters for this parameter), you must use
a hexadecimal keyword, which is one or two hexadecimal digits separa ted by a col on (: ) ; fo r exa mple ,
00:ab:34.
If you do not enter a context name, a NULL context string is used.
Examples This example shows how to clear SNMP access for a group:
Console> (enable) clear snmp access cisco-group security-model v3 authentication
Cleared snmp access cisco-group version v3 level authentication.
Console> (enable)
Related Commands set snmp access
show snmp access
show snmp context
-hex (Optional) Displays the groupname or contextname in a hexadecimal
format.
groupname SNMP access table name.
security-model v1 | v2c Specifies the security model v1 or v2c.
security-model v3 Specifies security model v3.
noauthentication Specifies groups with security model type set to noauthentication.
authentication Specifies groups with security model type authentication protocol.
privacy Specifies groups with security model type privacy.
context contextname (Optional) Specifies the name of a context string.