資源描述:
《華為VLAN技術(shù)原理與配置.ppt》由會(huì)員上傳分享,免費(fèi)在線閱讀,更多相關(guān)內(nèi)容在行業(yè)資料-天天文庫。
1、VLAN技術(shù)原理和配置Page2前言虛擬局域網(wǎng)(VLAN)技術(shù)為以太網(wǎng)引入了靈活的控制手段,被廣泛應(yīng)用。Page3培訓(xùn)目標(biāo)學(xué)完本課程后,您應(yīng)該能:了解VLAN技術(shù)產(chǎn)生的背景了解VLAN標(biāo)簽的產(chǎn)生方法掌握VLAN標(biāo)簽的應(yīng)用規(guī)則掌握VLAN的配置Page4目錄VLAN簡(jiǎn)介VLAN標(biāo)簽的應(yīng)用規(guī)則Page5VLAN的產(chǎn)生原因-缺少轉(zhuǎn)發(fā)控制手段的以太網(wǎng)用戶:我不想收到C的廣播報(bào)文管理員:B不能訪問ACBAPage6VLAN技術(shù)的目標(biāo)組1組2Page7通過標(biāo)簽管理實(shí)現(xiàn)VLAN5PermitVLAN1onlyABPage8VLAN標(biāo)簽介紹DASATYPEDATAFCSDAS
2、ATAGTYPEDATAFCSUntaggedframeTaggedframe0x8100PRICFIVLANID(12b)TPIDTCI6B6B2B64-1500B4B6B6B2B64-1500B4B4B2B2BPage9如何生成VLAN標(biāo)簽主機(jī)A主機(jī)B主機(jī)C主機(jī)DPort1Port2Port7Port10端口PVIDPort15Port210…………Port75…………Port1010Page10目錄VLAN簡(jiǎn)介VLAN標(biāo)簽的應(yīng)用規(guī)則Page11VLAN轉(zhuǎn)發(fā)流程Tagged?添加PVID使用自身vlanid交換機(jī)是否創(chuàng)建了該VLAN丟棄ynny目的端口是否
3、允許該VLAN通過轉(zhuǎn)發(fā)/標(biāo)簽操作yn收到對(duì)端設(shè)備以太網(wǎng)幀Page12Access接口VLAN屬性[Quidway]displayportvlanactiveGigabitEthernet0/0/1T=TAGU=UNTAG-------------------------------------------------------------------------------PortLinkTypePVIDVLANList----------------------------------------------------------------------
4、---------GE0/0/1access2U:2接口默認(rèn)VLAN為2,Untagged幀添加VLAN2后再轉(zhuǎn)發(fā)Access接口,一般用于連接主機(jī)接口允許通過的VLAN,與PVID相同Page13配置Access接口屬性Port-0/1:VLAN-3Port-0/2:VLAN-5\配置接口類型[SWA-Ethernet0/1]portlink-typeaccess[SWA-Ethernet0/2]portlink-typeaccess\創(chuàng)建VLAN[SWA]vlan3[SWA]vlan5\設(shè)置接口PVID[SWA-Ethernet0/1]portdef
5、aultvlan3[SWA-Ethernet0/2]portdefaultvlan5SWAPage14Trunk接口VLAN屬性[Quidway]displayportvlanactiveEthernet0/3T=TAGU=UNTAG-------------------------------------------------------------------------------PortLinkTypePVIDVLANList---------------------------------------------------------------
6、----------------E0/3trunk3U:3T:1收到untagged幀后,添加PVID3允許多個(gè)VLAN通過用于連接交換機(jī)等網(wǎng)絡(luò)設(shè)備Page15配置Trunk端口屬性\創(chuàng)建VLAN[SWA]vlan3[SWA]vlan5\配置端口類型[SWA-Ethernet0/3]portlink-typetrunk\配置Trunk-Link端口PVID[SWA-Ethernet0/3]porttrunkpvidvlan3\配置Trunk-Link所允許通過的VLAN(permittedVLAN)[SWA-Ethernet0/3]porttrunka
7、llow-passvlan5Port-0/3Port-0/3SWASWBPage16Hybrid端口VLAN屬性[Quidway]displayportvlanactiveEthernet0/3T=TAGU=UNTAG-------------------------------------------------------------------------------PortLinkTypePVIDVLANList-----------------------------------------------------------------------
8、--------E0/3hybrid5