Installation and User Manual
EtherHaul
1200™
Page 82
EH-INST-02, Issue 4.0
7.1.2
Metering and Coloring
7.1.2.1
Configuring Meter
This is an optional mechanism (only for use in cases in which classifier-evc is configured)
to control and limit the traffic (committed rate and peak rate).
If a meter was defined for the classifier, the packet is internally colored (Green or
Yellow) or dropped (Red) based on the following:
CIR -Committed Information Rate [Mbps]. Represents the amount of credit the
meter should receive each time interval.
EIR – Excess Information Rate [Mbps]. Exceeding limitations of credits for each
time interval.
CBS - Committed Burst Size [bytes].
EBS - Excess Burst Size [bytes].
Color-aware mode is supported for ingress S-VLAN packets only (based on MEF
definitions).
Use the following command to configure a meter:
set meter <meter-id: 1..248> [cir <0..1000>] [cbs <1522..50000>]
[eir <0..1000>] [ebs <1522..100000>] [color-mode < aware|blind>]
The following is an example of configuring a meter with 5Mbps CIR and 15Mbps EIR:
# meter configuring
set meter 1 cir 5 cbs 9600 eir 15 ebs 100000 color-mode blind
Figure
7-4 Meter Setup
7.1.2.2
Binding Classifier and Meter
Use the following command to bind specific configured classifier-evc to CoS (queue) and
Meter:
set ingress-qos <evc-id:1..31> <cos-id:0..7> [meter <id: 0..248>]
[marking <enable|disable>]
The following is an example of binding the meter (configured above) to an evc and cos:
# ingress-qos configuring
set ingress-qos 5 5 meter 1 marking enable