3Com Switch 8800 Family Configuration Guide
858 CHAPTER 76: QINQ CONFIGURATION
[Switch_C] vlan 20
[Switch_C-Vlan20] port Ethernet4/1/1
[Switch_C-Vlan20] quit
# Disable the STP protocol and enable VLAN-VPN on Ethernet4/1/1.
[Switch_C] interface Ethernet4/1/1
[Switch_C-Ethernet4/1/1] stp disable
[Switch_C-Ethernet4/1/1] vlan-vpn enable
[Switch_C-Ethernet4/1/1] quit
# Add Ethernet4/1/2 to VLAN 20.
[Switch_C] vlan 20
[Switch_C-Vlan20] port Ethernet4/1/3
[Switch_C-Vlan20] quit
# Disable the STP protocol and enable VLAN-VPN on Ethernet4/1/2.
[Switch_C] interface Ethernet4/1/2
[Switch_C-Ethernet4/1/2] stp disable
[Switch_C-Ethernet4/1/2] vlan-vpn enable
[Switch_C-Ethernet4/1/2] quit
# Set Ethernet4/1/3 to a trunk port and add this port to all the VLANs.
[Switch_C] interface Ethernet4/1/3
[Switch_C-Ethernet4/1/3] port link-type trunk
[Switch_C-Ethernet4/1/3] port trunk permit vlan all
4 Configure switch D.
# Enable MSTP.
[Switch_D] stp enable
# Enable VLAN-VPN tunnel.
[SW8800] vlan-vpn tunnel
# Add Ethernet3/1/1 to VLAN 20.
[Switch_D] vlan 20
[Switch_D-Vlan20] port Ethernet3/1/1
[Switch_D-Vlan20] quit
# Disable the STP protocol and enable VLAN-VPN on Ethernet3/1/1.
[Switch_D] interface Ethernet3/1/1
[Switch_D-Ethernet3/1/1] stp disable
[Switch_D-Ethernet3/1/1] vlan-vpn enable
[Switch_D-Ethernet3/1/1] quit
# Add Ethernet3/1/2 to VLAN 20.
[Switch_D] vlan 20
[Switch_D-Vlan20] port Ethernet3/1/2
[Switch_D-Vlan20] quit