322 CHAPTER 35: VLAN-VPN CONFIGURATION GUIDE
nOnly the Switch 5500 supports the configuration of TPID. The Switch 5500G and
the Switch 4210 do not support that configuration.
Configure VLAN-VPN on Switch A and Switch B to enable the PC users and the
terminal users to communicate with their respective servers.
Applicable Products
Configuration Procedure
nVLAN-VPN is mutually exclusive with each of the following functions
GVRP
NTDP
STP
802.1x
MAC authentication
XRN Fabric
By default, NTDP and STP are enabled on a port. You need to disable the two
features using the undo ntdp enable and stp disable commands before enabling
VLAN-VPN on the port.
Configure Switch A
# Enable VLAN-VPN on Ethernet 1/0/11 of Switch A, using the tag of VLAN 1040
as the outer VLAN tag for packets received on the port.
<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] undo ntdp enable
[SwitchA-Ethernet1/0/11] stp disable
[SwitchA-Ethernet1/0/11] vlan-vpn enable
# Set the TPID value of Ethernet 1/0/11 to 0x9200 for intercommunication with
the devices in the public network.
[SwitchA-Ethernet1/0/11] vlan-vpn tpid 9200
[SwitchA-Ethernet1/0/11] quit
# Configure Ethernet 1/0/12 as a trunk port that permits tagged packets of VLAN
1040.
[SwitchA] interface Ethernet 1/0/12
[SwitchA-Ethernet1/0/12] port link-type trunk
[SwitchA-Ethernet1/0/12] port trunk permit vlan 1040
Product series Software version Hardware version
Switch 5500 Release V03.02.04 All versions
Switch 5500G Release V03.02.04 All versions
Switch 4500 Release V03.03.00 All versions
Switch 4210 Release V03.01.00 All versions