2-108
Catalyst 6500 Series Switch Command Reference—Release7.6
78-15328-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands
clear snmp user
clear snmp userTo remove an SNMP user, use the clear snmp user command.
clear snmp user [-hex] {username} [remote engineid]
Syntax Description
Defaults If a remote engine ID is not provided, the default local SNMP engine ID is used.
Command Types Switch command.
Command Modes Privileged.
Usage Guidelines If you use special characters for the username 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.
Examples This example shows how to remove a user from an SNMP group:
Console> (enable) clear snmp user joe
Cleared SNMP user joe.
Console> (enable)
This example shows how to remove a user on a remote SNMP engine:
Console> (enable) clear snmp user joe remote 00:00:00:09:00:d0:00:4c:18:00
Cleared SNMP user.
Console> (enable)
Related Commands set snmp user
show snmp user
-hex (Optional) Displays the username value as a hexadecimal format.
username Name of the user on the host that connects to the agent.
remote engineid (Optional) Specifies the username value on a remote SNMP engine.