Page 20 | AlliedWare Plus™ OS: Overview of QoS
Counting policed packets
To see the count of policed packets:
1. Turn on the QoS counters enhanced mode by entering global configuration mode and
using the command:
awplus(config)#platform enhancedmode qoscounters
2. Restart the switch
3. Return to privileged exec mode and use the command:
awplus#show mls qos interface <name> policer-counters
Counting packets for ordinary policers
For each class map, the output shows the total (aggregate) number of bytes, and the number
of bytes of each colour. It also shows the number of bytes dropped by the policer. Dropped
bytes will equal red bytes if the policer has an exceed action of drop, otherwise it will always
be zero. That is, the dropped bytes counter only counts the packets that are dropped by the
policer, not packets that are dropped by later mechanisms such as RED curves.
The following figure shows output for the example from "Applying ordinary policers to class
maps" on page 17.
Interface: port1.0.20
Class-map: default
Aggregate Bytes: 0
Green Bytes: 0
Yellow Bytes: 0
Red Bytes: 0
Dropped Bytes: 0
Class-map: vlan2
Aggregate Bytes: 0
Green Bytes: 0
Yellow Bytes: 0
Red Bytes: 0
Dropped Bytes: 0