Dot1Q tunnel(Q in Q)
透過IEEE?802.1q?in?IEEE?802.1q(Q-in-Q)的方式,我們可以讓VLAN的數量增加超過4096(4096*4096),也可以讓客戶自行設定Trunk穿過Service?Provider所提供的Ethernet?Solution(如:FTTx)。?假設現在的網絡架構為:?SW1?F0/1?<-?SP?VLAN?10?->?SW2?F0/1?兩端的設備都是連接到VLAN?10,因此在兩端的Switch啟用Dot1q?Tunnel建立Trunk
SW1(config)#vlan?dot1q?tag?native?!預設,Native?VLAN不會加上tag,如果在Q-in-Q中要針對native?vlan加tag,必須使用上述指令
SW1(config)#int?f0/1
SW1(config-if)#switchport?mode?dot1q-tunnel
SW1(config-if)#switchport?access?vlan?10
SW1(config)#system?mtu?1508?!一般Switch預設system?mtu?1500,為了支持多層tag,必須加大MTU,設定完成必須reload?switch
SW1(config)#int?f0/1
SW1(config-if)#l2protocal-tunnel
SW2(config)#vlan?dot1q?tag?native?!預設,Native?VLAN不會加上tag,如果在Q-in-Q中要針對native?vlan加tag,必須使用上述指令
SW2(config)#int?f0/1
SW2(config-if)#switchport?mode?dot1q-tunnel
SW2(config-if)#switchport?access?vlan?10
SW2(config)#system?mtu?1508?!一般Switch預設system?mtu?1500,為了支持多層tag,必須加大MTU,設定完成必須reload?switch
SW2(config)#int?f0/1
SW2(config-if)#l2protocal-tunnel
?
轉載于:https://blog.51cto.com/xushen/1261110
總結
以上是生活随笔為你收集整理的Dot1Q tunnel(Q in Q)的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 其实特简单,1分钟爬取全国高校信息并制成
- 下一篇: SAP中预制发票应用分析测试