R3102-R3103-HP 6600/HSR6600 Routers Layer 2 - LAN Switching Configuration Guide

190
Configuring one-to-two VLAN mapping
Perform one-to-two VLAN mapping on the edge devices from which customer traffic enters SP networks,
on PE 1 and PE 4 in Figure 65 f
or example. One-to-two VLAN mapping enables the edge devices to
insert an outer VLAN tag to each incoming packet.
Complete the following tasks to configure one-to-two VLAN mapping:
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