Task
Configuring two-to-two VLAN mapping
Configuring one-to-one VLAN mapping
Perform one-to-one VLAN mapping on wiring-closet switches (see
and traffic type.
Perform these tasks to configure one-to-one VLAN mapping:
Task
Configuring an uplink policy
Configuring a downlink policy
Configuring the customer-side port
Configuring the network-side port
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:
Step
1.
Enter system view.
2.
Create a class and enter class
view.
3.
Specify a CVLAN as the
match criterion.
4.
Return to system view.
5.
Create a traffic behavior and
enter traffic behavior view.
6.
Configure an SVLAN marking
action.
7.
Return to system view.
8.
Create a QoS policy and
enter QoS policy view.
9.
Associate the class with the
behavior to map the CVLAN
to the SVLAN.
Configuring a downlink policy
To configure a downlink policy to map SVLANs back to CVLANs:
Switch role
Edge switch between SP networks
Description
Creates CVLAN-to-SVLAN mappings (required).
Creates SVLAN-to-CVLAN mappings (required).
Configures settings required for one-to-one VLAN mapping (required).
Configures VLAN settings required for normal communication (required).
Command
system-view
traffic classifier tcl-name [ operator
{ and | or } ]
if-match customer-vlan-id vlan-id
quit
traffic behavior behavior-name
remark service-vlan-id vlan-id
quit
qos policy policy-name
classifier tcl-name behavior
behavior-name
179
Figure
56) to isolate traffic by both user
Remarks
N/A
Repeat these steps to configure one
class for each CVLAN.
Repeat these steps to configure one
behavior for each SVLAN.
N/A
Repeat this step to create other
CVLAN-to-SVLAN mappings.