3Com 5500 Switch User Manual


 
Configuring VLAN-VPN 323
# Set the TPID value of Ethernet 1/0/12 to 0x9200.
[SwitchA-Ethernet1/0/12] vlan-vpn tpid 9200
Configure Switch B
# Enable VLAN-VPN on Ethernet 1/0/21 of Switch B, using the tag of VLAN 1040
as the outer VLAN tag for packets received on this port.
<SwitchB> system-view
[SwitchB] vlan 1040
[SwitchB-vlan1040] port Ethernet 1/0/21
[SwitchB-vlan1040] quit
[SwitchB] interface Ethernet 1/0/21
[SwitchB-Ethernet1/0/21] undo ntdp enable
[SwitchB-Ethernet1/0/21] stp disable
[SwitchB-Ethernet1/0/21] vlan-vpn enable
# Set the TPID value of Ethernet 1/0/21 to 0x9200 for intercommunication with
the devices in the public network.
[SwitchB-Ethernet1/0/21] vlan-vpn tpid 9200
[SwitchB-Ethernet1/0/21] quit
# Configure Ethernet 1/0/22 as a trunk port that permits tagged packets of VLAN
1024.
[SwitchA] interface Ethernet 1/0/22
[SwitchA-Ethernet1/0/22] port link-type trunk
[SwitchA-Ethernet1/0/22] port trunk permit vlan 1040
# Set the TPID value of Ethernet 1/0/22 to 0x9200.
[SwitchA-Ethernet1/0/22] vlan-vpn tpid 9200
Configure the devices in the public network
# As the devices in the public network are from other vendors, only a basic
principle is introduced here. That is, you need to configure the devices connecting
to Ethernet 1/0/12 of Switch A and Ethernet 1/0/22 of Switch B to permit tagged
packets of VLAN 1040.
Complete Configuration
Configure Switch A
#
vlan 1040
#
interface Ethernet1/0/11
port access vlan 1040
undo ntdp enable
stp disable
vlan-vpn enable
vlan-vpn tpid 9200
#
interface Ethernet1/0/12
port link-type trunk
port trunk permit vlan 1 1040
vlan-vpn tpid 9200