Displaying and maintaining vlan-vpn configuration, Vlan-vpn configuration example, Network requirements – H3C Technologies H3C S3100 Series Switches User Manual

Page 842

Advertising
background image

1-4

Follow these steps to configure the TPID for VLAN-VPN packets :

To do...

Use the command...

Remarks

Enter system view

system-view

Set the TPID value on the port

vlan-vpn tpid value

Required

Do not set the TPID value to
any of the protocol type values
listed in

Table 1-1

.

For H3C series switches, the
TPID defaults to 0x8100.

Displaying and Maintaining VLAN-VPN Configuration

To do...

Use the command...

Remarks

Display the VLAN-VPN
configurations of all the ports

display port vlan-vpn

Available in any view

VLAN-VPN Configuration Example

Transmitting User Packets through a Tunnel in the Public Network by Using
VLAN-VPN

Network requirements

As shown in

Figure 1-4

, Switch A and Switch B are both S3100 series switches. They connect the users

to the servers through the public network.

z

PC users and PC servers are in VLAN 100 created in the private network, while terminal users and

terminal servers are in VLAN 200, which is also created in the private network. The VLAN VPN

connection is established in VLAN 1040 of the public network.

z

Switches of other vendors’ are used in the public network. They use the TPID value 0x9200.

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.

Advertising