clear ip access-list counters
To clear the counters for all IPv4 access control lists (ACLs) or a single IPv4 ACL, use the clear ip access-list
counters command.
clear ip access-list counters [ access-list-name ]
Syntax Description
(Optional) Name of the IPv4 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
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 ACLs:
switch# clear ip access-list counters
switch#
This example shows how to clear counters for an IP ACL named acl-ipv4-101:
switch# clear ip access-list counters acl-ipv4-101
switch#
Related Commands
DescriptionCommand
Clears counters for IPv4, IPv6, and MAC ACLs.clear access-list counters
Clears counters for IPv6 ACLs.clear ipv6 access-list counters
Clears counters for MAC ACLs.clear mac access-list counters
Clears counters for VACLs.clear vlan access-list counters
Cisco Nexus 7000 Series Security Command Reference
85
C Commands
clear ip access-list counters