Alcatel-Lucent 7210 SAS-R6 OS Quality Of Service Manual page 300

Service access switch
Table of Contents

Advertisement

Service Meter QoS Policy Commands
If the packet burst is higher than MBS then packets are marked as red are dropped by the meter.
The no form of this command returns the MBS size assigned to the meter to the value.
Default
default
Parameters
size-in-kbits — This parameter is an integer expression of the maximum number of Kilobits of buffering
allowed for the meter. For example, for a value of 100 KBits, enter the value 100.
Values
Values
mode
Syntax
mode {trtcm1 | trtcm2 | srtcm}
no mode
Context
config>qos>sap-ingress>meter
Description
This command defines the mode of the meter. The mode can be configured as Two Rate Three Color Marker
(trTCM1) or Single Rate Three Color Marker (srTCM). The mode command can be executed at anytime.
Note:
1. The meter counters are reset to zero when the meter mode is changed.
2. For more information on the interpretation of rate parameters when the meter mode is configured as
"trtcm2", refer to the command description of the policer rate command.
The no form of the command sets the default mode trtcm1.
Default
trtcm1
Parameters
trtcm1 — Implements the policing algorithm defined in RFC2698. Meters the packet stream and marks its
packets either green, yellow, or red. A packet is marked red if it exceeds the PIR. Otherwise, it is
marked either yellow or green depending on whether it exceeds or doesn't exceed the CIR. The trTCM1
is useful, for example, for ingress policing of a service, where a peak rate needs to be enforced
separately from a committed rate. Two token buckets are used, the CBS bucket and the MBS bucket.
Tokens are added to the buckets based on the CIR and PIR rates. The algorithm deducts tokens from
both the CBS and the MBS buckets to determine a profile for the packet.
trtcm2 — Implements the policing algorithm defined in RFC4115. Meters the packet stream and marks its
packets either green, yellow, or red. A packet is marked red if it exceeds the PIR. Otherwise, it is
marked either yellow or green depending on whether it exceeds or does not exceed the CIR. The trtcm2
is useful, for example, for ingress policing of a service, where a peak rate needs to be enforced
separately from a committed rate. Two token buckets are used, the CBS bucket and the EBS bucket.
Tokens are added to the buckets based on the CIR and EIR rates. The algorithm deducts tokens from
either the CBS bucket (that is, when the algorithm identifies the packet as in-profile or green packet) or
the EBS bucket (that is,when the algorithm identifies the packet as out-of-profile or yellow packet).
Note: In this mode, the value of the PIR rate configured by the user is used as the policer's EIR rate.
srtcm — Meters an IP packet stream and marks its packets either green, yellow, or red. Marking is based on
a CIR and two associated burst sizes, a CBS and an Maximum Burst Size (MBS). A packet is marked
Page 300
7210 SAS-X and 7210 SAS-R6 OS Quality of Service Guide
4
2146959, default

Advertisement

Table of Contents
loading

This manual is also suitable for:

7210 sas-x

Table of Contents