SNR S2940-8G-v2 Switch Configuration Guide
Dot1q-tunnel Configuration
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:
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)#
17.4 Dot1q-tunnel Troubleshooting
• Enabling dot1q-tunnel on Trunk port will make the tag of the data packet unpredictable which
is not required in the application. So it is not recommended to enable dot1q-tunnel on Trunk
port.
• Enabled with STP/MSTP is not supported.
• Enabled with PVLAN is not supported.
133