
Vlans 1-3 are encapsulated into VLAN 10 between Switch A to Switch C.
Switch A config:
interface g0/1
description Trunk of VLAN 1, 2, 3
switchport access vlan 10
switchport mode dot1q-tunnel
l2protocol-tunnel cdp
l2protocol-tunnel vtp
spanning-tree bpdufilter enable
interface g0/2
description Access Port for VLAN 10
switch mode access
switch access vlan 10
Switch B config:
interface g0/1
description Access Port for VLAN 10
switch mode access
switch access vlan 10
interface g0/2
description Trunk with VLAN 10 inside
switch mode trunk
Switch C config:
inter g0/1
description Trunk of VLAN 1, 2, 3
switchport access vlan 10
switchport mode dot1q-tunnel
l2protocol-tunnel cdp
l2protocol-tunnel vtp
spanning-tree bpdufilter enable
interface g0/2
description Trunk with VLAN 10 inside
switch mode trunk
Command Reference:
Verifications:
sh dot1q tunneling
sh l2protocol-tunneling
Additional References:
- http://blog.ipexpert.com/2009/07/29/l2-tunneling/ - Great blgo explaining L2 Tunnels
- http://www.cisco.com/en/US/docs/ios/lanswitch/configuration/guide/lsw_ieee_802.1q.html - Instructions to configure dot1q tunneling on IOS Routers
I don't think this would work. Dot1q needs to be enabled on SP edge port. How will packets be double tagged. They're not double tagged on egressing the dot1q tunnel
ReplyDeleteDepending on the switch you're using, dot1q will be enabled by default. The double tagging occurs when the packets enter Switch B (from Switch A).
ReplyDeleteBefore egressing Gi0/2 of Switch B, the packets only contain VLAN tags from the CE trunk (VLAN 1,2,3).
As indicated by the most recent information distributed by the International Data Company (IDC), Android commands the overall versatile OS showcase with a portion of 78%. crack for Apple device
ReplyDelete