H3C LS-3100-52P-OVS-H3 Operation Manual - page 194
1-10
To do...
Use the command...
Remarks
Create a traffic behavior and
enter traffic behavior view
traffic behavior
behavior-name
Required
Specify the SVLAN for the
VLAN mapping
remark service-vlan-id
vlan-id-value
Required
Exit to system view
quit
—
Create a QoS policy and enter
QoS policy view
qos policy policy-name
Required
Map the CVLANs to the SVLAN
by associating the traffic class
with the traffic behavior
classifier tcl-name behavior
behavior-name mode
dot1q-tag-manipulation
Required
Exit to system view
quit
—
Configuring Two-to-Two VLAN Mapping
In two-to-two VLAN mapping, the outer VLAN and the inner VLAN carried in a double-tagged uplink
frame received at the downlink port on the edge device of an SP network are called the original SVLAN
and CVLAN, and the VLANs that the edge device substitutes for the original SVLAN and CVLAN are
called the new SVLAN and CVLAN.
Perform two-to-two VLAN mapping on the edge device that connects two SP networks, on Device C in
Figure 1-2
for example.
Follow these steps to configure a two-to-two VLAN mapping:
To do...
Use the command...
Remarks
Enter system view
system-view
—
Configure an uplink policy for the uplink
port to replace the original CVLAN with
the new CVLAN
Refer to
Table 1-4
. Required
Configure an uplink policy for the
downlink port to replace the original
SVLAN with the new SVLAN
Refer to
Table 1-5
. Required
Configure a downlink policy for the
downlink port to replace the new
SVLAN and CVLAN with the original
SVLAN and CVLAN
Refer to
Table 1-6
. Required
Enter the interface view of the downlink
port
interface interface-type
interface-number
—
Configure the downlink port as a trunk
port
port link-type trunk
Required