
Operation Manual – VLAN-VPN
H3C S5600 Series Ethernet Switches
Chapter 1 VLAN-VPN Configuration
1-5
z
Employ VLAN-VPN on Switch A and Switch B to enable the PC users and PC
servers to communicate with each through a VPN, and employ VLAN-VPN on
Switch A and Switch B to enable the Terminal users and Terminal servers to
communicate with each other through a VPN.
II. Network diagram
Figure 1-4
Network diagram for VLAN-VPN configuration
III. Configuration procedure
z
Configure Switch A.
# Enable the VLAN-VPN feature on GigabitEthernet 1/0/11 of Switch A and tag the
packets received on this port with the tag of VLAN 1040 as the outer VLAN tag.
<SwitchA> system-view
[SwitchA] vlan 1040
[SwitchA-vlan1040] port GigabitEthernet 1/0/11
[SwitchA-vlan1040] quit
[SwitchA] interface GigabitEthernet 1/0/11
[SwitchA-GigabitEthernet1/0/11] vlan-vpn enable
[SwitchA-GigabitEthernet1/0/11] quit
# Set the TPID value of GigabitEthernet 1/0/12 as a trunk port permitting packets of
VLAN 1040.
[SwitchA] interface GigabitEthernet 1/0/12
[SwitchA-GigabitEthernet1/0/12] port link-type trunk
[SwitchA-GigabitEthernet1/0/12] port trunk permit vlan 1040
z
Configure Switch B.