Show mls qos interface policer-counters – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual
Page 1045

QoS Commands
Software Reference for x310 Series Switches
C613-50046-01 REV A
AlliedWare Plus
TM
Operating System - Version 5.4.4C
39.39
show mls qos interface policer-counters
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.
Note that these 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.
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.
Example
To show the counters for all class-maps attached to port1.0.1, use the command:
Output
Figure 39-4: Example output from show mls qos interface policer-counters
This output shows a policer configured with remarking through ‘
action remark-
transmit
’, so although bytes are marked as Red, none are dropped. Therefore, the
‘
Non-dropped Bytes
’ field shows a summation of Green/Yellow and Red bytes.
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
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