Task
Configuring the network-side port
Configuring an uplink policy for the customer-side port
The uplink policy on the customer-side port modifies the SVLAN ID of incoming traffic.
To configure an uplink policy for the customer-side port:
Step
1.
Enter system view.
2.
Create a class and enter
class view.
3.
Specify a foreign CVLAN
as a match criterion.
4.
Specify a foreign SVLAN
as a match criterion.
5.
Return to system view.
6.
Create a traffic behavior
and enter traffic behavior
view.
7.
Configure an SVLAN
marking action to replace
the foreign SVLAN ID with
a local SVLAN ID.
8.
Return to system view.
9.
Create a QoS policy and
enter QoS policy view.
10.
Associate the class with
the behavior.
NOTE:
If you do not need to replace the SVLAN tags, skip these steps.
Configuring an uplink policy for the network-side port
The uplink policy on the network-side port modifies the CVLAN ID of incoming traffic.
To configure an uplink policy for the network-side port:
Step
1.
Enter system view.
Description
Required
Configure VLAN and other settings required for two-to-two VLAN
mapping.
Command
system-view
traffic classifier tcl-name [ operator
and ]
if-match customer-vlan-id vlan-id
if-match service-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
Command
system-view
184
Remarks
N/A
Repeat these steps to create one
class for each foreign CVLAN and
SVLAN pair.
Repeat these steps to configure one
SVLAN marking action for each
CVLAN and SVLAN pair.
N/A
Repeat this step to create other
class-behavior associations.
Remarks
N/A