Step
3.
Configure one
CVLAN marking
action for a local
SVLAN and
foreign CVLAN
pair.
4.
Create a QoS
policy and enter
QoS policy view.
5.
Associate the class
with the behavior.
Configuring a downlink policy for the customer-side port
The downlink policy on the customer-side port replaces local SVLAN and CVLAN pairs with foreign
SVLAN and CVLAN pairs.
To configure a downlink policy for the customer-side port:
Step
1.
Enter system view.
2.
Create one class
for a local CVLAN
and SVLAN pair.
3.
Create one VLAN
marking behavior
for a local CVLAN
and SVLAN pair.
Command
a.
Create a traffic behavior and enter
traffic behavior view:
traffic behavior behavior-name
b.
Configure a CVLAN marking action
to replace the foreign CVLAN ID with
a local CVLAN ID:
remark customer-vlan-id vlan-id
c.
Return to system view:
quit
qos policy policy-name
classifier tcl-name behavior behavior-name
Command
system-view
a.
Create a class and enter class view:
traffic classifier tcl-name [ operator
and ]
b.
Specify a local CVLAN as a match
criterion:
if-match customer-vlan-id vlan-id
c.
Specify a local SVLAN as a match
criterion:
if-match service-vlan-id vlan-id
d.
Return to system view:
quit
a.
Create a traffic behavior and enter
traffic behavior view:
traffic behavior behavior-name
b.
Configure a CVLAN marking action
to replace the local CVLAN ID with a
foreign CVLAN ID:
remark customer-vlan-id vlan-id
c.
Configure an SVLAN marking action
to replace the local SVLAN ID with a
foreign SVLAN ID:
remark service-vlan-id vlan-id
d.
Return to system view:
quit
194
Remarks
Repeat this step to configure one
CVLAN marking action for each
local SVLAN and foreign CVLAN
pair.
N/A
Repeat this step to create other
class-behavior associations.
Remarks
N/A
Repeat this step to create one class
for each local CVLAN and SVLAN
pair.
Repeat this step to create one
VLAN marking behavior for each
local CVLAN and SVLAN pair.