2-128
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release IOS XE 3.4.0SG and IOS 15.1(2)SG)
OL-27596 -01
Chapter 2 Cisco IOS Commands for the Catalyst 4500 Series Switches
clear qos
clear qos
To clear the global and per-interface aggregate QoS counters, use the clear qos command.
clear qos [aggregate-policer [name] | interface {{fastethernet | GigabitEthernet}
{mod/interface}} | vlan {vlan_num} | port-channel {number}]
Syntax Description
Defaults This command has no default settings.
Command Modes Privileged EXEC mode
Command History
Usage Guidelines This command is not supported on the Supervisor Engine 6-E and the Catalyst 4900M chassis.
Note When you enter the clear qos command, the way that the counters work is affected and the traffic that
is normally restricted could be forwarded for a short period of time.
The clear qos command resets the interface QoS policy counters. If no interface is specified, the clear
qos command resets the QoS policy counters for all interfaces.
Examples This example shows how to clear the global and per-interface aggregate QoS counters for all the
protocols:
Switch# clear qos
Switch#
This example shows how to clear the specific protocol aggregate QoS counters for all the interfaces:
Switch# clear qos aggregate-policer
Switch#
aggregate-policer name (Optional) Specifies an aggregate policer.
interface (Optional) Specifies an interface.
fastethernet (Optional) Specifies the Fast Ethernet 802.3 interface.
GigabitEthernet (Optional) Specifies the Gigabit Ethernet 802.3z interface.
mod/interface (Optional) Number of the module and interface.
vlan vlan_num (Optional) Specifies a VLAN.
port-channel number (Optional) Specifies the channel interface; valid values are from 1 to 64.
Release Modification
12.1(8a)EW Support for this command was introduced on the Catalyst 4500 series switch.