1-4Operation Command DescriptionSet the TPID value globally vlan-vpn tpid valueRequiredDo not set the TPID value toany of the protocol type valueslisted in Table 1-1.For H3C series switches, theTPID defaults to 0x8100.Enter Ethernet port view interface interface-typeinterface-number —Set the port to be a VLAN-VPNuplink port vlan-vpn uplink enableOptionalBy default, the VLAN-VPNuplink function is disabled.z A port cannot be configured as both a VLAN VPN port and a VLAN VPN uplink port at the sametime.z With the TPID being 0x8100, every port can be configured as a VLAN VPN uplink port. However, ifthe TPID value is not the default value, you need to use the vlan-vpn uplink enable command tospecify a VLAN VPN uplink port.z A VLAN VPN uplink port does not remove the outer VLAN tags of packets to be sent through it, soa VLAN VPN uplink port must be configured as a trunk port or hybrid port and configured to keepthe outer VLAN when sending packets of the outer VLAN.Displaying VLAN-VPN ConfigurationAfter the configuration above, you can execute the display command in any view to view the runningstatus of VLAN-VPN and verify the configuration.Table 1-5 Display VLAN-VPN configurationOperation Command DescriptionDisplay the VLAN-VPNconfigurations of all the ports display port vlan-vpn You can execute the displaycommand in any view.VLAN-VPN Configuration ExampleTransmitting User Packets through a Tunnel in the Public Network by UsingVLAN-VPNNetwork requirementsz As shown in Figure 1-4, Switch A and Switch B are both S5100-SI/EI series switches. Theyconnect the users to the servers through the public network.