4 vlan-translation troubleshooting, 5 multi-to-one vlan translation configuration, 1 introduction to multi-to-one vlan translation – PLANET WGSW-52040 User Manual
Page 168: 2 multi-to-one vlan translation configuration, 4 vlan-translation troubleshooting -90, Ulti, Vlan, Ranslation, Onfiguration, 2 multi-to-one vlan translation configuration -90
![background image](https://www.manualsdir.com/files/865181/content/doc168.png)
switch(Config)#interface ethernet 1/1
switch(Config-Ethernet1/1)#switchport mode trunk
switch(Config-Ethernet1/1)# vlan-translation enable
switch(Config-Ethernet1/1)# vlan-translation 20 to 3 in
switch(Config-Ethernet1/1)# vlan-translation 3 to 20 out
switch(Config-Ethernet1/1)# exit
switch(Config)#interface ethernet 1/10
switch(Config-Ethernet1/10)#switchport mode trunk
switch(Config-Ethernet1/10)#exit
switch(Config)#
Note: this switch only supports the in direction.
20.4.4 VLAN-translation Troubleshooting
Normally the VLAN-translation is applied on trunk ports.
Normally before using the VLAN-translation, the dot1q-tunnel function needs to be enabled
first, to adapt double tag data packet processes VLAN-translation.
When configuration vlan-translation of the egress, make sure native vlan of the port is not
identical with pvid of the packet. Otherwise, the tag of the packet will be stripped in advance
and the transform of vid cannot be completed.
QoS only matches vlan-id that the packet is translated when vlan-translation and QoS be
configured at the same time.
20.5 Multi-to-One VLAN Translation Configuration
20.5.1 Introduction to Multi-to-One VLAN Translation
Multi-to-One VLAN translation, it translates the original VLAN ID into the new VLAN ID
according to user’s requirement on uplink traffic, and restores the original VLAN ID on
downlink traffic.
Application and configuration of Multi-to-One VLAN translation will be explained in detail in this
section.
20.5.2 Multi-to-One VLAN Translation Configuration
20-90