A10E/A28E/A28F Configuration Guide
2.4.2 Preparing for configurations
Scenario
Different from QinQ, VLAN mapping is to change the VLAN Tag without encapsulating
multilayer VLAN Tag so that packets are transmitted according to the carrier's VLAN
mapping rules. VLAN mapping does not increase the frame length of the original packet. It
can be used in the following scenarios:
A user service needs to be mapped to a carrier's VLAN ID.
Multiple user services need to be mapped to a carrier's VLAN ID.
Prerequisite
Before configuring VLAN mapping,
Connect the interface and configure its physical parameters to make it Up.
Create a VLAN.
2.4.3 Configuring 1:1 VLAN mapping
Configure 1:1 VLAN mapping as below.
Enter global configuration mode.
Alpha-
A28E(config)#interface
port
port-id
Enter physical layer interface configuration
mode.
Alpha-A28E(config-
port)#switchport vlan-
mapping [ egress |
ingress ]
cvlan-list
translate
vlan-id
Configure interface-based 1:1 VLAN
mapping rules in the ingress or egress
direction.
2.4.4 Configuring N:1 VLAN mapping
Configure N:1 VLAN mapping as below.
Enter global configuration mode.
Alpha-A28E(config)#interface port
port-id
Enter physical layer interface
configuration mode.
Alpha-A28E(config-
port)#switchport vlan-mapping
both n-to-1
cvlan-list
translate
svlan-id
Configure rules of Tag-based N:1
VLAN mapping rules.