C
HAPTER
25
| Access Control Lists
ACL Information
– 965 –
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-28/52)
acl-name – Name of the ACL. (Maximum length: 16 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
IP access-list david
Table 105: 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