When you create ACL rules, the
count parameter enables you to display counter statistics.
-
Enter the configure terminal
command to access global configuration mode.
device# configure terminal
-
Enter the
mac access-list command to create or modify an access list.
device(config)# mac access-list standard mac_acl_1
-
In each rule for which you need to display statistics, include the
count keyword.
device(conf-mac1-std)# seq 100 deny 0022.3333.4444 count
-
If you have not yet applied the ACL to the appropriate interface, do so now.
-
(Optional) To display ACL counter statistics, enter the
show statistics access-list command.