C613-50170-01 Rev B
Command Reference for x510 Series
1657
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
Q
O
S C
OMMANDS
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 40-5:
Example output from
show mls qos interface policer-counters
Parameter
Description
<
port
>
Switch port.
class-map
Select a class-map.
<
class-map
>
Class-map name.
awplus#show mls qos int 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: 1629056
Red Bytes: 7003200
Dropped Bytes: 0
Non-dropped Bytes: 8632256