2-100
Catalyst 6500 Series Switch Command Reference—Release7.6
78-15328-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands
clear snmp community
clear snmp community
To clear an SNMP community table, use the clear snmp community command.
clear snmp community index [-hex] {index_name}
Syntax Description
Defaults This command has no default settings.
Command Types Switch command.
Command Modes Privileged.
Usage Guidelines I f y ou us e spec ial ch ar acters for the index_name value (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 an index_name value, a NULL context string is used.
Examples This example shows how to clear SNMP access for a group:
Console> (enable) clear snmp community index ind1
Cleared snmp community ind1.
Console> (enable)
Related Commands set snmp community
show snmp community
index Specifies clearing an index.
-hex (Optional) Displays the index_name value in a hexadecimal format.
index_name Name of the SNMP index.