2 commands for multi-to-one vlan translation, 1 vlan-translation n-to-1, Ommands for – PLANET WGSW-52040 User Manual

Page 290: Ulti, Vlan, Ranslation, 1 vlan-translation n-to-1 -59

Advertising
background image

17-59

17.2 Commands for Multi-to-One VLAN Translation

17.2.1 vlan-translation n-to-1

Command:

vlan-translation n-to-1 <WORD> to <new-vlan-id>

no vlan-translation n-to-1 <WORD>

Function:

Enable/disable Multi-to-One VLAN translation of the port.

Parameters:

WORD is the original VLAN ID, its range from 1 to 4094, connect them with ‘;’ and ‘-’. If there are two VLANs with

different range are translated into different VLAN ID in the same port, two VLAN ranges should not be superposed.

new-vlan-id is the translated VLAN ID, its range from 1 to 4094.

Command Mode:

Port mode

Default:

Disable

Usage Guide:

Multi-to-One VLAN translation is used to network edge to map multiple VLANs to one VLAN of backbone network.

When data traffic returns from backbone network to network edge, it will restore VLAN of network edge to implement

Multi-to-One VLAN translation and save VLAN resource of backbone network. Note: When using this function, the

device must establish the original and the translated VLAN firstly, and enabling the downlink port of this function and

the uplink port for connecting backbone network, which must be join in the original and the translated VLAN with

tagged mode. This function should not be used with dot1q-tunnel and VLAN translation at the same time

Note: Multi-to-One VLAN translation should be enabled after MAC learning.

Example:

On Ethernet 1/1, translate the data traffic from VLAN with the range between 1 to 5 into VLAN 100, and translate

the data traffic (belongs to VLAN with the range between 1 to 5) out from VLAN100 into the corresponding VLAN ID,

connect the uplink port of the backbone network as Ethernet 1/5.

Switch(config)#vlan 1-5;100

Switch(config)#interface ethernet 1/1

Switch(Config-If-Ethernet1/1)# switchport mode trunk

Switch(Config-If-Ethernet1/1)# vlan-translation n-to-1 1-5 to 100

Advertising