Clearing the hit counts for access control entries
Prerequisites
You must be in the manager (#) command context:
switch#
Procedure
To clear the hit counts, enter:
clear access-list hitcounts {all|ip|ipv6|mac}
<ACL-NAME> interface
<ID> [{in|out}]}
Use the
{ip|ipv6|mac}
parameters to clear the hit counts from either IPv4, IPv6 or MAC ACLs.Use the
[<ACL-NAME>]
parameter to clear the hit counts from a specific named ACL.Use the
[interface <ID>]
parameters to clear the hit counts for a specific interface.Use the
[{in|out}]
parameters to clear the hit counts from inbound (ingress) ACLs or outbound (egress) ACLs.
Clearing the hit counts for specified ACLs:
switch# clear access-list hitcounts ip MY_ACL interface 1/1/1 in
Clearing the hit counts for all configured ACLs:
switch# clear access-list hitcounts all