Operation Manual – VLAN-VPN
H3C S3100 Series Ethernet Switches
Chapter 1 VLAN-VPN Configuration
1-6
II. Network diagram
TPID=0x9200
VLAN 1040
Eth1/0/11
Eth1/0/12
Eth1/0/21
Eth1/0/22
VLAN 100
VLAN 200
PC User
Terminal User
SwitchA
SwitchB
VLAN 100
VLAN 200
PC Server
Terminal Server
Figure 1-4
Network diagram for VLAN-VPN configuration
III. Configuration procedure
z
Configure Switch A.
# Enable the VLAN-VPN feature on Ethernet 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 Ethernet 1/0/11
[SwitchA-vlan1040] quit
[SwitchA] interface Ethernet 1/0/11
[SwitchA-Ethernet1/0/11] vlan-vpn enable
[SwitchA-Ethernet1/0/11] quit
# Set the global TPID value to 0x9200 (for intercommunication with the devices in the
public network) and configure Ethernet 1/0/12 as a trunk port permitting packets of
VLAN 1024.
[SwitchA] vlan-vpn tpid 9200
[SwitchA] interface Ethernet 1/0/12
[SwitchA-Ethernet1/0/12] port link-type trunk
[SwitchA-Ethernet1/0/12] port trunk permit vlan 1040
z
Configure Switch B.