3
VLAN Mapping Configuration Commands
This chapter is only applicable to S3100-EI series switches.
VLAN Mapping Configuration Commands
vlan-mapping
Syntax
vlan-mapping vlan old-vlan-id remark new-vlan-id
undo vlan-mapping vlan old-vlan-id
View
System view, Ethernet port view
Parameter
vlan old-vlan-id: Specifies the source VLAN ID for VLAN mapping. The old-vlan-id argument is in the
range of 1 to 4094.
remark new-vlan-id: Specifies the target VLAN ID for VLAN mapping. The new-vlan-id argument is in
the range of 1 to 4094.
Description
Use the vlan-mapping command in system view to define a global VLAN mapping rule. A VLAN
mapping rule maps the VLAN tag of a specific VLAN carried in packets to another one.
Use the vlan-mapping command in Ethernet port view to define a VLAN mapping rule for the current
port and enable the VLAN mapping function for the port.
Use the undo vlan-mapping command in system view to invalidate a VLAN mapping rule.
Use the undo vlan-mapping command in Ethernet port view to invalidate a VLAN mapping rule and
disable the VLAN mapping function on the current port.
3-1