To clear the counters for all IPv4 access control lists (ACLs) or a single IPv4 ACL, use the clear access-list counters command.
clear access-list counters [ access-list-name ]
|
access-list-name
|
(Optional) Name of the IPv4 ACL whose counters the switch clears. The name can be a maximum of 64 alphanumeric characters.
|
None
EXEC mode
|
Release
|
Modification
|
|
4.0(0)N1(1a)
|
This command was introduced.
|
This example shows how to clear counters for all IPv4 ACLs:
This example shows how to clear counters for an IPv4 ACL named acl-ipv4-01:
|
Command
|
Description
|
|---|---|
|
access-class
|
Applies an IPv4 ACL to a VTY line.
|
|
ip access-group
|
Applies an IPv4 ACL to an interface.
|
|
ip access-list
|
Configures an IPv4 ACL.
|
|
show access-lists
|
Displays information about one or all IPv4, IPv6, and MAC ACLs.
|
|
show ip access-lists
|
Displays information about one or all IPv4 ACLs.
|