Operation Manual – VLAN-VPN
H3C S3100 Series Ethernet Switches
Chapter 3 VLAN Mapping Configuration
3-3
Operation
Command
Description
Enable the VLAN
mapping function
vlan-mapping enable
Required
By default, the VLAN
mapping function is
disabled.
Note:
z
A port that is in a link aggregation port group cannot have the VLAN Mapping
feature enabled.
z
The VLAN mapping function and the protocol-based VLAN function are mutually
exclusive on the same port.
z
Enabling the VLAN mapping function based on a global VLAN mapping rule for a
port also enables the selective QinQ function on the port.
3.2.3 Enabling the VLAN Mapping Function Based on a Port-level VLAN
Mapping Rule
Table 3-3
Enable the VLAN mapping function based on a port-level VLAN mapping
rule
Operation
Command
Description
Enter system view
system-view
—
Enter Ethernet port
view
interface interface-type
interface-number
—
Define a VLAN
mapping rule
vlan-mapping vlan
old-vlan-id remark
new-vlan-id
Required
This command also enables the
VLAN mapping function for the
port.
By default, no VLAN mapping rule
is defined, and the VLAN
mapping function is not enabled
on a port.