211
Figure 61
Two-to-two VLAN mapping implementation
General configuration restrictions and guidelines
When you configure VLAN mapping, follow these restrictions and guidelines:
•
When you configure one-to-two VLAN mapping on a QinQ-enabled port, the switch operates as
follows:
{
If a packet matches the one-to-two VLAN mapping, the switch tags the packet with the SVLAN
that is specified in the VLAN mapping.
{
If a packet does not match the one-to-two VLAN mapping, the switch tags the packet with the
PVID.
•
When you configure one-to-one or many-to-one VLAN mapping on a QinQ-enabled port, the
switch operates as follows:
{
If a packet matches the one-to-one or many-to-one VLAN mapping, the switch replaces the
CVLAN tag with the SVLAN tag specified in the VLAN mapping.
{
If a packet does not match the one-to-one or many-to-one VLAN mapping, the switch tags the
packet with the PVID.
For more information about QinQ, see "
."
•
To add or replace VLAN tags for packets, you can configure both VLAN mapping and a QoS
policy. The QoS policy takes effect if a configuration conflict occurs. For information about QoS
policies, see
ACL and QoS Configuration Guide
.
•
VLAN mapping is mutually exclusive with EVB. Do not enable both features on a port. For more
information, see
EVB Configuration Guide
.
VLAN mapping configuration task list
IMPORTANT:
Use the VLAN mapping methods as appropriate to the roles of your devices in the network.
To configure VLAN mapping:
Tasks at a glance
Remarks
Configuring one-to-one VLAN mapping
Configure one-to-one VLAN mapping on the
wiring-closet switch as shown in
Network-side port
Customer-side port
Uplink traffic
Downlink traffic
Customer
network
SP network
SVLAN
Data
CVLAN
SVLAN
Data
CVLAN
Two-to-two VLAN
mapping
Data
CVLAN’
SVLAN’
Data
CVLAN’
SVLAN’