CLI Reference Guide-R07

Table Of Contents
Chapter 10
| Access Control Lists
ACL Information
– 355 –
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 [interface interface]] |
[interface interface] | [name acl-name]
in – Clears counter for ingress rules.
interface
ethernet unit/port
unit - Unit identifier. (Range: 1)
port - Port number. (Range: 1-10/28)
acl-name – Name of the ACL. (Maximum length: 32 characters)
Command Mode
Privileged Exec
Example
Console#clear access-list hardware counters
Console#
show access-group This command shows the port assignments of ACLs.
Command Mode
Privileged Executive
Example
Console#show access-group
Interface ethernet 1/2
Table 70: 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