clear counters policy

clear counters policy


Clears policy rule usage statistics.

Syntax Description

This command has no arguments or variables.



Usage Guidelines

This command resets the counters on each rule to zero and clears the rule usage.

To see a list of used rules, use the port-hit option with the command show policy rule port-hit {data} {detail} {wide}.


The following example clears policy rule usage statistics:

# clear counters policy
# show policy rule port-hit
No entries found.


This command was first available in ExtremeXOS 30.2.

Platform Availability

This command is available on ExtremeSwitching X435, X440-G2, X450-G2, X460-G2, X465, X590, X620, X670-G2, X690, X695, X870, 5320, 5420, and 5520 series switches.