Catalyst 6500 Series Command Reference, 5.5
clear logging server to clear vtp statistics

Table Of Contents

clear logging server

clear mls

clear mls exclude protocol

clear mls multicast statistics

clear mls nde flow

clear module password

clear multicast router

clear ntp server

clear port broadcast

clear port cops

clear port qos cos

clear port security

clear pvlan mapping

clear qos acl

clear qos config

clear qos cos-dscp-map

clear qos dscp-cos-map

clear qos ipprec-dscp-map

clear qos mac-cos

clear qos map

clear qos policed-dscp-map

clear qos policer

clear qos statistics

clear radius

clear rgmp statistics

clear security acl

clear security acl capture-ports

clear security acl map

clear snmp access

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 tacacs key

clear tacacs server

clear timezone

clear top

clear trunk

clear vlan

clear vlan mapping

clear voicevlan

clear vtp pruning

clear vtp statistics


22

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 setting.

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 171.69.192.207 
System log server 171.69.192.207 removed from system log server table.
Console> (enable) 

Related Commands

set logging server
show logging

clear mls

Use the clear mls command set to clear the IP or IPX MLS features in the Catalyst 6000 family switches.

clear mls statistics

clear mls statistics protocol {protocol} {port} | all

clear mls entry [ip | ipx] all

clear mls entry [ip] [destination ip_addr_spec] [source ip_addr_spec]
[protocol protocol] [src-port src_port] [dst-port dst_port]

clear mls entry [ipx] [destination ipx_addr_spec] [source ipx_net_addr]

Syntax Description

statistics

Keyword to clear total packets switched and total packets exported (for NDE).

statistics protocol

Keywords to clear protocols for statistics collection.

protocol

Number of the protocol in the protocol statistics list.

port

Number of the port.

all

Keyword to clear all entries from the statistics protocol list.

entry

Keyword to purge the specified MLS entry or all entries if all is specified. All matching MLS entries are purged.

ip

(Optional) Keyword to specify IP MLS.

ipx

(Optional) Keyword to specify IPX MLS.

destination

(Optional) Keyword to specify the destination IP address.

ip_addr_spec

(Optional) Full IP address or a subnet address in these formats: ip_addr, ip_addr/netmask, or ip_addr/maskbit.

source

(Optional) Keyword to specify the source IP address.

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.

src-port src_port

(Optional) Keyword and variable to specify the source port IP address.

dst-port dst_port

(Optional) Keyword and variable to specify the destination port IP address.

ipx_addr_spec

(Optional) Full IPX address or a subnet address in these formats: src_net/[mask], dest_net.dest_node, or dest_net/mask.

ipx_net_addr

(Optional) Source IPX net address.


Defaults

This command has no default setting.

Command Types

Switch command.

Command Modes

Privileged.

Usage Guidelines

When specifying the ip | ipx keyword, if you specify ip or do not enter a keyword, this means that the command is for IP MLS. If you specify ipx, this means the command is for IPX only.

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)

Up to 16 routers can be included explicitly as MLS-RPs.

To use a router as an MLS, you must meet these conditions:

The router must be included (either explicitly or automatically) in the MLS-SE.

The MLS feature must be enabled in the Catalyst 6000 family switches.

The Catalyst 6000 family switches must know the router's MAC-VLAN pairs.

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.

If you do not use the all argument in the clear mls entry command, you must specify at least one of the other three keywords (source, destination, or protocol) and its arguments.

A 0 value for source_port and destination_port clears all entries. Unspecified options are treated as wildcards, and all entries are cleared.

If you enter any of the clear mls commands on a Catalyst 6000 family switch without MLS, this warning message displays:

Feature not supported in hardware.

When you remove an MSM from the Catalyst 6000 family switch, it is removed immediately from the inclusion list and all the MLS entries for the MSM are removed.

Examples

This example shows how to disable IP MLS for the Stargate router (IP address 172.20.15.1):

Console> (enable) clear mls include Stargate
Multilayer switching is disabled for router 172.20.15.1 (Stargate)
Console> (enable)

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.
Console> (enable)

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.
Console> (enable)

This example shows how to clear the MLS entries with destination IP address 172.20.26.22:

Console> (enable) clear mls entry destination 172.20.26.22 
Multilayer switching entry cleared.
Console> (enable)

This example shows how to clear specific IP MLS entries for destination IP address 172.20.26.22:

Console> (enable) clear mls entry ip destination 172.20.26.22 source 172.20.22.113 protocol tcp 520 320
Multilayer switching entry cleared
Console> (enable)

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
Console> (enable)

Related Commands

set mls agingtime
set mls exclude protocol
set mls nde
set mls statistics protocol
show mls

clear mls exclude protocol

Use the clear mls exclude protocol command to remove a protocol port that has been been excluded from shortcutting using the set mls exclude protocol command.

clear mls exclude protocol tcp | udp | both port

Syntax Description

tcp

Keyword to specify a TCP port.

udp

Keyword to specify a UDP port.

both

Keyword to specify that the port be applied to both TCP and UDP traffic.

port

Number of the port.


Defaults

This command has no default setting.

Command Types

Switch command.

Command Modes

Privileged.

Examples

This example shows how to set TCP packets in a protocol port to be hardware switched:

Console> (enable) clear mls exclude protocol tcp 25
TCP packets with protocol port 25 will be MLS switched.
Console> (enable)

Related Commands

show mls exclude protocol
set mls exclude protocol

clear mls multicast statistics

Use the clear mls multicast statistics command to remove MLS multicast statistical information from the MSFC.

clear mls multicast statistics [mod]

Syntax Description

mod

(Optional) Number of the MSFC; valid values are 15 and 16.


Defaults

This command has no default setting.

Command Types

Switch command.

Command Modes

Privileged.

Usage Guidelines

If you enter the clear mls multicast statistics command on a Catalyst 6000 family switch without MLS, this warning message is displayed:

MLS Multicast is not supported on feature card.

If you place the MFSC on a supervisor engine installed in slot 1, then the MFSC is recognized as module 15. If you install the supervisor engine in slot 2, the MFSC is recognized as module 16.

Examples

This example shows how to clear MLS multicast statistics:

Console> (enable) clear mls multicast statistics
All statistics for the MLS routers in include list are cleared.
Console> (enable)

Related Commands

show mls multicast

clear mls nde flow

Use the clear mls nde flow command to reset the NDE filters in the Catalyst 6000 family switches.

clear mls nde flow

Syntax Description

This command has no arguments or keywords.

Defaults

This command has no default setting.

Command Types

Switch command.

Command Modes

Privileged.

Usage Guidelines

Clearing both exclusion and inclusion filters results in exporting of all flows.

Examples

This example shows how to clear the NDE exclusion and inclusion filters and export all flows:

Console> (enable) clear mls nde flow
Netflow data export filter cleared.
Console> (enable)

Related Commands

show mls exclude protocol
set mls nde

clear module password

Use the clear module password command to clear the password set by the password [username] NAM command.

clear module password mod

Syntax Description

mod

Number of the NAM.


Defaults

This command has no default setting.

Command Types

Switch command.

Command Modes

Privileged.

Usage Guidelines

This command is supported by the NAM only.

The password [username] command is a NAM command and not a supervisor engine console command.

A message is displayed when the password is successfully cleared. See the "Examples" section for an example of the message.

Examples

This example shows how to clear the password from the NAM:

Console> (enable) clear module password 6
Module 6 password cleared.
Console> (enable) 2000 Apr 07 11:03:06 %SYS-5-MOD_PASSWDCLR:Module 6 password cl
eared from telnet/10.6.1.10/tester
Console> (enable) 

Related Commands

password

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/port

Number of the module and the port on the module.

all

Keyword to specify all multicast router ports to be cleared.


Defaults

The default configuration has no multicast router ports configured.

Command Types

Switch command.

Command Modes

Privileged.

Examples

This example shows how to clear multicast router port 1 on module 3:

Console> (enable) clear multicast router 3/1 
Port 3/1 cleared from multicast router port list.
Console> (enable)

Related Commands

set multicast router
show multicast router

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 specify all server addresses in the server table to be removed.


Defaults

The default configuration has no NTP servers configured.

Command Types

Switch command.

Command Modes

Privileged.

Examples

This example shows how to remove a specific NTP server from the server table:

Console> (enable) clear ntp server 172.20.22.191
NTP server 172.20.22.191 removed.
Console> (enable)

This example shows how to remove all NTP servers from the server table:

Console> (enable) clear ntp server all
All NTP servers cleared.
Console> (enable)

Related Commands

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/port

Syntax Description

mod/port

Number of the module and the port on the module.


Defaults

The default configuration has broadcast/multicast suppression cleared (that is, unlimited broadcast/multicast traffic allowed).

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.
Console> (enable)

Related Commands

set port broadcast
show port broadcast

clear port cops

Use the clear port cops command set to clear port roles.

clear port cops mod/port roles role1 [role2]...

clear port cops mod/port all-roles

Syntax Description

mod/port

Number of the module and the port on the module.

roles role#

Keyword and variable to specify the roles to clear.

all-roles

Keyword to clear all roles.


Defaults

This command has no default setting.

Command Types

Switch command.

Command Modes

Privileged.

Usage Guidelines

The clear port cops command detaches the roles from the port only; it does not remove them from the global table.

Examples

This example shows how to remove specific roles from a port:

Console> (enable) clear port cops 3/1 roles backbone_port main_port
Roles cleared for port(s) 3/1-4.
Console> (enable)

This example shows how to remove all roles from a port:

Console> (enable) clear port cops 3/1 all-roles
All roles cleared for port 3/1-4.
Console> (enable)

Related Commands

set port cops
show port cops

clear port qos cos

Use the clear port qos cos command to return the values set by the set port qos cos command to the factory-set default values for all specified ports.

clear port qos mod/ports.. cos

Syntax Description

mod/ports..

Number of the module and ports on the module.


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 cos command to the factory-set default values for module 2, port 1:

Console> (enable) clear port qos 2/1 cos
Port 2/1 qos cos setting cleared.
Console> (enable) 

Related Commands

set port qos cos
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

Number of the module and the port on the module.

mac_addr

MAC address to be deleted.

all

Keyword to remove all MAC addresses.


Defaults

This command has no default setting.

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.
Console> (enable) 

Related Commands

set port securityy
show port security

clear pvlan mapping

Use the clear pvlan mapping command set to delete a private VLAN mapping.

clear pvlan mapping {primary_vlan}{isolated_vlan | community_vlan}{mod/port}

clear pvlan mapping {mod/port}

Syntax Description

primary_vlan

Number of the primary VLAN.

isolated_vlan

Number of the isolated VLAN.

community_vlan

Number of the community VLAN.

mod/port

Number of the module and promiscuous port.


Defaults

This command has no default setting.

Command Types

Switch command.

Command Modes

Privileged.

Usage Guidelines

If you do not specify the mapping to clear, all the mappings of the specified promiscuous ports are cleared.

Examples

This example shows how to clear the mapping of VLAN 902 to 901, previously set on ports 3/2-5:

Console> (enable) clear pvlan mapping 901 902 3/2-5
Successfully cleared mapping between 901 and 902 on 3/2-5 
Console> (enable) 

Related Commands

set vlan
show vlan
set pvlan
set pvlan mapping
clear vlan
clear config pvlan
show pvlan
show pvlan mapping

clear qos acl

Use the clear qos acl command set to remove various ACL configurations.

clear qos acl acl_name [editbuffer_index]

clear qos acl default-action {ip | ipx | mac | all}

clear qos acl map {acl_name} {mod/port | vlan}

clear qos acl map {acl_name | mod/port | vlan | all}

Syntax Description

acl_name

Unique name that identifies the list to which the entry belongs.

editbuffer_index

(Optional) ACE position in the ACL.

default-action

Keyword to remove default actions.

ip

Keyword to clear IP ACE default actions.

ipx

Keyword to clear IPX ACE default actions.

mac

Keyword to clear MAC-layer ACE default actions.

all

Keyword to clear all ACE default actions.

map

Keyword to detach an ACL.

mod/port

Number of the module and the port on the module.

vlan

Number of the VLAN.

all

Keyword to detach an ACL from all interfaces.


Defaults

The default is no ACLs are attached.

Command Types

Switch command.

Command Modes

Privileged.

Usage Guidelines

Changes you make by entering this command are saved to NVRAM and hardware only after you enter the commit command.

Use the show qos acl editbuffer command to display the ACL list.

Examples

This example shows how to detach an ACL from all interfaces:

Console> (enable) clear qos acl map my_acl all
Hardware programming in progress...
ACL my_acl is detached from all interfaces.
Console> (enable) 

This example shows how to detach an ACL from a specific VLAN:

Console> (enable) clear qos acl map ftp_acl 4
Hardware programming in progress...
ACL ftp_acl is detached from vlan 4.
Console> (enable) 

This example shows how to delete a specific ACE:

Console> (enable) clear qos acl my_ip_acl 1
ACL my_ip_acl ACE# 1 is deleted.
my_ip_acl editbuffer modified. Use `commit' command to apply changes.
Console> (enable) 

This example shows how to delete an ACL:

Console> (enable) clear qos acl my_ip_acl
ACL my_ip_acl is deleted.
my_ip_acl editbuffer modified. Use `commit' command to apply changes.
Console> (enable) 

This example shows how to detach a specific ACL from all interfaces:

Console> (enable) clear qos acl map my_acl all
Hardware programming in progress...
ACL my_acl is detached from all interfaces.
Console> (enable) 

This example shows how to detach a specific ACL from a specific VLAN:

Console> (enable) clear qos acl map ftp_acl 4
Hardware programming in progress...
ACL ftp_acl is detached from vlan 4.
Console> (enable) 

This example shows how to delete IP ACE default actions configured by the set qos acl default-action command:

Console> (enable) clear qos acl default-action ip
Hardware programming in progress...
QoS default-action for IP ACL is restored to default setting.
Console> (enable) 

Related Commands

show qos acl editbuffer
commit
rollback

clear qos config

Use the clear qos config command to return the values set by the set qos command to the factory-set default values and delete the CoS assigned to MAC addresses.

clear qos config

Syntax Description

This command has no arguments or keywords.

Defaults

The default is QoS is disabled.

Command Types

Switch command.

Command Modes

Privileged.

Examples

This example shows how to return the values set by the set qos command to the factory-set 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
QoS config cleared.
Console> (enable) 

Related Commands

set qos
show qos info

clear qos cos-dscp-map

Use the clear qos cos-dscp-map command to clear CoS-to-DSCP mapping set by the set qos cos-dscp-map command and return to the default setting.

clear qos cos-dscp-map

Syntax Description

This command has no arguments or keywords.

Defaults

The default CoS-to-DSCP configuration is listed in Table 2-1.

Table 2-1 CoS-to-DSCP Default Mapping

CoS

0

1

2

3

4

5

6

7

DSCP

0

8

16

24

32

40

48

56


Command Types

Switch command.

Command Modes

Privileged.

Examples

This example shows how to clear the CoS-to-DSCP mapping table:

Console> (enable) clear qos cos-dscp-map
QoS cos-dscp-map setting restored to default.
Console> (enable) 

Related Commands

set qos cos-dscp-map
show qos maps

clear qos dscp-cos-map

Use the clear qos dscp-cos-map command to clear DSCP-to-CoS mapping set by the set qos dscp-cos-map command and return to the default setting.

clear qos dscp-cos-map

Syntax Description

This command has no arguments or keywords.

Defaults

The default DSCP-to-CoS configuration is listed in Table 2-2.

Table 2-2 DSCP-to-CoS Default Mapping

DSCP

0 to 7

8 to 15

16 to 23

24 to 31
32 to 39
40 to 47
48 to 55
56 to 63
CoS

0

1

2

3

4

5

6

7


Command Types

Switch command.

Command Modes

Privileged.

Examples

This example shows how to clear the DSCP-to-CoS mapping table:

Console> (enable) clear qos dscp-cos-map
QoS dscp-cos-map setting restored to default.
Console> (enable) 

Related Commands

set qos dscp-cos-map
show qos maps

clear qos ipprec-dscp-map

Use the clear qos ipprec-dscp-map command to reset the mapping set by the set qos ipprec-dscp-map command to the default setting.

clear qos ipprec-dscp-map

Syntax Description

This command has no arguments or keywords.

Defaults

The default IP precedence-to-DSCP configuration is listed in Table 2-3.

Table 2-3 IP Precedence-to-DSCP Default Mapping

IPPREC

0

1

2

3

4

5

6

7

DSCP

0

8

16

24

32

40

48

56


Command Types

Switch command.

Command Modes

Privileged.

Examples

This example shows how to clear the IP precedence-to-DSCP mapping table:

Console> (enable) clear qos ipprec-dscp-map
QoS ipprec-dscp-map setting restored to default.
Console> (enable) 

Related Commands

set qos ipprec-dscp-map
show qos maps


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

Number of the 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 setting.

Command Types

Switch command.

Command Modes

Privileged.

Usage Guidelines

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 factory-set default values for all MAC address and VLAN pairs:

Console> (enable) clear qos mac-cos all
All CoS to Mac/Vlan entries are cleared.
Console> (enable) 

This example shows how to clear the values set by the set qos mac-cos command and return to the factory-set 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.
Console> (enable) 

Related Commands

set qos mac-cos
show qos mac-cos

clear qos map

Use the clear qos map command to return the values to the factory-set default values.

clear qos map port_type tx | rx

Syntax Description

port_type

Port type; valid values are 2q2t and 1p2q2t for transmit and 1p1q4t for receive.

tx | rx

Keyword to specify the transmit or receive queue.


Defaults

The default mappings for all ports are shown in Table 2-4 and Table 2-5 and applies to all ports.

Table 2-4 Default Transmit Queue and Drop Threshold Mapping of CoS Values

Port Type
Drop Threshold Type
Low Delay (Queue 2)
High Delay (Queue 1)
Priority Delay (Queue 3)

2q2t

Low drop (Threshold 2)

7, 6

3, 2

N/A

High drop (Threshold 1)

5, 4

1, 0

N/A

1p2q2t

Low drop (Threshold 2)

7

3, 2

N/A

High drop (Threshold 1)

5, 4

1, 0

5


Table 2-5 Default Receive Drop Threshold Mapping of CoS Values

Port Type
Threshold 1
(highest drop possibility)
Threshold 2
Threshold 3
Threshold 4
(lowest drop possibility)
Priority Queue

1q4t

0, 1

2, 3

4, 5

6, 7

N/A

1p1q4t

0, 1

2, 3

4, 5

7

6


Command Types

Switch command.

Command Modes

Privileged.

Examples

This example shows how to return the values to the factory-set default values:

Console> (enable) clear qos map 2q2t
This command will take map values back to factory default.
QoS map cleared.
Console> (enable) 

Related Commands

set qos map
show qos maps

clear qos policed-dscp-map

Use the clear qos policed-dscp-map to reset the policer-to-dscp mapping table to the defaults.

clear qos policed-dscp-map

Syntax Description

This command has no arguments or keywords.

Defaults

The default is the identity function; for example, DSCP 63 to policed DSCP 63 and DSCP 62 to policed DSCP 62.

Command Types

Switch command.

Command Modes

Privileged.

Examples

This example shows how to reset the mapping to the defaults:

Console> (enable) clear qos policed-dscp-map
QoS policed-dscp-map setting restored to default.
Console> (enable) 

Related Commands

set qos policed-dscp-map
show qos maps

clear qos policer

Use the clear qos policer command set to clear policing rules from NVRAM.

clear qos policer microflow microflow_name | all

clear qos policer aggregate aggregate_name | all

Syntax Description

microflow microflow_name

Keyword and variable to specify the name of the microflow policing rule.

aggregate aggregate_name

Keyword and variable to specify the name of the aggregate policing rule.

all

Keyword to clear all policing rules.


Defaults

This command has no default setting.

Command Types

Switch command.

Command Modes

Privileged.

Usage Guidelines

Policing is the process by which the switch limits the bandwidth consumed by a flow of traffic. Policing can mark or drop traffic.

You cannot clear an entry that is currently being used in an ACE. You must first detach the ACEs from the interface.

You cannot use the all keyword if a microflow rate limit is currently being used in an ACE.

Examples

This example shows how to clear a specific microflow policing rule:

Console> (enable) clear qos policer microflow my_micro 
my_micro QoS microflow policer cleared.
Console> (enable) 

This example shows how to clear all microflow policing rules:

Console> (enable) clear qos policer microflow all
All QoS microflow policers cleared.
Console> (enable) 

This example shows how to clear a specific aggregate policing rule:

Console> (enable) clear qos policer microflow my_micro 
my_micro QoS microflow policer cleared.
Console> (enable) 

This example shows how to clear all aggregate policing rules:

Console> (enable) clear qos policer aggregate all
All QoS aggregate policer cleared.
Console> (enable)

Related Commands

set qos policer
show qos policer

clear qos statistics

Use the clear qos statistics command to clear QoS statistic counters.

clear qos statistics

Syntax Description

This command has no arguments or keywords.

Defaults

This command has no default setting.

Command Types

Switch command.

Command Modes

Privileged.

Examples

This example shows how to clear the QoS statistic counters:

Console> (enable) clear qos statistics
QoS statistical cleared.
Console> (enable)

Related Commands

show qos statistics

clear radius

Use the clear radius command set to clear one or all of the RADIUS servers from the RADIUS server table.

clear radius server all

clear radius server ipaddr

clear radius key

Syntax Description

server

Keyword to specify RADIUS servers.

all

Keyword to specify all RADIUS servers.

ipaddr

Number of the IP address or IP alias.

key

Keyword to specify the RADIUS shared key.


Defaults

This command has no default setting.

Command Types

Switch command.

Command Modes

Privileged.

Usage Guidelines

ipaddr is an IP alias or an IP address in dot notation; for example, 101.102.103.104.

Examples

This example shows how to clear the RADIUS key:

Console> (enable) clear radius key
Radius server key cleared.
Console> (enable) 

This example shows how to clear a specific RADIUS server from the RADIUS server table:

Console> (enable) clear radius server 128.56.45.32
128.56.45.32 cleared from radius server table.
Console> (enable) 

Related Commands

set radius key
set radius server
show radius

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 setting.

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 
RGMP statistics cleared.
Console> (enable)

Related Commands

show rgmp statistics
set rgmp

clear security acl

Use the clear security acl command set to remove a specific ACE or all ACEs from an ACL and delete the ACLs from the edit buffer.

clear security acl all

clear security acl acl_name

clear security acl acl_name [editbuffer_index]

Syntax Description

all

Keyword to remove ACEs for all the ACLs.

acl_name

Name of the VACL whose ACEs are to be removed.

editbuffer_index

(Optional) Index number of the ACE in the ACL.


Defaults

This command has no default setting.

Command Types

Switch command.

Command Modes

Privileged.

Usage Guidelines

Changes you make by entering this command are saved to NVRAM and hardware only after you enter the commit command.

Use the show security acl command to display the ACL list.

Examples

This example shows how to remove ACEs for all the ACLs:

Console> (enable)