Alcatel-Lucent 7210 SAS Series Quality Of Service Manual page 324

Service access switch, os
Table of Contents

Advertisement

Service Meter QoS Policy Commands
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 — Note: trtcm2 supported only on 7210 SAS-D. 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
green if it doesn't exceed the CBS, yellow if it does exceed the CBS, but not the MBS, and red
otherwise. The srTCM is useful, for example, for ingress policing of a service, where only the length,
not the peak rate, of the burst determines service eligibility.
rate
Syntax
rate cir cir-rate-in-kbps [pir pir-rate-in-kbps]
no rate
Context
config>qos>sap-ingress>meter
Description
This command defines the administrative PIR and CIR parameters for the meter.
The rate command can be executed at anytime, altering the PIR and CIR rates for all meters created through
the association of the SAP Ingress QoS policy with the meter-id.
The no form of the command returns all meters created with the meter-id by association with the QoS policy
to the default PIR and CIR parameters (max, 0).
Default
rate cir 0 pir max — The max default specifies the amount of bandwidth in kilobits per second (thousand
bits per second). The max value is mutually exclusive to the pir-rate value.
Parameters
cir cir-rate-in-kbps — The cir parameter overrides the default administrative CIR used by the meter. When
the rate command has not been executed or the cir parameter is not explicitly specified, the default CIR
(0) is assumed.
Fractional values are not allowed and must be given as a positive integer.
Page 334
7210 SAS D, E, K OS Quality of Service Guide

Advertisement

Table of Contents
loading

This manual is also suitable for:

7210 sas k7210 sas d7210 sas e

Table of Contents