3com 8807 User Guide
![3com](https://files.manualsbrain.com/attachments/960452ff43b9899cbcffced60c87abf956e7967a/common/fit/150/50/f6ac125d7af2cf40fec58935fa6d4bf71457a57efe50bee91208a434f325/brand_logo.jpeg)
VLAN-VPN Tunnel Configuration
857
Network diagram
Figure 202 Configure VLAN-VPN tunnel
Configuration procedure
1 Configure switch A.
# Enable RSTP.
[Switch_A] stp enable
# Set the port to a trunk port and allow the packets of VLAN 10 to pass the port.
[Switch_A] vlan 10
[Switch_A-Ethernet0/1] port link-type trunk
[Switch_A-Ethernet0/1] port trunk permit vlan 10
2 Configure switch B.
# Enable RSTP.
[Switch_B] stp enable
# Set the port to a trunk port and allow the packets of VLAN 10 to pass the port.
[Switch_B] vlan 10
[Switch_B-Ethernet0/1] port link-type trunk
[Switch_B-Ethernet0/1]port trunk permit vlan 10
3 Configure switch C.
# Enable MSTP.
[Switch_C] stp enable
# Enable VLAN-VPN tunnel.
[Switch_C] vlan-vpn tunnel
# Add Ethernet4/1/1 to VLAN 20.
Switch D
VLAN 10
E 3/1/1
E0/1
Switch B
E0/1
Switch A
Switch C
VLAN 10
E 4/1/2
E 4/1/3
E 3/1/3
VLAN 20
VLAN 20
E 4/1/1
E 3/1/2
Switch D
VLAN 10
E 3/1/1
E0/1
Switch B
E0/1
Switch A
Switch C
VLAN 10
E 4/1/2
E 4/1/3
E 3/1/3
VLAN 20
VLAN 20
E 4/1/1
E 3/1/2