Show Metering Counters; Clear Metering Counters - Yamaha L2 Command Reference Manual

Intelligent l2 poe swr2311p-10g
Table of Contents

Advertisement

SWR2311P(config-pmap)#exit
SWR2311P(config)#interface port1.1
SWR2311P(config-if)#service-policy input policy1

9.2.35 Show metering counters

[Syntax]
show qos metering-counters [ifname]
[Parameter]
ifname
[Input mode]
unprivileged EXEC mode, priviledged EXEC mode
[Description]
Shows the metering totals for all policers (individual policers / aggregate policers) on the specified LAN/SFP port.
The following totals are shown.
Item
Green Bytes
Yellow Bytes
Red Bytes
The count starts when the policy map is applied to the LAN/SFP port.
[Note]
In order to execute this command, QoS must be enabled.
[Example]
Show the metering totals for LAN port #1.
SWR2311P#show qos metering-counters port1.1
Interface: port1.1(policy1)
****** Individual ******
Class-map
Green Bytes
Yellow Bytes : 0
Red Bytes
****** Aggregate *******
Aggregate-policer: AGP-01
Class-map
Green Bytes
Yellow Bytes : 2048
Red Bytes

9.2.36 Clear metering counters

[Syntax]
clear qos metering-counters [ifname]
[Parameter]
ifname
[Input mode]
priviledged EXEC mode
[Description]
Clears the metering totals for all policers (individual policers / aggregate policers) on the specified LAN/SFP port.
[Note]
In order to execute this command, QoS must be enabled.
:
LAN/SFP port name. If this is omitted, the command applies to all ports.
: class1
: 178345
: 0
: class2
class3
: 28672
: 51552
:
LAN/SFP port name. If this is omitted, the command applies to all ports.
Command Reference | Traffic control | 251
Description
Number of bytes categorized as bandwidth class Green
Number of bytes categorized as bandwidth class Yellow
Number of bytes categorized as bandwidth class Red

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents