EtherHaul Operation, Administration and Maintenance Manual
Page 86
Color-Aware mode for S-VLANs
Color-aware mode is supported for ingress S-VLAN packets only (based on MEF
definitions).
The DEI (Drop Eligible Indicator) bit in S-Tag is used for Color encoding:
DEI =‘0’
Green
DEI =‘1’
Yellow
For incoming colored S-VLAN packets, the drop precedence is determined by the DEI bit
(and not according to the metering result).
Colored packets are transmitted with the color (DEI bit) they came in with.
9.8.3
PCP Rewrite
PCP Rewriting capability allows you to set the outer PCP value of an outgoing frame as a
function of COS.
The PC-Write-Profile table is a set of profiles where each profile is a single mapping
between eight COS values to eight PCP values - so it can be represented by eight values
in the range 0-7. Each profile is identified by a profile ID.
In addition, the rewrite-profile attribute is available for each eth. The attribute value
can be set to NULL or a valid profile ID. A non-Null value causes a frame’s PCP to be
written accordingly prior to the frame being sent on an external port. When no value is
set the default value is “no profiles defined”. The maximum number of profiles is 128.
Rewrite PCP on frames going to eth1 with the cos value
set pcp-write-profile 1 0 1 2 3 4 5 6 7 // profile that maps each
cos to the pcp of same numerical value
set pcp-write-profile 1 XX 1 2 3 4 5 6 7 8
set eth eth1 pcp-write-profile-id 1 // let port 1 operate
with PCP rewrite.
To cancel PCP rewrite
set eth eth1 pcp-write-profile-id none
Note:
PCP Rewrite configuration supported in the CLI only.