R3303-HP HSR6800 Routers Layer 2 - LAN Switching Configuration Guide

187
Task Remarks
Configuring an uplink policy Configures an uplink policy for the customer-side port (required).
Configuring the customer-side port
Configures VLAN and other settings required for one-to-two VLAN
mapping (required).
Configuring the network-side port
Configures VLAN and other settings required for one-to-two VLAN
mapping (required).
Configuration prerequisites
Create VLANs, and plan CVLAN-to-SVLAN mappings.
Configuring an uplink policy
To configure an uplink policy to insert an SVLAN to VLAN tagged packets:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Configure a class for a
CVLAN.
a. Create a class and enter
class view:
traffic classifier tcl-name
[ operator { and | or } ]
b. Configure CVLAN match
criteria:
if-match customer-vlan-id
{ vlan-list | vlan-id1 to
vlan-id2 }
c. Return to system view:
quit
N/A
3. Configure one behavior for
an SVLAN.
a. Create a traffic behavior
and enter traffic behavior
view:
traffic behavior
behavior-name
b. Add a VLAN nest action to
insert an outer VLAN tag
into incoming packets from
the CVLAN or CVLANs:
nest top-most vlan-id
vlan-id
c. Return to system view:
quit
Repeat this step to configure one
behavior for each SVLAN.
4. Create a QoS policy and
enter QoS policy view.
qos policy policy-name N/A
5. Associate the class with the
behavior.
classifier tcl-name behavior
behavior-name mode
dot1q-tag-manipulation
Repeat this step to create
class-behavior associations for
other CVLANs.