Configuring an uplink policy
To configure an uplink policy to map a group of CVLANs to one SVLAN:
Step
1.
Enter system view.
2.
Configure one class for a
group of CVLANs.
3.
Configure one behavior for
an SVLAN.
4.
Create a QoS policy and
enter QoS policy view.
5.
Map the CVLANs to the
SVLAN by associating the
class with the behavior.
Configuring the customer-side port
Before applying a QoS policy to the customer-side port, enable customer-side QinQ on the port. Before
disabling customer-side QinQ on the customer-side port, remove the QoS policy from the port first.
To configure the customer-side port:
Step
1.
Enter system view.
2.
Enter interface view.
Command
system-view
a.
Create a class and enter
class view:
traffic classifier tcl-name
operator or
b.
Configure multiple
CVLANs as match criteria:
if-match customer-vlan-id
{ vlan-list | vlan-id1 to
vlan-id2 }
c.
Return to system view:
quit
a.
Create a traffic behavior
and enter traffic behavior
view:
traffic behavior
behavior-name
b.
Configure an SVLAN
marking action:
remark service-vlan-id
vlan-id
c.
Return to system view:
quit
qos policy policy-name
classifier tcl-name behavior
behavior-name mode
dot1q-tag-manipulation
Command
system-view
•
Enter Layer 2 Ethernet interface view:
interface interface-type
interface-number
•
Ethernet port group view:
port-group manual port-group-name
188
Remarks
N/A
Repeat this step to configure one
class for each group of CVLANs.
Repeat this step to configure one
behavior for each SVLAN.
N/A
Repeat this step to create other
CVLANs-to-SVLAN mappings.
Remarks
N/A
N/A