版權說明:本文檔由用戶提供并上傳,收益歸屬內容提供方,若內容存在侵權,請進行舉報或認領
文檔簡介
1^實^^告如有雷^-""實驗報告如有雷同,雷同各方當次實驗成績均以0分計。警示警示津^2.當次小組成員成績只計學號、登錄在下表中的。^.\在規(guī)定 3.在規(guī)定時間未上交實驗報告的,不得以其他方式補交,當次成績按0分計。實驗報告文件以PDF格式提交。【實驗目的】理解鏈路聚合的配置及原理。【實驗容】(1)完成實驗教程第三章實例3-5的實驗,回答實驗提出的問題及實驗思考。(P99-102)端口聚合和生成樹都可以實現(xiàn)冗余鏈路,這兩種方式有什么不同?你認為本實驗能實現(xiàn)負載平衡嗎?如果不能,請討論原因并設計方法,進行實驗驗證?!緦嶒炓蟆恳恍┲匾畔⑿畔⑿杞o出截圖,注意實驗步驟的前后對比。【實驗記錄】(實驗拓撲請自行畫出,)實驗容:(1)完成實驗教程第三章實例3-5的實驗,回答實驗提出的問題及實驗思考。(P99-102)實驗拓撲圖:實驗步驟:步驟0:按圖3-17連接好網(wǎng)絡拓撲,注意兩交換機之間只接一根跳線(例如F0/1端口)。實驗前帶寬驗證:在PC2上建立一個共享目錄(例如D:\share),并啟動Wireshark抓包軟件,選中監(jiān)控對象,將界面停留在CaputerInterfaces窗口上(圖3-18);這時有數(shù)據(jù)包發(fā)生嗎?答:少量數(shù)據(jù)包,如下圖所示。在Windows7中,共享目錄(例如d:\share)在命令提示符窗口的建立過程如下:WORD專業(yè).WORDWORD專業(yè).mdd:\share \\在D盤建立文件夾sharenetuserB403159357 \\建立用戶B403、口令是159357netsharemyshare=d:\share/grant:B403,full\\建立d:\share的共享名為myshare,訪問用戶myuser、權限full在PC1上選擇一文件包,在“開始”I”搜索程序和文件”的對話框中輸入\\0\1^$卜@^,輸入用戶名/口令,就進入了共享文件夾。將PC1上的一個文件包復制到PC2的共享目錄,我選擇UPK1(5).rar,大小為1.5GB。選擇“開始”|“運行”菜單命令,在彈出的“運行”對話框中輸入\\0內卜@^;將文件包復制到PC2的共享目錄,注意觀察包數(shù)量的變化,記錄Packets、Packets/s的代表值。并計算傳送時間:答:這時包的數(shù)量急劇增長,代表圖如下:共傳送422541個包,開始時間是14:09:18.87760700,結束時間是14:10:18.96292000,傳輸時間為60.85313秒。步驟1:交換機SwitchA的基本配置。8-S5750-l#cont1guretermnaIEnterconfigurationcommands,oneperline.EndwithCNTL/7.8-S5750-1(conf1g)#vlan108-S5750-l(conf1g-vlan)#namesales8-s5750-l(config-vlan)#EXit8-s5750-1(confInterfacegigab11,ethernetO/S8-s5750-1(confIg-if-GigabitEthemet0/5)#switchportaccessvlan108-s5750-l<confIg-lf-GlgabltEthemet0/5)#shiowvlanidVLANName statusPorts1VLAN00015TATICGia/i,Gi0/2,G-i0/3,Gi0/4Gia/6,Gi0/7,GiO/8,Gl0/9Gia/LO,GiO/Ll,Gi0/12,GiO/1BGi0/14,Gi0/15,Gi0/16,Gi0/17Gi0/18,GiO/19,G10/20,G1O/21Gia/22,Gi0/23rGi0/24Gi0/25Gl0/2:6,Gl0/27,Gl0/2810salesSTATICGiO/5S-S5750-l(conf1g-lf-GngabitEthemet0/5步驟2:在交換機SwitchA上配置聚合端口。驗證測試:驗證F0/1和F0/2端口屬于AG1。8-S5750-L(conf1g-if-GigabitEthernet0/5)#exit8-s5750-L(conf1g^#~interfaceaggregateport18-s5750-L(confng-i'f-AggregatePortl)#switchportmodetrunk8-s5750-L(confJg-if-AggregatePortL^ejcit8-s5750-L(confnnterfacerangegigabitethernexO/1-28-S5750—1(config-i-F-range)#port-group1Sfiwarninq:thelinkaggregationofportcigab-itEthernet0/1maynotmatchwith-itsghBor. '' ' 一8-s5750-L(conf1g-if-range)#lft'Nov1914:31:57:^LLDP-4-ERRDETECT:LinkaqgregafionforTheportGigabitErnernet0/1maynormatchwithoneforrheneighborport.ftNov1914:31:59:^LlNK-3-UPDOWN:InterfaceAggregateport1,changedstatetoup*Nov1914:31:59:^LlNEPROTO-5-llJPDOWN:LineprotocoloninterfaceAggregatePorT15changedstatetoup. '' '5howaggregatePort1nummaryAggregatepartMaxporisswirchPorrModePortsAgl 8 EnabledtrunkgiO/l,-Gi0/28-S5750-L(conf1g-if-range)#1以上信息顯示聚和接口AG1的情況:最大支持端口數(shù)為8個,當前VLAN模式為Trunk,組成員有F0/1和F0/2端口。步驟3:交換機B的基本配置。8-55750-2:#conf1guretermlnalEntercorifiguratHoncommands,oneperHne.Endwithcntl/z.8-S5750-2:C€onfig^)#vlan108-55750-2:Ccon'f'ig-vlan)拜namesales8-S5750-2:Cconfig-vl8-S5750-2:C€onfig)#lnterfacegngabitethernet0/58-557SO-ZCconfig-Hf-GngabitEthernet0/5)#swixchportaccessvlan108-S5750-2:Cconfig-if-GngabitEthernet0/5)^showvlanidVLANName STatus Ports1vLAtiaoaiSTATICGi0/1,GlO/2,Gl0/3,G1O/4G1O/6,Gl0/7,G1O/a,G1O/9G1O/10,G10/1L,G1O/12,G10/13G10/14,G10/15,G10/L6,G10/17G1O/18,G10/19,G10-/20,G10/21G1O/22,G10/23,G10-/24,G10/25GliO/26,G10/27,G1Q/2810salesSTATICG1O/58-55750-2Cconfig-if-GngabitEthernet0/5)#l測試:驗證已在50五西8上創(chuàng)建了VLAN10,并將F0/5端口已劃分到VLAN10中。8-S5750-2#showvlanid10VLANName statusPorts10sales staticGiO/58-S5750-2#|步驟4:在交換機SwitchB上配置聚合端口。8-55750-2#conf1gureterrminalEnterconf-igurat1oncommands,oneperUne.Endwithcntl/z.8-55750-2(config)#interfaceaggregateportLS-5575Q-2(config-nf-Aggregateport chiportmod^trunkS-5575Q-2(confIg-lf-Aggr^gatePorrl)#exirS-5575Q-2(config)#interfacerangegigabitethernetO/1-2S-55750-Z(config-nf-range)#port-group1S-55750-2(config-1f-range)#*NOY1914;35:^2;?aLlNK-3-UPDOWN;interfaceAggregatePort1,changedstatetoup. '- '*Nov1914:35:52:/aLlNEPROTO-5-LPDOWN:LineprotocoloninterfaceAggregateport1,changedstatenoup. '-'8-55750-2(config-nf-ran^e)#1測試:驗證F0/1和F0/2端口屬于AG1。B-5575O-2#showaggregatePort1summaryAggregareportMaxporrsswitchPomModePortsAgl £ Enabledtrunkgi0/1agi0/2B-557.50-Z#!按圖3-17網(wǎng)絡拓撲,接上兩交換機之間的另一根跳線(例如F0/2端口)。步驟5:驗證。鏈路聚合的帶寬是否增大?如果沒有增大,分析是什么原因引起的并提出解決的辦法。如同步驟0,在PC1上傳送文件包,注意觀察包數(shù)量的變化,記錄數(shù)據(jù)傳送時間并分別與實驗前的數(shù)據(jù)做比較,能得出什么結論?白| 1.?LD.WILq_友士-附用1liinrUsry^EtvlvEil Ln4d.Lnk1.192.14$.10.?1-0眄213$MrlteResponie2.192.16S,19.1B192.IfiB.IB-26HBSS1t14NBSSCcnTirtjiatlwi 護3.HBSS1S14HBSS 修州白4_19工16s.i&一1日HB5S1&14NBS5 如ii州口5.192?諾192.Ififi.19.20HB5S151&N町5ContinwticnJ^S553Ee6■192.1H.3A.1BHB5S151aNBSSCpntinwticn1.192.ljEt.3A.14RBSS1514N05$Cnntinw#ticn看方外卬H_192_16S.ia.lB192.1GB.IB-26HBSSl&UHHSSSmS3t的物=力護S_192_16S.19.1B192.16H.1B-2SMB551S14HHSSConTinuatiw為明LIB_192_16S.19.1B192.1GH.IB-26HB5S1&14NHS51:口ni33tM用ii州白-11.192.1i£t.lA.l?12-192.1£t.3A.li?1193J68國HB5S1514NB5SContinw<ticnHB5S151&N6$5Cpntinwticn%55a£E13-192.1H.1A.1B1*92.1?6.19.SHB5S15-14NBSSIsmtirwtiE%-制e?:答:傳送同一個文件,1.5068,共有394387個包,開始時間是14:44:24.274753000,結束時間是14:45:03.106249000,約38秒,比之前傳輸了更多包,平均速度也更快,所以帶寬變大了。鏈路聚合的動態(tài)備份:當交換機之間的一條鏈路斷開時,PC1與PC2仍能互相通信。將兩條跳線中的其中任何一根拔掉后,發(fā)現(xiàn)PC間還可以正常通信,這是否說明鏈路聚合的動態(tài)備份有效?拔線過程有無丟包現(xiàn)象?:MisersXB403>pingS-t在自自自自自自自自自自自自自自Pins68.10.20000172.16S.19.2000000192.16S.10.20在自自自自自自自自自自自自自自Pins68.10.20000172.16S.19.2000000192.16S.10.20192.168.10.2000-t0—FnjT~t—rrr—£n—&u.Qu,.tTt—jttjT~tj~Tt—Ou—rn—IT~r.Ou12a回回回回回回回回回回回回回回32節(jié)節(jié)節(jié)節(jié)節(jié)節(jié)節(jié)節(jié)節(jié)節(jié)節(jié)節(jié)節(jié)節(jié)TTL=64TTL=64TTL=64TTL=64TTL=64TTL=64TTL=64TTL=64TTL=64TTL=64TTL=64TTL=64TTL=64TTL=64答:如上圖所示,PC間仍可通信,即鏈路聚合的動態(tài)備份有效,接線過程無丟包現(xiàn)象。重做步驟5驗證(1),監(jiān)控窗口停留在圖3-18上,在數(shù)據(jù)傳送過程中,拔掉端口1(或2)的電纜線,觀察Packets、Packets/s是否有變化?<Wireshank:CaptureInterfaces[口|回Wireshark:CaptureInterfaces[口|回Wireshark:CaptureInterfaces答:上面三個圖分別為拔掉端口1的電纜線之前、之后和一段時間后的情況,可以看出Packet數(shù)在不斷增長,Packet/s的大小在拔線后先減小后回升。查看聚合口:showinterfaceaggreateport1.8-5575O-2:#5howinterfacesaggregateport1index(dec):29(hex^:ld'- 'Aggregateport1isUP,1ineprotocolisUPHardwareisAggregateLinkAgqregatePortinterfaceaddressHs:noipaddressMTU1500bytes,BW2000000KbitEncapsulafionprotocolisBridge,1oopbacknotsetKeepaHve■intervalis10sec,setCarrierdelayis2secRxloadis1/255,Txloadis1/255switchportattributes:,interface'sdescr-ipfion:""adminmedlum-type1scopper,openmedium-Type1scopper1astchangeTlme:0Day:0Hour:12Mlnute:0secondcurrenTsramsdurarlon:0Day:0Hour:34Mlnure:5secondprioriryIs0 'adminduplexmode1sauto,operduplex1sFulladminspeedisauto,openspeed1sL0Q0Mflowcontroladminstatusisoff,flowcontroloperstatusisoffadminnegotiationmode1soff,opernegofiatlonstate1soffstormcontrol:Broadcast15on,Multicast1soff,unicastIsomPorT-type:trunkNat1vevlan:1AllowedvlanUsts:1-4094Activevlan11st5:1,10—More—*N0V1915:10:00:%LLDP—4—CREATEREM:PortGigabitEthernet0/1created□nenewneighbor,chassisID155B69.6cl5,5a00,PortID1sGlO/1.AggregatePortInformatnons:'' 'AggregateNumber:1Name;"Aggregat^Parr1"Refs:2'''Members:(caunt=2)GigabntEthernet0/1 Linkstatus:upGigabltEthernet0/2 Linkstatus:upminut.esiinputraxe125bits/sec,0packets/secminut.esoutputrate161bits/sec?Opackets/sec7140424packetsinput,10803500594bytes,0nobuffer,0droppedReceived82broadcasts,0runts,1giantsinputerrors,0crc,0frame,0overrun,0abort6041BBpacketsoutput,53585701bytes,0underruns,0dropped0out:puterrors,0CO'1'\isionss0interfaceresetsS-S575O-2#查看成員口:showinterfacegigabitethernet0/1.8-S575O-2#show1ntertacesglgabltethernet0/1index(dec):1(hex):1GigabitEthernet0/1isUP,UneprotocolisUPHardwareisEroadcom5464GigalbHtEthernetInterfaceaddressis:noipaddressMTU1500bytes,EW1000000KbitEncapsulat-ionprotocolisBridge,1oopbacknotsetIKeepaUve-intervalis10sec,setcarrierdelayis2secRxload1s1/255,TK1oad1s1/255switchportatTributes:interface'sdescripfion:""adminmedlum-rypeIscopper,openmedium-rypeIscopperastchangeTinue:0Day:0Hour:LMinute:5secondcurrentstatusdurafion:0Day:0Hour:45Minute:5。secondprlorlTyIs0 'adminduplexmodei5AUTO,operduple%i5Fulladminspeediaauto,openspeedi51000Mflawcontroladmin5Tatu5isoff,flowcontroloperstatusIsoffadminnegotlafionmode15OFF,opernegotlafionstatensONstormcontrol:Broadcasti5ON,Multicastisoff,unicastisON5minjtesinputrare33blts/aec,口packer5/sec5minutesoutputrate27.bits/sec,Qpackets/sec4457983packetsinput,6745470^53bytes,0nobuffer,0droppedReceivedB9broadcasts,0runts,1giantsinputerrors,0CRC,0frame,□overrun,0abort378BS0packetsoutput,3B529756bytes70underruns,0dropped0outputerrors,0col11sions,0interfaceresets8-S5750-2#查看端口狀態(tài):showinterfacestatues.8-3575O-2:#5howint:erfacesstatusinterface STatus vlanDuplexspeedTypeGigabitEthernetGigabitEthernethornetGigabitEthernetGigabitEthernetGigabitEthernetGigabitEthernetGigabitEthernetGigabitEthernetGig^bitEthernetGig^bitEthernetGigabitEthernetGigjibitEthernetGigjibitEthernetGigabitEthernetGigjibitEthernetGigjibitEthernetGigabitEthernetGig^bitEthernetGig^bitEthernetGig^b-itEthernetGigabitEthernetGigabitEthernetGigabitEthernetGigabitEthernetGigabitEthernetGigabitEthernetGigabitEthernetAggregateport18-5575O-2#|0/1"2口門0<40<50<60/70/B0/90/100/110/120/150/140/150/160/170/180/190/200/210/220/230/240/250/260/27GigabitEthernetGigabitEthernethornetGigabitEthernetGigabitEthernetGigabitEthernetGigabitEthernetGigabitEthernetGigabitEthernetGig^bitEthernetGig^bitEthernetGigabitEthernetGigjibitEthernetGigjibitEthernetGigabitEthernetGigjibitEthernetGigjibitEthernetGigabitEthernetGig^bitEthernetGig^bitEthernetGig^b-itEthernetGigabitEthernetGigabitEthernetGigabitEthernetGigabitEthernetGigabitEthernetGigabitEthernetGigabitEthernetAggregateport18-5575O-2#|0/1"2口門0<40<50<60/70/B0/90/100/110/120/150/140/150/160/170/180/190/200/210/220/230/240/250/260/270/28up1Full1000Mup1FullLQOaMdown1unknownunknowndown1unknownunknownup10FullLOGONdown1unknownunknowndown1unknownunknowndown1unknownunknowndown1unknownunknowndown1unknownunknowndown1unknownunknowndown1unknownunknowndown1unknownunknowndown1unknownunknowndown1unknownunknowndown1unknownunknowndown1unknownunknowndown1unknownunknowndown1unknownunknowndown1unknownunknowndown1unknownunknowndown1UnknownUnknowndown1UnknownUnknowndown1UnknownUnknowndown1unknownunknowndown1unknownunknowndown1UnknownUnknowndown1unknownunknownup1FullLOOOMcappercappercappercoppercoppercoppercoppercoppercoppercoppercoppercoppercoppercoppercoppercoppercoppercoppercoppercoppercoppercoppercoppero?-1nlnlml
cffffcopper(7)查看成員口的速率流量:showinterfacecountersrate/summay.8-S5750-2#show1nterfacescounterssummaryinterfaceroadcastPktsmoctetsinucastPktsinMulficastPktsinBG-iO/16745472613445786B9239GlO/240580487372682350m84G1O/30000G10/40000Gl0/551161222603Q401341Q4G10/6□□00G10/7000□G10/S000□Gdo/g000□Gi0/10000□0/11000□GdO/12000□Gi0/130000G10/14000□G10/15000□Gl0/16□000G10/17□000Gl0/180000Gl0/190000Gl0/200000GlO/210000G1O/220000G1O/230000G-iO/240000GiO/250000G10/260000GlO/270000G1O/280000
AglinterfaceBroadcastPkts10803507019outoctets7140205outucastPkts164ouiMulficastPkts89outGio/l33532440378124148125G1O/22007822222581611866G1O/30□00G10/40□00G10/5107749461737140213154IISG1O/60□00G1O/70□0□G10/80000G10/90000GiO/lO0000GiO/110000G10/120000GiO/1:0000GiO/140000GiO/150000G10/160000G10/170000G10/180000G10/190000Gi0/200□00Gi0/210000GiO/220□00Gl0/250□00G10/240□00Gl0/250000Gl0/260000GiO/270000GiO/280000Agl53591571603936166121實驗思考:實驗中聚合端口的負載平衡方式默認是依據(jù)源和目的地址的。設置聚合端口的負載平衡方式命令是aggregateportload-balance.在交換機中查看聚合端口配置的相關命令:ShowaggregateportsummaryShouaggregateportload-balance此實驗也可以在跨交換機實現(xiàn)不同VLAN間通信的基礎上完成。8-35750-2#showaggregateportsummaryAggregateportMaxportsswitchportModePortsAgi B EnabledtrunkG1o/i ,G1o/z8-S5750-2#3howaggregateport1oad-balarceLoad-balan
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
- 4. 未經(jīng)權益所有人同意不得將文件中的內容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內容本身不做任何修改或編輯,并不能對任何下載內容負責。
- 6. 下載文件中如有侵權或不適當內容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 走進地理學說課稿2024-2025學年高中地理人教版(2019)必修一001
- 醫(yī)療器械售后年度總結
- 培訓部總結規(guī)劃
- 2024水利工程水庫承建協(xié)議示范文本版B版
- 2024年電商平臺店鋪交易合同3篇
- 2024年北師大版九年級歷史下冊階段測試試卷含答案
- 2024版簡單臨時工勞動合同范本
- 團體標準申報流程
- 2024年滬教版高三語文上冊階段測試試卷
- 第七篇 選擇性必修中冊 第三單元-高中語文單元說課稿001
- 大連市小升初手冊
- 《自然辯證法》課后習題答案自然辯證法課后題答案
- 造價咨詢結算審核服務方案
- 中國人民財產(chǎn)保險股份有限公司機動車綜合商業(yè)保險條款
- 燃氣工程監(jiān)理實施細則(通用版)
- E車E拍行車記錄儀說明書 - 圖文-
- 人才梯隊-繼任計劃-建設方案(珍貴)
- 《健身氣功》(選修)教學大綱
- 王家?guī)r隧道工程地質勘察報告(總結)
- 《昆明的雨》優(yōu)質課一等獎(課堂PPT)
- EHS的組織架構和職責說明(共2頁)
評論
0/150
提交評論