Clears the specified access list counters.
dynamic | Specifies that the counter is from a dynamic ACL (Access Control List). |
countername | Specifies the ACL counter to clear. |
any | Specifies the wildcard ACL. |
port_list | Specifies to clear the counters on these ports. |
vlan_name | Specifies to clear the counters on the VLAN (Virtual LAN). |
ingress | Clear the ACL counter for packets entering the switch on this interface. |
egress | Clear the ACL counter for packets leaving the switch from this interface. |
The default direction is ingress; the default ACL type is non-dynamic.
Use this command to clear the ACL counters. If you do not specify an interface, or the any option, you will clear all the counters.
The following example clears all the counters of the ACL on port 2:1:
clear access-list counter port 2:1
The following example clears the counter counter2 of the ACL on port 2:1
clear access-list counter counter2 port 2:1
This command was first available in ExtremeXOS 10.1.
The vlan option was first available in ExtremeXOS 11.0.
The egress and dynamic options were first available in ExtremeXOS 11.3.
This command is available on the Summit X450-G2, X460-G2, X670-G2, X770, and ExtremeSwitching X440-G2, X620, X690, X870 series switches.