4 selective qinq troubleshooting, 4 vlan-translation configuration, 1 introduction to vlan-translation – PLANET WGSW-52040 User Manual

Page 165: 4 selective qinq troubleshooting -87, Vlan, Translation, Onfiguration, 1 introduction to vlan-translation -87

Advertising
background image

switch(config-if-ethernet1/2)#interface ethernet 1/9

switch(config-if-ethernet1/9)#switchport mode hybrid

switch(config-if-ethernet1/9)#switchport hybrid allowed vlan 1000;2000 tag

After the above configuration, packets of VLAN 100 through VLAN 200 from Ethernet1/1 are

automatically tagged with the tag of VLAN 1000 as the outer VLAN tag, and packets of VLAN

201 through VLAN 300 from Ethernet1/2 are automatically tagged with the tag of VLAN 2000

as the outer VLAN tag on SwitchA.

The configuration on Switch B is similar to that on Switch A, the configuration is as follows:

switch(config)#vlan 1000;2000

switch(config)#interface ethernet 1/1

switch(config-if-ethernet1/1)#switchport mode hybrid

switch(config-if-ethernet1/1)#switchport hybrid allowed vlan 1000 untag

switch(config-if-ethernet1/1)#dot1q-tunnel selective s-vlan 1000 c-vlan 100-200

switch(config-if-ethernet1/1)#dot1q-tunnel selective enable

switch(config-if-ethernet1/1)#interface ethernet 1/2

switch(config-if-ethernet1/2)#switchport hybrid allowed vlan 2000 untag

switch(config-if-ethernet1/2)#dot1q-tunnel selective s-vlan 2000 c-vlan 201-300

switch(config-if-ethernet1/2)#dot1q-tunnel selective enable

switch(config-if-ethernet1/9)#switchport mode hybrid

switch(config-if-ethernet1/9)#switchport hybrid allowed vlan 1000;2000 tag

20.3.4 Selective QinQ Troubleshooting

Selective QinQ and dot1q-tunnel functions should not be configured synchronously

for a port.

20.4 VLAN-translation Configuration

20.4.1 Introduction to VLAN-translation

VLAN translation, as one can tell from the name, which translates the original VLAN ID to new

VLAN ID according to the user requirements so to exchange data across different VLANs.

VLAN translation supports ingress translation, and switch over the VLAN ID at the ingress.

20-87

Advertising