2-102
Catalyst 6500 Series Switch Command Reference—Release7.6
78-15328-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands
clear snmp group
clear snmp group
To remove the SNMP user from an SNMP group, use the clear snmp group command.
clear snmp group [-hex] groupname {user [-hex] username} {security-model {v1 | v2c | v3}}
Syntax Description
Defaults This command has no default settings.
Command Types Switch command.
Command Modes Privileged.
Usage Guidelines I f you use specia l character s for the groupname value or the username value (nonprintable delimiters for
these parameters), you must use a hexadecimal keyword, which is one or two hexadecimal digits
separated by a colon (:); for example, 00:ab:34.
Examples This example shows how to remove an SNMP user from a group:
Console> (enable) clear snmp group cisco-group user joe security-model v3
Cleared snmp group cisco-group user joe version v3.
Console> (enable)
Related Commands set snmp group
show snmp group
-hex (Optional) Displays the groupname and username as a hexadecimal
format.
groupname Name of the SNMP group that defines an access control.
user Specifies the SNMP group username.
username Name of the SNMP user.
security model
v1 | v2c | v3 Specifies security model v1, v2c, or v3.