Table Of Contents
clear kerberos srvtab entry
clear key config-key
clear log
clear log command
clear logging buffer
clear logging level
clear logging server
clear mls entry ip
clear mls entry ipx
clear mls include ip
clear mls include ipx
clear mls multicast include
clear mls multicast statistics
clear mls nde flow
clear mls statistics
clear multicast router
clear ntp key
clear ntp server
clear ntp timezone
clear port broadcast
clear port filter
clear port host
clear port qos cos
clear port security
clear qos config
clear qos ip-filter
clear qos mac-cos
clear qos map
clear qos router-mac
clear radius key
clear radius server
clear rcp
clear rgmp statistics
clear snmp access
clear snmp community
clear snmp group
clear snmp notify
clear snmp targetaddr
clear snmp targetparams
clear snmp trap
clear snmp user
clear snmp view
clear spantree portvlancost
clear spantree portvlanpri
clear spantree root
clear spantree statistics
clear spantree uplinkfast
clear station
clear station counters
clear tacacs key
clear tacacs server
clear timezone
clear top
clear trunk
clear vlan
clear vlan mapping
clear vmps server
clear vmps statistics
clear vtp pruning
2
clear kerberos srvtab entry
Use the clear kerberos srvtab entry command to clear the SRVTAB file that is entered directly into the switch from the command line.
clear kerberos srvtab entry kerberos_principal principal_type
Syntax Description
kerberos_principal
|
Service on the switch.
|
principal_type
|
Version of the Kerberos SRVTAB.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Privileged.
Examples
This example shows how to clear a SRVTAB file entered directly into the switch:
Console> (enable) clear kerberos srvtab entry host/niners.cisco.com@CISCO.COM 0
Related Commands
set kerberos srvtab entry
set kerberos srvtab remote
clear key config-key
Use the clear key config-key command to clear the configuration key.
clear key config-key
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Privileged.
Examples
This example shows how to delete a DES key:
Console> (enable) clear key config-key abcd
Kerberos config key deleted
Related Commands
set key config-key
clear log
Use the clear log command set to delete module or system error log entries or dump log entries.
clear log [mod]
clear log dump
Syntax Description
mod
|
(Optional) Module number.
|
dump
|
Keyword to clear dump log entries.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
If you do not specify a module number, the system error log for the entire system is erased.
Examples
This example shows how to clear the system error log:
Console> (enable) clear log
System error log cleared.
This example shows how to clear the dump log:
Console> (enable) clear log dump
Related Commands
show log
clear log command
Use the clear log command command to clear the command log entry table.
clear log command [mod]
Syntax Description
mod
|
(Optional) Number of the module.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
The command log entry table is a history log of the commands sent to the switch from the console or Telnet.
Examples
This example shows how to clear the command log table for a specific module:
Console> (enable) clear log command 3
Related Commands
show log command
clear logging buffer
Use the clear logging buffer command to clear the system logging buffer.
clear logging buffer
Syntax Description
This command has no arguments or keywords.
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Privileged.
Examples
This example shows how to clear the system logging buffer:
Console> (enable) clear logging buffer
System logging buffer cleared.
Related Commands
show logging buffer
clear logging level
Use the clear logging level command to reset the logging level for a facility or for all facilities to their factory default settings.
clear logging level {facililty | all}
Syntax Description
facility
|
Name of the facility to reset; facility types are listed in Table 2-1.
|
all
|
Keyword to reset all facilities.
|
Table 2-1 Facility Types
Facility Name
|
Definition
|
all
|
all facilities
|
cdp
|
Cisco Discovery Protocol
|
cops
|
Common Open Policy Service
|
drip
|
Dual Ring Protocol
|
dtp
|
Dynamic Trunk Protocol
|
earl
|
Encoded Address Recognition Logic
|
fddi
|
Fiber Distributed Data Interface
|
filesys
|
file system
|
gvrp
|
GARP VLAN Registration Protocol
|
ip
|
Internet Protocol
|
kernel
|
Kernel
|
mcast
|
Multicast
|
mgmt
|
Management
|
mls
|
Multilayer Switching
|
pagp
|
Port Aggregation Protocol
|
protfilt
|
Protocol Filter
|
pruning
|
VTP pruning
|
qos
|
Quality of Service
|
radius
|
Remote Access Dial-In User Service
|
security
|
Security
|
snmp
|
Simple Network Management Protocol
|
spantree
|
Spanning Tree Protocol
|
sys
|
System
|
tac
|
Terminal Access Controller
|
tcp
|
Transmission Control Protocol
|
telnet
|
Terminal Emulation Protocol
|
tftp
|
Trivial File Transfer Protocol
|
udld
|
User Datagram Protocol
|
vtp
|
Virtual Terminal Protocol
|
Defaults
This command has no default settings.
Command Types
Switch.
Command Modes
Privileged.
Examples
This example shows how to reset a specific facility back to its factory default values:
Console> (enable) clear logging level dtp
Current session and default severities of facility <dtp> set to factory default values.
This example shows how to reset all facilities back to their factory default values:
Console> (enable) clear logging level all
Current session and default severities of all facilities set to factory default values.
Related Commands
set logging level
show logging
clear logging server
Use the clear logging server command to delete a syslog server from the system log server table.
clear logging server ip_addr
Syntax Description
ip_addr
|
IP address of the syslog server to be deleted.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Privileged.
Examples
This example shows how to delete a syslog server from the configuration:
Console> (enable) clear logging server 192.168.255.255
System log server 192.168.255.255 removed from system log server table.
Related Commands
set logging server
show logging
clear mls entry ip
Use the clear mls entry ip command to clear IP MLS cache entries.
clear mls entry ip [destination ip_addr_spec] [source ip_addr_spec] [flow protocol src_port
dst_port] [all]
Syntax Description
destination ip_addr_spec
|
(Optional) Keyword and variable to specify the destination address; see the "Usage Guidelines" section for formatting information.
|
source ip_addr_spec
|
(Optional) Keyword and variable to specify the source IP address; see the "Usage Guidelines" section for formatting information.
|
flow protocol
|
(Optional) Keyword and variable to specify additional flow information (protocol family and protocol port pair) to be matched; valid values include tcp, udp, icmp, or a decimal number for other protocol families.
|
src_port
|
Source protocol port.
|
dst_port
|
Destination protocol port.
|
all
|
(Optional) Keyword to remove all IP MLS cache entries.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
Enter the full IP address or a subnet address in these formats: ip_addr or ip_addr/netmask or ip_addr/maskbit.
Use the following syntax to specify an IP subnet address:
•
ip_subnet_addr—This is the short subnet address format. The trailing decimal number 00 in an IP address YY.YY.YY.00 specifies the boundary for an IP subnet address. For example, 172.22.36.00 indicates a 24-bit subnet address (subnet mask 172.22.36.00/255.255.255.0), and 173.24.00.00 indicates a 16-bit subnet address (subnet mask 173.24.00.00/255.255.0.0). However, this format can identify only a subnet address of 8, 16, or 24 bits.
•
ip_addr/subnet_mask—This is the long subnet address format, for example, 172.22.252.00/255.255.252.00 indicates a 22-bit subnet address. This format can specify a subnet address of any bit number. To provide more flexibility, the ip_addr is a full host address, such as 172.22.253.1/255.255.252.00.
•
ip_addr/maskbits—This is the simplified long subnet address format. The mask bits specify the number of bits of the network masks. For example, 172.22.252.00/22 indicates a 22-bit subnet address. The ip_addr is a full host address, such as 193.22.253.1/22, which has the same subnet address as the ip_subnet_addr.
When you remove an RSM or a supervisor engine with the RSFC from the Catalyst 5000 family switch, it is removed immediately from the inclusion list and all the MLS entries for the RSM or RSFC are removed.
If you do not use the all argument in the clear mls entry ip command, you must specify at least one of the other three keywords (source, destination, or flow) and its arguments.
A 0 value for src_port and dest_port clears all entries. Unspecified options are treated as wildcards, and all entries are cleared.
Examples
This example shows how to clear the MLS entries with destination IP address 192.168.255.255:
Console>(enable) clear mls entry destination 192.168.255.255
Multilayer switching entry cleared.
This example shows how to clear specific IP MLS entries for destination IP address 192.168.255.255:
Console>(enable) clear mls entry destination 192.168.255.255 source 192.168.253.254 flow tcp 520 320
Multilayer switching entry cleared
Related Commands
show mls rp
clear mls entry ipx
Use the clear mls entry ipx command to clear IPX MLS cache entries.
clear mls entry ipx [destination ipx_addr_spec] [source ipx_addr_spec] [all]
Syntax Description
destination
|
(Optional) Keyword to specify the destination address.
|
ipx_addr_spec
|
(Optional) Full IPX address.
|
source
|
(Optional) Keyword to specify the source IP address.
|
all
|
(Optional) Keyword to remove all IPX MLS cache entries.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
When entering the IPX address syntax, use the following format:
•
IPX net address—1..FFFFFFFE
•
IPX node address—x.x.x where x is 0..FFFF
•
IPX address—ipx_net.ipx_node (for example, 3.0034.1245.AB45, A43.0000.0000.0001)
If you do not use the all keyword in the clear mls entry ipx command, you must specify at least one of the other two keywords (source or destination) and its argument.
Examples
This example shows how to clear specific IPX MLS entries for a destination IPX address:
Console>(enable) clear mls entry ipx destination 1.00e0.fefc.6000 source 3.0034.1245.AB45
IPX Multilayer switching entry cleared
Related Commands
show mls rp
clear mls include ip
Use the clear mls include ip command to remove routers from the IP MLS-RP include list.
clear mls include ip {ip_addr | all}
Syntax Description
ip_addr
|
IP address or host name of the router to remove from the IP MLS-RP include list.
|
all
|
Keyword to remove all routers from the IP MLS-RP include list.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
When you physically remove an RSM or RSFC from the Catalyst 5000 family switch, it is removed immediately from the inclusion list, and all the MLS cache entries for the RSM or RSFC are removed.
Examples
This example shows how to remove a router from the IP MLS-RP include list:
Console> (enable) clear mls include ip Stargate
Multilayer switching is disabled for router 192.168.255.255 (Stargate)
Related Commands
show mls rp
clear mls include ipx
Use the clear mls include ipx command to remove routers from the IPX MLS-RP include list.
clear mls include ipx {ip_addr | all}
Syntax Description
ip_addr
|
IP address or host name of the router to remove from the IPX MLS-RP include list.
|
all
|
Keyword to remove all routers from the IPX MLS-RP include list.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
When you physically remove an RSM or RSFC from the Catalyst 5000 family switch, it is removed immediately from the inclusion list, and all the MLS cache entries for the RSM or RSFC are removed.
Examples
This example shows how to remove a router from the IPX MLS-RP include list:
Console> (enable) clear mls include ipx Stargate
Multilayer switching is disabled for router 192.168.255.255 (Stargate)
Related Commands
show mls rp
clear mls multicast include
Use the clear mls multicast include command to remove a router from the IP multicast MLS-RP include list.
clear mls multicast include {ip_addr | all}
Syntax Description
ip_addr
|
IP address or host name of the router to remove from the IP MMLS-RP include list.
|
all
|
Keyword to remove all routers from the IP MMLS-RP include list.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
When you physically remove an RSM or RSFC from the Catalyst 5000 family switch, it is removed immediately from the inclusion list, and all the MLS cache entries for the RSM or RSFC are removed.
Examples
This example shows how to remove all routers from the MMLS-RP include list:
Console> (enable) clear mls multicast include all
All MLS routers are deleted from the include list.
This example shows how to remove a specific router from the MMLS-RP include list using its IP address:
Console> (enable) clear mls multicast include 172.20.53.4
MLS Router 172.20.53.4 is deleted from the include list.
Related Commands
set mls multicast
show mls multicast entry
clear mls multicast statistics
Use the clear mls multicast statistics command to clear IP multicast MLS statistics for all MMLS-RPs.
clear mls multicast statistics rp
Syntax Description
rp
|
Keyword to clear IP multicast MLS statistics for all MMLS-RPs.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Privileged.
Examples
This example shows how to clear IP multicast MLS statistics for all MMLS-RPs:
Console> (enable) clear mls multicast statistics rp
All statistics for the MLS routers in include list are cleared.
Related Commands
set mls multicast
show mls multicast entry
clear mls nde flow
Use the clear mls nde command to clear the MLS NDE flow filter.
clear mls nde [flow]
Syntax Description
flow
|
(Optional) Keyword to return the MLS NDE flow filter to the default configuration.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Privileged.
Examples
This example shows how to clear the NDE filter and export all flows:
Console> (enable) clear mls nde flow
Netflow data export filter cleared.
Related Commands
set mls nde
show mls rp
clear mls statistics
Use the clear mls statistics command to clear IP or IPX MLS statistics on the switch.
clear mls statistics
clear mls statistics protocol {protocol port | all}
Syntax Description
statistics
|
Keyword to clear MLS statistics, including total packets switched and total packets exported (for NDE).
|
protocol protocol
|
(Optional) Keyword and variable to specify additional flow information (protocol family and protocol port pair) to be matched; valid values are from 1 to 255, ip, ipinip, icmp, igmp, tcp, and udp.
|
port
|
Number of the protocol port for which to clear statistics.
|
all
|
Keyword to clear statistics for all protocols.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Privileged.
Examples
This example shows how to clear IP MLS statistics, including total packets switched and total packets exported (for NDE):
Console> (enable) clear mls statistics
Netflow data export statistics cleared.
This example shows how to clear protocol 17, port 19344, from statistics collection:
Console> (enable) clear mls statistics protocol 17 19344
Protocol 17 port 1934 cleared from protocol statistics list.
Related Commands
show mls rp
show mls statistics
clear multicast router
Use the clear multicast router command to clear manually configured multicast router ports from the multicast router port list.
clear multicast router {mod/port | all}
Syntax Description
mod
|
Number of the module.
|
port
|
Number of the port on the module.
|
all
|
Keyword to clear all multicast router ports.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Privileged.
Examples
This example shows how to remove port 1 on module 3 from the list of multicast router ports:
Console> (enable) clear multicast router 3/1
Port 3/1 cleared from multicast router port list.
Related Commands
set multicast router
show multicast router
clear ntp key
Use the clear ntp key command to remove all authentication keys or a specific authentication key.
clear ntp key {public_keynum | all}
Syntax Description
public_keynum
|
Number of the key pair; valid values are from 1 to 4292945295.
|
all
|
Keyword to remove all authentication keys.
|
Defaults
This command has not default settings.
Command Types
Switch command.
Command Modes
Privileged.
Examples
This example shows how to clear an NTP authentication key:
Console> (enable) clear ntp key 435
Related Commands
set ntp key
clear ntp server
Use the clear ntp server command to remove one or more servers from the NTP server table.
clear ntp server {ip_addr | all}
Syntax Description
ip_addr
|
IP address of the server to remove from the server table.
|
all
|
Keyword to remove all server addresses in the server table.
|
Defaults
The default configuration has no NTP servers configured.
Command Types
Switch command.
Command Modes
Privileged.
Examples
This example shows how to clear a specific NTP server from the server table:
Console> (enable) clear ntp server 172.20.22.191
NTP server 172.20.22.191 removed.
This example shows how to clear all NTP servers from the server table:
Console> (enable) clear ntp server all
Related Commands
set ntp server
show ntp
clear ntp timezone
Use the clear ntp timezone command to return the time zone to its default, UTC.
clear ntp timezone
Syntax Description
This command has no arguments or keywords.
Defaults
The default time zone is UTC.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
The clear ntp timezone command functions only when NTP is running. If you set the time manually and NTP is disengaged, the clear ntp timezone command has no effect.
Examples
This example shows how to clear the time zone:
Console> (enable) clear ntp timezone
This command will clear NTP timezone and summertime zonename
Do you want to continue (y/n) [n]? y
Timezone name and offset cleared
Related Commands
set ntp summertime
set ntp timezone
show ntp
clear port broadcast
Use the clear port broadcast command to disable broadcast/multicast suppression on one or more ports.
clear port broadcast mod/ports...
Syntax Description
mod/ports...
|
Number of the module and the ports.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Privileged.
Examples
This example shows how to disable broadcast/multicast suppression:
Console> (enable) clear port broadcast 2/1
Broadcast traffic unlimited on ports 2/1.
Related Commands
set port broadcast
show port
clear port filter
Use the clear port filter command to clear configured MAC addresses or protocol filters.
clear port filter [mod/port] [mac_addr | protocol_type | all]
Syntax Description
mod/port
|
(Optional) Number of the module and the ports on the module.
|
mac_addr
|
(Optional) MAC address on which the filter that you want to clear is based.
|
protocol_type
|
(Optional) Protocol type on which the filter that you want to clear is based.
|
all
|
(Optional) Keyword to clear all filters.
|
Defaults
The command has no default settings.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
You can enter the MAC address in canonical format (00-11-33-44-55) or in noncanonical format (00:11:22:33:44:55).
Examples
This example shows how to clear a MAC address filter (00:40:0b:01:bc:65) configured on port 2 of module 3:
Console> (enable) clear port filter 3/2 00:40:0b:01:bc:65
Port 3/2 filter Mac Address 00:40:0b:01:bc:65 cleared.
Related Commands
set port filter
show port filter
clear port host
Use the clear port host command to clear the port configuration for optimizing a host connection.
clear port host mod/port
Syntax Description
mod/port
|
Number of the module and the port on the module.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Privileged.
Examples
This example shows how to clear port host 1 on module 2:
Console> (enable) clear port host 2/1
Port(s) 2/1 trunk mode set to auto.
Spantree port 2/1 fast start disabled.
Port(s) 2/1 channel mode set to auto.
This example shows how to clear port hosts 1 through 4 on module 2:
Console> (enable) clear port host 2/1-4
Port(s) 2/1 trunk mode set to auto.
Port(s) 2/2 trunk mode set to auto.
Port(s) 2/3 trunk mode set to auto.
Port(s) 2/4 trunk mode set to auto.
Spantree ports 2/1-4 fast start disabled.
Port(s) 2/1 channel mode set to auto.
Port(s) 2/2 channel mode set to auto.
Port(s) 2/3 channel mode set to auto.
Port(s) 2/4 channel mode set to auto.
Related Commands
set port host
clear port qos cos
Use the clear port qos cos command to return the values set by the set port qos command to the default values for all specified ports.
clear port qos mod/ports... cos
Syntax Description
mod/ports...
|
Number of the module and ports.
|
Defaults
The default CoS for a port is 0.
Command Types
Switch command.
Command Modes
Privileged.
Examples
This example shows how to return the values set by the set port qos command to the default values for module 2, port 1:
Console> (enable) clear port qos 2/1 cos
Port 2/1 qos cos setting cleared.
Related Commands
set port qos
show port qos
clear port security
Use the clear port security command to clear all MAC addresses or a specific MAC address from the list of secure MAC addresses on a port.
clear port security mod/port {mac_addr | all}
Syntax Description
mod/port
|
(Optional) Number of the module and the ports on the module.
|
mac_addr
|
MAC address to be deleted.
|
all
|
Keyword to remove all MAC addresses.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Privileged.
Examples
This example shows how to remove a specific MAC address from a port's list of secure addresses:
Console> (enable) clear port security 4/1 00-11-22-33-44-55
00-11-22-33-44-55 cleared from secure address list list for port 4/1.
Related Commands
set port security
show port security
clear qos config
Use the clear qos config command to return the values set by the set qos command to the default values and delete the CoS-to-MAC address mappings.
clear qos config
Syntax Description
This command has no arguments or keywords.
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Privileged.
Examples
This example shows how to return the values set by the set qos command to the default values and delete the CoS assigned to MAC addresses:
Console> (enable) clear qos config
This command will disable QoS and take values back to factory default.
Do you want to continue (y/n) [n]? y
Related Commands
set qos
show qos info
clear qos ip-filter
Use the clear qos ip-filter command to delete entries from the ACE list.
clear qos ip-filter {ACE# | all}
Syntax Description
ACE#
|
Number of the current position in the ACE list.
|
all
|
Keyword to delete all the entries in the ACE list.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
This command is supported only on Catalyst 5000 family switches configured with Supervisor Engine II G or III G, or Supervisor Engine III.
Examples
This example shows how to remove a specific entry from the ACE list:
Console> (enable) clear qos ip-filter 3
qos ip-filter 3 is cleared.
This example shows how to remove all entries from the ACE list:
Console>(enable) clear qos ip-filter all
qos ip-filter are all cleared.
Related Commands
set qos ip-filter
show qos ip
clear qos mac-cos
Use the clear qos mac-cos command to clear the values set by the set qos mac-cos command.
clear qos mac-cos dest_mac [vlan]
clear qos mac-cos all
Syntax Description
dest_mac
|
Destination host MAC address.
|
vlan
|
(Optional) Number of the VLAN.
|
all
|
Keyword to clear CoS values for all MAC/VLAN pairs.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
This command is supported only on Catalyst 5000 family switches with Supervisor Engine II G or III G, or Supervisor Engine III.
If the vlan number is not entered, all entries for the MAC address are cleared.
Examples
This example shows how to clear the values set by the set qos mac-cos command and return to the default values for all MAC address and VLAN pairs:
Console> (enable) clear qos mac-cos all
All CoS to Mac/Vlan entries are cleared.
This example shows how to clear the values set by the set qos mac-cos command and return to the default values for a specific MAC address:
Console> (enable) clear qos mac-cos 1-2-3-4-5-6 1
CoS to Mac/Vlan entry for mac 01-02-03-04-05-06 vlan 1 is cleared.
Related Commands
set qos mac-cos
show qos mac-cos
clear qos map
Use the clear qos map command to return the CoS-to-transmit queue and drop threshold values to their default values.
clear qos map port_type
Syntax Description
port_type
|
Port type; valid values are 1q4t and 2q1t.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
This command is supported on systems configured with Supervisor Engine II G or III G, or Supervisor Engine III.
Examples
This example shows how to return the CoS-to-transmit queue and drop threshold mappings to the default values on 1q4t ports:
Console> (enable) clear qos map 1q4t
Related Commands
set qos map
show qos info
clear qos router-mac
Use the clear qos router-mac command to remove entries from the list of router MAC address-to-VLAN mappings on which to perform ACE-based classification.
clear qos router-mac mac_addr vlan
clear qos router-mac all
Syntax Description
mac_addr
|
MAC address to remove from the list of router MAC address-to-VLAN mappings.
|
vlan
|
VLAN number mapped to the specified router MAC address; valid values are from 1 to 1005.
|
all
|
Keyword to remove all entries from the list of router MAC address-to-VLAN mappings.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
This command is supported on Catalyst 5000 family switches configured with Supervisor Engine II G or III G, or Supervisor Engine III.
You can enter the MAC address in canonical format (00-11-33-44-55) or in noncanonical format (00:11:22:33:44:55).
Examples
This example shows how to remove a specific entry from the list of router MAC address-to-VLAN mappings:
Console> (enable) clear qos router-mac 00-40-0b-30-03-48 2
QoS Router MAC/Vlan(s) cleared.
Related Commands
set qos router-mac
show qos info
clear radius key
Use the clear radius key command to clear all the RADIUS shared keys from the RADIUS shared key table.
clear radius key
Syntax Description
This command has no arguments or keywords.
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Privileged.
Examples
This example shows how to clear the RADIUS key:
Console> (enable) clear radius key
Radius server key cleared.
Related Commands
set radius key
show radius
clear radius server
Use the clear radius server command to clear all or one of the RADIUS servers from the RADIUS server table.
clear radius server all
clear radius server ipaddr
Syntax Description
all
|
Keyword to clear all RADIUS servers.
|
ipaddr
|
Number of the IP address or IP alias.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
The IP address is entered in dotted decimal notation, for example, 101.102.103.104.
Examples
This example shows how to clear a specific RADIUS server from the RADIUS server table:
Console> (enable) clear radius server 192.168.255.255
192.168.255.255 cleared from radius server table.
Related Commands
set radius server
show radius
clear rcp
Use the clear rcp command to clear rcp information for file transfers.
clear rcp
Syntax Description
This command has no arguments or keywords.
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Privileged.
Examples
This example shows how to clear rcp information:
Console> (enable) clear rcp
Related Commands
set rcp username
show rcp
clear rgmp statistics
Use the clear rgmp statistics command to clear RGMP statistics information for all VLANs.
clear rgmp statistics
Syntax Description
This command has no arguments or keywords.
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Privileged.
Examples
This example shows how to clear the RGMP statistics on the switch:
Console> (enable) clear rgmp statistics
Related Commands
set rgmp
show rgmp statistics
clear snmp access
Use the clear snmp access command to remove the access rights of an SNMP group with a specific security model and security level.
clear snmp access [-hex] {groupname} {security-model {v1 | v2c}}
clear snmp access {security-model v3 {noauthentication | authentication | privacy}}
Syntax Description
-hex
|
(Optional) Keyword to display the groupname as a hexadecimal format.
|
groupname
|
SNMP group name.
|
security-model v1| v2c
|
Keywords to specify the security model v1 or v2c.
|
security-model v3
|
Keywords to specify security model v3.
|
noauthentication
|
Keyword to specify that the security model is not set to use authentication protocol.
|
authentication
|
Keyword to specify the type of authentication protocol.
|
|