Counting Packets and Bytes

When the ACL entry match conditions are met, the specified counter is incremented.
The counter value can be displayed by the command:
show access-list counter {countername} {any | ports port_list | vlan vlan_name} {ingress | egress}

Summit family switches can use ACL byte counters as an alternative to ACL packet counters. See ACL Byte Counters for more information.

Note

Note

On Summit family switches, the maximum number of packets that can be counted with token packet-count or count is 4,294,967,296. On the same switches, the maximum number of bytes that can be counted with byte-count is also 4,294,967,296 which is equivalent to 67,108,864 packets that are sized at 64 bytes.
Note

Note

Each packet will increment only one counter in the egress direction. When there are multiple ACLs with action "count" applied in the port, only single counter based on the slice priority will work.