Counting Packets and Bytes

When the ACL (Access Control List) 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

The maximum number of packets that can be counted with token packet-count or count is 18,446,744,073,709,551,616. The maximum number of bytes that can be counted with byte-count is also 18,446,744,073,709,551,616, which is equivalent to 288,230,376,151,711,744 packets that are sized at 64 bytes.
Note

Note

Each packet increments 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 work.