DXS-3600 Series 10GbE Layer 2/3 Switch CLI Reference Guide
648
Command Mode
Interface Configuration Mode.
Command Default Level
Level: 12
Usage Guideline
This command can be configured on physical ports or link aggregation groups. This
command specifies the VLAN translation or selective QinQ rule on 801.1q tunnel or
trunk port.
If the
dot1q-tunnel
parameter is specified in this command, the rule is selective
QinQ. 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.
You can specify a VLAN range to map multiple original VLANs to single S-VLAN.
The selective QinQ shall be configured on 802.1q tunnel port. Otherwise, the rule will
not take effect (its status is inactive).
If the translated VLAN parameter is specified in this command, the rule performs
VLAN translation. Once the VLAN tag of the incoming packet matches the specified
original VLAN, the specified S-VLAN replaces original VLAN. The VLAN translation
is one-to-one mapping, i.e. you cannot configure multiple original VLANs map to
single S-VLAN. The VLAN translation can be configured on both 802.1q tunnel or
trunk port.
Optional, you can configure 2:1 VLAN translation rule by specified original inner
VLAN parameter. In this case, the outer and inner tag of the incoming packets is
used to match the VLAN translation rule. The outer VLAN of the matched packet is
replaced by translated service VLAN and the original inner VLAN is no modified.
Moreover, you can configure 2:2 VLAN translation rule by specified inner-vlan
parameter. In this case, the original inner VLAN of the matched packet will be
replaced by the specified new inner VLAN too. Usually, the 2:1 and 2:2 VLAN
translations are configured on trunk port.
If configured rule to translate an original VLAN to an S-VLAN, you shall not configure
rule to translate other original VLAN to the S-VLAN, or configure selective QinQ rule
bundling C-VLANs to the S-VLAN, vice versa.
If there is no VLAN mapping rule that match the incoming tagged packet, and the
vlan mapping drop
is enabled on the port, the packet will be dropped. If the
vlan
mapping drop
is disabled, the port-based service VLAN will be assigned for the no
matched packet.
Adding a port into a link aggregation group will lead to the VLAN mapping
configuration on this member port is cleaned.
Example
This example shows how to set VLAN translation on port 1. C-VLAN 1 is translated
to S-VLAN 101, C-VLAN 2 is translated to S-VLAN 102 and C-VLAN 3 is translated
to S-VLAN 103.
DXS-3600-32S#configure terminal
DXS-3600-32S(config)#interface tenGigabitEthernet 1/0/1
DXS-3600-32S(config-if)#switchport mode dot1q-tunnel
DXS-3600-32S(config-if)#switchport vlan mapping 1 100
DXS-3600-32S(config-if)#switchport vlan mapping 2 102
DXS-3600-32S(config-if)#switchport vlan mapping 3 103
DXS-3600-32S(config-if)#
Содержание DXS-3600-16S
Страница 1: ...CLI Reference Guide Product Model DXS 3600 Series Layer 2 3 Managed 10GbE Switch Release 1 10 ...
Страница 232: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 224 ...
Страница 301: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 293 ...
Страница 349: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 341 ...
Страница 494: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 486 ...
Страница 564: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 556 ...
Страница 649: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 641 ...