CLI Reference Guide-R02

Table Of Contents
Chapter 10
| Access Control Lists
ACL Information
– 389 –
Example
Console#show access-list arp
ARP access-list factory:
permit response ip any 192.168.0.0 255.255.0.0 mac any any
Console#
Related Commands
permit, deny (387)
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[direction in]]
in – Clears counter for ingress rules.
ethernet unit/port
unit - Unit identifier. (Range: 1)
port - Port number. (Range: 1-18)
acl-name – Name of the ACL. (Maximum length: 32 characters)
Command Mode
Privileged Exec
Example
Console#clear access-list hardware counters
Console#
Table 72: 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