C613-50631-01 Rev A Command Reference for IE340 Series 1997
AlliedWare Plus™ Operating System - Version 5.5.3-0.x
IPV4 HARDWARE ACCESS CONTROL LIST (ACL) COMMANDS
SHOW
ACCESS-LIST COUNTERS
show access-list counters
Overview Use this command to show the number of packets that match one or all of your
hardware ACLs. Every time a hardware ACL allows or drops a packet, its counter
increments. This lets you check your ACL configuration.
Syntax
show access-list counters [<acl>]
Mode User Exec and Privileged Exec
Usage notes This command displays the counter values since the last time they were cleared. To
clear the counter values, enter the command clear access-list counters.
To accurately measure the number of packet hits per ACL, you need to read the
counters for all ACLs frequently.
Example To show the number of packets that match all hardware ACLs, use the following
command:
awplus# show access-list counters
Output Figure 38-1: Example output from show access-list counters
Output Figure 38-2: Example output from show access-list counters ACL-1
Parameter Description
<acl> Display the number of packets that match only the specified ACL.
You can enter the ACL name or number.
awplus#show access-list countersď€
Hardware ACL Packet Countersď€
ď€
ACL-1ď€
Packet Hits: 17ď€
ACL-2ď€
Packet Hits: 0ď€
ACL-3ď€
Packet Hits: 1
awplus#show access-list counters ACL-1ď€
Hardware ACL Packet Countersď€
ď€
ACL-1ď€
Packet Hits: 17