Switch(config)#interface ethernet 1/1
Switch(Config-If-Ethernet1/1)# dot1q-tunnel enable
Switch(Config-If-Ethernet1/1)# exit
Switch(config)#interface ethernet 1/10
Switch(Config-If-Ethernet1/10)#switchport mode trunk
Switch(Config-If-Ethernet1/10)#dot1q-tunnel tpid 0x9100
Switch(Config-If-Ethernet1/10)#exit
Switch(config)#
PE2:
Switch(config)#vlan 3
Switch(Config-Vlan3)#switchport interface ethernet 1/1
Switch(Config-Vlan3)#exit
Switch(config)#interface ethernet 1/1
Switch(Config-If-Ethernet1/1)# dot1q-tunnel enable
Switch(Config-If-Ethernet1/1)# exit
Switch(config)#interface ethernet 1/10
Switch(Config-If-Ethernet1/10)#switchport mode trunk
Switch (Config-If-Ethernet1/10)#dot1q-tunnel tpid 0x9100
Switch(Config-If-Ethernet1/10)#exit
Switch(config)#
9.3.5 Dot1q-tunnel Troubleshooting
Enabling dot1q-tunnel on Trunk port,that is usually not required in the application,
will make the tag of the data packet unpredictable. So it is not recommended to
enable dot1q-tunnel on Trunk port except the VLAN-translation is in operation.
Configuring in port-channel is not supported.
Enabled with STP/MSTP is not supported.
Enabled with PVLAN is not supported.
Enabled with DOT1X is not supported.
9.4 VLAN-translation Configuration
9.4.1 VLAN-translation Introduction
279