Command Manual (For Soliton) – VLAN-VPN
H3C S3100 Series Ethernet Switches
Chapter 3 VLAN Mapping Configuration Commands
3-2
By default, no global VLAN mapping rule or port-level VLAN mapping rule is defined.
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
To modify a VLAN mapping relationship, you need to delete the corresponding
VLAN mapping rule and then define a new one.
z
With a global VLAN mapping rule defined in system view, you cannot define any
VLAN mapping rules in Ethernet port view.
Related commands:
vlan-mapping enable
.
Example
# Define a VLAN mapping rule on Ethernet 1/0/1 to map VLAN 100 to VLAN 200.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] interface Ethernet 1/0/1
[Sysname-Ethernet1/0/1]vlan-mapping vlan 100 remark 200
3.1.2 vlan-mapping enable
Syntax
vlan-mapping enable
undo vlan-mapping enable
View
Ethernet port view
Parameter
None
Description
Use the
vlan-mapping enable
command to enable the VLAN mapping function on a
port based on global VLAN mapping rules.
Use the
undo vlan-mapping enable
command to disable the VLAN mapping function
on a port.