![Alied Telesis GS970M/10 Скачать руководство пользователя страница 989](http://html1.mh-extra.com/html/alied-telesis/gs970m-10/gs970m-10_command-reference-manual_2896773989.webp)
C613-50163-01 Rev C
Command Reference for GS970M Series
989
AlliedWare Plus™ Operating System - Version 5.4.7-0.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 30-4:
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