clear access-list counters
To clear the counters for all IPv4, IPv6, and MAC access control lists (ACLs) or a single ACL, use the clear
access-list counters command.
clear access-list counters [ access-list-name ]
Syntax Description
(Optional) Name of the ACL whose counters the
device clears. The name can be up to 64
alphanumeric, case-sensitive characters.
access-list-name
Command Default
None
Command Modes
Any command mode
Command History
ModificationRelease
Added support for clearing IPv6 ACL counters.4.1(2)
This command was introduced.4.0(1)
Usage Guidelines
This command does not require a license.
Examples
This example shows how to clear counters for all IPv4, IPv6, and MAC ACLs:
switch# clear access-list counters
switch#
This example shows how to clear counters for an IPv4 ACL named acl-ipv4-01:
switch# clear access-list counters acl-ipv4-01
switch#
Related Commands
DescriptionCommand
Clears counters for IPv4 ACLs.clear ip access-list counters
Clears counters for IPv6 ACLs.clear ipv6 access-list counters
Clears counters for MAC ACLs.clear mac access-list counters
Cisco Nexus 7000 Series Security Command Reference
58
C Commands
clear access-list counters