SGS-6341-Series User Manual

Table Of Contents
20-86
The configuration on Switch B is similar to that on Switch A and 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 Q-in-Q Troubleshooting
Selective Q-in-Q 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.
Application and configuration of VLAN translation will be explained in details in this section.
20.4.2 VLAN Translation Configuration
Configuration task sequence of VLAN translation:
1. Configure the VLAN translation function on the port
2. Configure the VLAN translation relations on the port
3. Configure whether the packet is dropped when VLAN translation fails
4. Show the related configuration of VLAN translation
User’s Manual of SGS-6341 series