Cisco Systems OL-6244-01 Switch User Manual


  Open as PDF
of 1438
 
2-135
Catalyst 6500 Series Switch Command Reference—Release 8.4
OL-6244-01
Chapter 2 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 separated by a colon (:); for example,
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.