To clear QoS counters for a specified interface, use the
clear qos counters
interface
command in EXEC mode.
clear
qos
counters
interface
type
[ input | output ]
Syntax Description
|
type
|
Interface type. For more information, use the question mark (?) online help
function.
|
|
input
|
(Optional) Clears input QoS counters that are attached to the specified
interface.
|
|
output
|
(Optional) Clears output QoS counters that are attached to the specified
interface.
|
Command Default
No default behavior or values
Command History
|
Release
|
Modification
|
|
Release 3.7.2
|
This command was introduced.
|
|
Release 3.9.0
|
The
interface
keyword was added.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
The
clear qos counters interface
command clears all input and
output QoS counters that are attached to a specified interface, unless the
input
or
output
keyword is
specified. If the
input
or
output
keyword is specified, only counters attached to the interface in a specified direction
are cleared.
The MIB counters are not reset with this command.
Task ID
|
Task ID
|
Operations
|
|
qos
|
read, write
|
Examples
The following example shows how to clear QoS counters attached to Gigabit Ethernet
interface 0/1/0/9:
RP/0/RSP0/CPU0:router# clear qos counters interface gigabitethernet 0/1/0/9
The following example shows how to clear output QoS counters attached to POS interface
0/7/0/3:
RP/0/RSP0/CPU0:router# clear qos counters interface pos 0/7/0/3 output