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:
To do...
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
Create a QoS policy and
8.
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:
To do...
1.
Enter system view
2.
Create a class and enter class
view
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).
Use the 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
Use the command...
system-view
traffic classifier tcl-name
[ operator { and | or } ]
183
Figure
58) to isolate traffic by both user
Remarks
—
Required.
Repeat these steps to configure
one class for each CVLAN.
Required.
Repeat these steps to configure
one behavior for each SVLAN.
Required.
Required.
Repeat these steps to create other
CVLAN-to-SVLAN mappings.
Remarks
—
Required.