Specifications
2-116
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release IOS XE 3.3.0XO(15.1(1)XO)
OL_28738-01
Chapter 2 Cisco IOS Commands for the Catalyst 4500 Series Switches
clear qos
clear qos
To clear the global and per-interface a ggregate 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 T his command has no default settings.
Command Modes Privileged EXEC mode
Usage Guidelines W hen 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#
Related Commands
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-c ha nne l number (Optional) Specifies the channel interface; valid values are from 1 to 64.
Command Description
show qos Displays QoS information.