User's Manual

Table Of Contents
Configuration Guide of XGS-5240-Series
182
2. Configure the protocol type (TPID) on port
22.3.3 Typical Applications of the Dot1q-tunnel
Scenario:
Edge switch PE1 and PE2 of the ISP internet forward the VLAN200~300 data between
CE1 and CE2 of the client network with VLAN3. The port1 of PE1 is connected to CE1, port10
is connected to public network, the TPID of the connected equipment is 9100; port1 of PE2 is
connected to CE2, port10 is connected to public network.
Configuration
Item
Configuration Explanation
VLAN3
Port1 of PE1 and PE2.
dot1q-tunnel
Port1 of PE1 and PE2.
tpid
9100
Configuration procedure is as follows:
PE1:
Switch(config)#vlan 3
Switch(Config-Vlan3)#switchport interface ethernet 1/0/1
Switch(Config-Vlan3)#exit
Switch(Config)#interface ethernet 1/0/1
Switch(Config-Ethernet1/0/1)# dot1q-tunnel enable
Switch(Config-Ethernet1/0/1)# exit
Switch(Config)#interface ethernet 1/0/10
Switch(Config-Ethernet1/0/10)#switchport mode trunk
Switch(Config-Ethernet1/0/10)#dot1q-tunnel tpid 0x9100
Switch(Config-Ethernet1/0/10)#exit
Switch(Config)#
PE2:
dot1q-tunnel enable
no dot1q-tunnel enable
Enter/exit the dot1q-tunnel mode on the
port.
Command
Explanation
Port mode
dot1q-
tunnel tpid
{0x8100|0x9100|0x9200|<1-65535>}
Configure the protocol type on TRUNK
port.