When you create ACL rules, the
count parameter enables you to display counter statistics.
-
Enter
configure terminal to access global configuration mode.
device# configure terminal
-
Enter the
ip access-list command to create or modify an access list.
device(config)# ip access-list standard stdACL3
-
For each ACL rule for which you need to display statistics, include the
count keyword.
device(conf-ipacl-std)# seq 5 permit host 10.20.33.4 count
device(config-ipacl-std)# seq 15 deny any count
-
If you have not yet applied the ACL to the appropriate interface, do so now.