R3303-HP HSR6800 Routers Layer 2 - LAN Switching Configuration Guide
180
Configuring one-to-one VLAN mapping
Perform one-to-one VLAN mapping on building devices (see Figure 65) to isolate traffic by both user and
traffic type.
Complete the following tasks to configure one-to-one VLAN mapping:
Task Remarks
Configuring an uplink policy Creates CVLAN-to-SVLAN mappings (required).
Configuring a downlink policy Creates SVLAN-to-CVLAN mappings (required).
Configuring the customer-side port
Configures settings required for one-to-one VLAN mapping
(required).
Configuring the network-side port
Configures VLAN settings required for normal communication
(required).
Configuration prerequisites
Create CVLANs and SVLANs, and plan CVLAN-SVLAN mappings.
Configuring an uplink policy
To configure an uplink policy to map each CVLAN to a unique SVLAN:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Configure one class or a
CVLAN.
a. Create a class and enter
class view:
traffic classifier tcl-name
[ operator { and | or } ]
b. Specify a CVLAN as the
match criterion:
if-match customer-vlan-id
vlan-id
c. Return to system view:
quit
Repeat this step to configure one
class for each CVLAN.
3. Configure one behavior for
an SVLAN.
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
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