Manual

+7(495) 797-3311 www.qtech.ru
Москва, Новозаводская ул., 18, стр. 1
64
9.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/1
Switch(Config-Ethernet1/0/1)#switchport mode trunk
Switch(Config-Ethernet1/0/1)#dot1q-tunnel tpid 0x9100
Switch(Config-Ethernet1/0/1)#exit
Switch(Config)#
PE2:
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/1
Switch(Config-Ethernet1/0/1)#switchport mode trunk
Switch(Config-Ethernet1/0/1)#dot1q-tunnel tpid 0x9100
Switch(Config-Ethernet1/0/1)#exit
Switch(Config)#