DXS-3600 Series Layer 3 Managed 10Gigabit Ethernet Switch CLI Reference Guide
1321
Switch(config-if)#
115-4
switchport vlan mapping
This command is used to specify the VLAN translation entry for a trunk port or to specify the service
VLAN mapping entry for a dot1q tunnel port. Use the
no
command to remove the VLAN translation entry
or the service VLAN mapping entry.
switchport vlan mapping original-vlan ORIGINAL-VLAN [, | -] {[ORIGINAL-INNER-VLAN]
resultant–vlan RESULTANT-VLAN [RESULTANT-INNER-VLAN] | dot1q-tunnel DOT1Q-TUNNEL-
VLAN} [priority COS-VALUE]
no switchport vlan mapping original-vlan ORIGINAL-VLAN [, | -] [ORIGINAL-INNER-VLAN]
Parameters
ORIGINAL-VLAN
Specifies the original VLAN ID that will be matched for incoming
packets. The range is from 1 to 4094.
ORIGINAL-INNER-VLAN
(Optional) Specifies that the original inner VLAN is used to match the
inner VID for incoming packets on the trunk mode port. The range is
from 1 to 4094.
RESULTANT-VLAN
Specifies the translated service VLAN ID. The range is from 1 to 4094.
The service VLAN will replace the original VLAN for matched packets.
RESULTANT-INNER-VLAN
(Optional) Specifies the new inner VLAN that will replace original inner
VLAN on trunk mode port.
DOT1Q-TUNNEL-VLAN
Specifies the service VLAN ID that will be added for matched packets
on the dot1q-tunnel mode port.
COS-VALUE
(Optional) Specifies the priority for the rule. If not specified, the priority
of the service VLAN tag will be set to 0.
,
(Optional) Specifies a series of VLANs, or separate a range of VLANs
from a previous range. No space is allowed before and after the
comma.
-
(Optional) Specifies a range of VLANs. No space is allowed before and
after the hyphen.
Default
None.
Command Mode
Interface Configuration Mode.
Command Default Level
Level: 12.
Usage Guideline
The command only takes effect for the port or port-channel that is set to 802.1Q tunnel mode or trunk
mode.
If the
dot1q-tunnel
parameter is specified in this command, once the C-VLAN tag of the incoming packet
matches the specified original VLAN, the specified S-VLAN is added to make the packet becomes double
tagged. Specify a VLAN range to map multiple original VLANs to single S-VLAN. This rule can be
configured on an 802.1Q tunnel port. Otherwise, the rule will not take effect (its status is inactive).
Summary of Contents for DXS-3600 Series
Page 1: ......
Page 423: ...DXS 3600 Series Layer 3 Managed 10Gigabit Ethernet Switch CLI Reference Guide 418 ...
Page 548: ...DXS 3600 Series Layer 3 Managed 10Gigabit Ethernet Switch CLI Reference Guide 543 ...
Page 673: ...DXS 3600 Series Layer 3 Managed 10Gigabit Ethernet Switch CLI Reference Guide 668 ...
Page 712: ...DXS 3600 Series Layer 3 Managed 10Gigabit Ethernet Switch CLI Reference Guide 707 Switch ...
Page 845: ...DXS 3600 Series Layer 3 Managed 10Gigabit Ethernet Switch CLI Reference Guide 840 ...
Page 884: ...DXS 3600 Series Layer 3 Managed 10Gigabit Ethernet Switch CLI Reference Guide 879 ...
Page 1152: ...DXS 3600 Series Layer 3 Managed 10Gigabit Ethernet Switch CLI Reference Guide 1147 ...