CLI Reference Guide-R04

Table Of Contents
Chapter 10
| Access Control Lists
ACL Information
– 402 –
Related Commands
permit, deny (400)
ACL Information
This section describes commands used to display ACL information.
clear access-list
hardware counters
This command clears the hit counter for the rules in all ACLs, or for the rules in a
specified ACL.
Syntax
clear access-list hardware counters
[direction {in | out} [interface interface]] |
[interface interface]
clear access-list hardware counters name acl-name
[direction {in | out} [interface interface]]
in – Clears counter for ingress rules.
out – Clears counter for egress rules.
interface
ethernet unit/port
unit - Unit identifier. (Range: 1)
port - Port number. (Range: 1-28)
acl-name – Name of the ACL. (Maximum length: 32 characters)
Command Mode
Privileged Exec
Example
Console#clear access-list hardware counters
Console#
Table 73: ACL Information Commands
Command Function Mode
clear access-list hardware
counters
Clears hit counter for rules in all ACLs, or in a specified ACL. PE
show access-group Shows the ACLs assigned to each port PE
show access-list Show all ACLs and associated rules PE