
17-59
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
Switch(config)#interface ethernet 1/5
Switch(Config-If-Ethernet1/5)# switchport mode trunk
17.2.2 show vlan-translation n-to-1
Command:
show vlan-translation n-to-1 [<
interface-name>
]