EtherHaul Operation, Administration and Maintenance Manual
Page 85
If EVC is defined, the EVC and CoS represents the entry in the marking table (for
metering and coloring)
classifier-cos configuring:
set classifier-cos <classifier-id {1..248}> [interface
<host|eth0|eth1|eth2|eth3|eth4>] [precedence <1..8>] [vid <0..4094>] [pcp
<0..7>] [ip-cos <{dscp-cos | mpls-exp} <0..7>} | dont-care>] [packet-type
<unicast|non-unicast|all> [cos <0..7>]
classifier-evc configuring:
set classifier-evc <classifier-id {1..248}> [interface
<host|eth0|eth1|eth2|eth3|eth4>] [precedence <1..8>] [vid <0..4094>] [pcp
<0..7>] [ip-cos <{dscp-cos | mpls-exp} <0..7>} | dont-care>] [packet-type
<unicast|non-unicast|all> [evc<0..31>]
Meter configuration:
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 a classifier, the packet is either dropped or internally colored:
Green or Yellow.
BW profiles per EVC:
CIR – Committed Information Rate.
EIR – Excess Information Rate.
CBS, EBS - size of burst window for allowed CIR / EIR rates.
Coloring:
Green – traffic within CIR (and CBS) is colored green.
Yellow – traffic exceeding CIR but within EIR (and EBS) is colored yellow.
Traffic exceeding CIR+EIR rate is unconditionally discarded.
In case of congestion, when green packet arrives, the oldest yellow packet is discarded
(head-drop).
Meter configuration:
set meter <meter-id {1..248}> [cir <0..1000>] [cbs <1522..50000>] [eir
<0..1000>] [ebs <1522..100000>] [color-mode <aware | blind>]
binding meter and classifier:
set ingress-qos <evc-id {0..31}> <cos-id {0..7}> [meter <0..248>]
[marking <enable | disable>]