Command Line Reference Guide
Quality of Service (QoS) | 1125
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
match ip access-group
c e s
Configure match criteria for a class map, based on the access control list (ACL).
Syntax
match ip access-group access-group-name [set-ip-dscp value]
To remove ACL match criteria from a class map, enter no match ip access-group
access-group-name [set-ip-dscp value] command.
Parameters
Defaults
No default behavior or values
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.
access-group-name
Enter the ACL name whose contents are used as the match criteria in determining
if packets belong to the class specified by
class-map.
set-ip-dscp value (OPTIONAL) Enter the keyword set-ip-dscp followed by the IP DSCP value.
The matched traffic will be marked with the DSCP value.
Range: 0 to 63










