C613-50631-01 Rev A Command Reference for IE340 Series 2154
AlliedWare Plus™ Operating System - Version 5.5.3-0.x
QOS COMMANDS
SHOW
MLS QOS INTERFACE POLICER-COUNTERS
show mls qos interface policer-counters
Overview This command displays an interface’s policer counters. This can either be for a
specific class-map or for all class-maps attached to the interface. If no class-map is
specified then all class-map policer counters attached to the interface are
displayed.
Syntax
show mls qos interface <port> policer-counters [class-map
<class-map>]
Mode User Exec and Privileged Exec
Usage Note that:
• The hardware does not record distinct counters for the number of Green or
Yellow bytes, so the field marked Green/Yellow is the summation of bytes
that have been marked Green or Yellow by the meter.
• The counters are based on metering performed on the specified class-map.
Therefore, the ‘Dropped Bytes’ counter is the number of bytes dropped due
to metering. This is different from packets dropped via a ‘deny’ action in the
ACL. If a policer is configured to perform re-marking, bytes can be marked
Red but are not dropped, and is shown with a value of 0 for the Dropped field
and a non-0 value for the ‘Red Bytes’ field.
Example To show the counters for all class-maps attached to port1.0.1, use the command:
awplus# show mls qos interface port1.0.1 policer-counters
Output Figure 42-5: Example output from show mls qos interface policer-counters on
a port
Parameter Description
<port> Switch port.
class-map Select a class-map.
<class-map> Class-map name.
awplus#show mls qos interface port1.0.1 policer-counters
Interface: port1.0.1
Class-map: default
Green/Yellow Bytes: 0
Red Bytes: 0
Dropped Bytes: 0
Non-dropped Bytes: 0
Class-map: cmap1
Green/Yellow Bytes: 1290
Red Bytes: 0
Dropped Bytes: 0
Non-dropped Bytes: 1290