Reference Guide

Quality of Service (QoS) | 1191
Related
Commands
clear qos statistics
c e s
Clears Matched Packets, Matched Bytes, and Dropped Packets. For TeraScale, clears Matched
Packets, Matched Bytes, Queued Packets, Queued Bytes, and Dropped Packets.
Syntax
clear qos statistics interface-name.
Parameters
Defaults
No default behavior or values
Command Modes
EXEC
EXEC Privilege
Command
History
Usage
Information
E-Series Only Behavior
If a Policy QoS is applied on an interface when clear qos statistics is issued, it will clear the egress
counters in show queue statistics and vice versa. This behavior is due to the values being read
from the same hardware registers.
The clear qos statistics command clears both the queued and matched byte and packet counters if
the queued counters incremented based on classification of packets to the queues because of
policy-based QoS. If the queued counters were incremented because of some other reason and do not
reflect a matching QoS entry in CAM, then this command clears the matched byte and packet counters
only.
Related
Commands
ip access-list extended Configure an extended IP ACL.
ip access-list standard Configure a standard IP ACL.
match ip access-group Configure the match criteria based on the access control list (ACL)
match ip precedence Identify IP precedence values as match criteria
match ip dscp Configure the match criteria based on the DSCP value
match mac access-group Configure a match criterion for a class map, based on the contents of the
designated MAC ACL.
match mac dot1p Configure a match criterion for a class map, based on a dot1p value.
match mac vlan Configure a match criterion for a class map based on VLAN ID.
service-queue Assign a class map and QoS policy to different queues.
show qos class-map View the current class map information.
interface-name
Enter one of the following keywords:
For a 1-Gigabit Ethernet interface, enter the keyword
GigabitEthernet followed by the slot/port information.
For a 10-Gigabit Ethernet interface, enter the keyword
TenGigabitEthernet followed by the slot/port information.
Version 7.6.1.0 Introduced on S-Series
Version 7.5.1.0 Introduced on C-Series
pre-Version 6.1.1.1 Introduced on E-Series
show qos statistics Display qos statistics.