開(kāi)放式最短路徑優(yōu)先路由協(xié)議OSPF配置實(shí)驗(yàn)報(bào)告_第1頁(yè)
開(kāi)放式最短路徑優(yōu)先路由協(xié)議OSPF配置實(shí)驗(yàn)報(bào)告_第2頁(yè)
開(kāi)放式最短路徑優(yōu)先路由協(xié)議OSPF配置實(shí)驗(yàn)報(bào)告_第3頁(yè)
開(kāi)放式最短路徑優(yōu)先路由協(xié)議OSPF配置實(shí)驗(yàn)報(bào)告_第4頁(yè)
開(kāi)放式最短路徑優(yōu)先路由協(xié)議OSPF配置實(shí)驗(yàn)報(bào)告_第5頁(yè)
已閱讀5頁(yè),還剩7頁(yè)未讀, 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說(shuō)明:本文檔由用戶(hù)提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡(jiǎn)介

1、實(shí)驗(yàn)報(bào)告7實(shí)驗(yàn)名稱(chēng)開(kāi)放式最短路徑優(yōu)先路由協(xié)議 OSPF配置學(xué)號(hào)班級(jí)13計(jì)本實(shí)驗(yàn)?zāi)康?練習(xí)OSPF動(dòng)態(tài)路由協(xié)議的根本配置;2掌握了解OSPF路由協(xié)議原理實(shí)驗(yàn)容1OSPF動(dòng)態(tài)路由協(xié)議配置2查看路由表實(shí)驗(yàn)步驟(1漁接網(wǎng)絡(luò),(除路由器之間,其他的各設(shè)備都用直通線連接 )。關(guān)閉路由器電源,安裝模塊WIT-2T。路由器之間使用DCE電纜連接到串行口,如圖1所示:圖1配置Router 1:Router enable/進(jìn)入特權(quán)模式Router# configure terminal / 進(jìn)入配置模式Enter configuration commands, one per line. End with CNT

2、L/Z.Router(config)# interface FastEthernet0/0 配置端口Router(config-if)# ip address 172.16.0.1 255.255.255.0Router(config-if)# no shutdown%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to upRouter(config-if)#

3、exitRouter(config)# interface Serial0/1/0 / 配置端口Router(config-if)# ip address 192.168.0.1 255.255.255.0Router(config-if)# clock rate 64000Router(config-if)# no shutdownRouter(config-if)#%LINK-5-CHANGED: Interface Serial0/1/0, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0

4、/1/0, changed state to upRouter(config-if)# route ospf 1 / 啟用 OSPF 協(xié)議,ID 號(hào)為 1Router(config-router)# network 192.168.0.0 0.0.0.255 area/0 發(fā)布網(wǎng)絡(luò)Router(config-router)# network 172.16.0.0 0.0.0.255 area 0Router(config-router)# exitRouter# copy running-config startup-config / 寫(xiě)入啟動(dòng)文件Destination filename st

5、artup-config?Building configuration.OK3配置 Router2:RouterenableRouter# configure terminalEnter configuration commands, one per line. End with CNTL/Z.Router(config)# interface FastEthernet0/0Router(config-if)# ip address 172.17.0.1 255.255.255.0Router(config-if)# no shutdown%LINK-5-CHANGED: Interface

6、FastEthernet0/0, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to upRouter(config-if)# exitRouter(config)# interface Serial0/1/0Router(config-if)# ip address 192.168.0.2 255.255.255.0Router(config-if)# no shutdown%LINK-5-CHANGED: Interface Serial0/

7、1/0, changed state to upno shutdown%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/1/0, changed state to upRouter(config-if)# exitRouter(config)# interface Serial0/1/1Router(config-if)# ip address 192.168.1.1 255.255.255.0Router(config-if)# clock rate 64000Router(config-if)# no shutdownRoute

8、r(config-if)#%LINK-5-CHANGED: Interface Serial0/1/1, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/1/1, changed state to upRouter(config-if)# router ospf 1Router(config-router)# network 192.168.0.0 0.0.0.255 area 0Router(config-router) #network 192.168.1.0 0.0.0.255 area

9、 0Router(config-router)# network 172.17.0.0 0.0.0.255 area 0Router(config-router)# exitRouter(config)# exit%SYS-5-CONFIG_I: Configured from console by consoleRouter# copy running-config startup-configDestination filename startup-config?Building configuration.OKRouter#00:13:29: %OSPF-5-ADJCHG: Proces

10、s 1, Nbr 192.168.2.1 on Serial0/1/1 from LOADING toFULL, Loading Done4酉己置 Router 3:Router enableRouter# configure terminalEnter configuration commands, one per line. End with CNTL/Z.Router(config)# interface FastEthernet0/0Router(config-if)# ip address 172.18.0.1 255.255.255.0Router(config-if)# no s

11、hutdown%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to upRouter(config-if)# exitRouter(config)# interface Serial0/1/0Router(config-if)# ip address 192.168.1.2 255.255.255.0Router(config-if)#%LINK-5-CHANG

12、ED: Interface Serial0/1/0, changed state to upno shutdownRouter(config-if)# exitRouter(config)# interface Serial0/1/1Router(config-if)# ip address 192.168.2.1 255.255.255.0Router(config-if)# clock rate 64000Router(config-if)# no shutdownRouter(config-if)#%LINK-5-CHANGED: Interface Serial0/1/1, chang

13、ed state to upRouter(config-if)# exitRouter(config)# route ospf 1Router(config-router)# network 192.168.1.0 0.0.0.255 area 0Router(config-router)# network 192.168.1.00:13:29: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.1.1 on Serial0/1/0 from LOADING toFULL, Loading Done0 0.0.0.255 area 0Router(config-ro

14、uter)# network 192.168.2.0 0.0.0.255 area 0Router(config-router) #network 172.18.0.0 0.0.0.255 area 0Router(config-router)# exitRouter(config)# ex%SYS-5-CONFIG_I: Configured from console by consoleRouter# copy running-config startup-configDestination filename startup-config?Building configuration.OK

15、5酉己置 Router 4:Router enableRouter# configure terminalEnter configuration commands, one per line. End with CNTL/Z.Router(config)# interface FastEthernet0/0Router(config-if)# ip address 10.1.1.1 255.255.255.0Router(config-if)# no shutdown%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up%

16、LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to upRouter(config-if)# exitRouter(config)# interface Serial0/1/0Router(config-if)# ip address 192.168.2.2 255.255.255.0Router(config-if)# exRouter(config)# router ospf 1Router(config-router)# network 192.168.2.0 0.0.0.255

17、 area 0Router(config-router)# network 10.1.1.0 0.0.0.255 area 0Router(config-router)# exRouter(config)# ex%SYS-5-CONFIG_I: Configured from console by consoleRouter# copy running-config startup-configDestination filename startup-config?Building configuration.OK6配置校驗(yàn)、診斷鑒于篇幅,以下命令均在router 2上調(diào)試show ip pr

18、otocol查看路由器中所啟用的路由計(jì)算協(xié)議:如圖 2IOS命令行acdtsoRc_iDerenMuut:巨匚豐三huw ip pr tccdLnjy PTCterel im ncsp I11Outaing update j.3tw匚 113X 1匚匚 all interfflceg 19 net secInscun upHa下g :二二占號(hào)二 1 ifaL Nn二二二;ec飛二 Im Rt 二餐三 戢nutGr IE 192.1S,1.1Nuste*r ef sr&i in this retire* li 1. 1 normal 3 stub si且且未MaxjjnujiL path: 4R

19、cDing for Netwoika:152.la.O,a 0.0.a_2S5 ara 0192.1S .1.0 Q.0.0.2GS 自“m 03.72.17 .0.0 G. 0.0.2SS arsa 0ScLitirtgScur zes :Safeway二imt三二wLqmt UpSate191.156.0.1110DO;?51191.I&-1.L11000:C:S1192.168.2.1no00:C:501SZ.1G6.2,211QOQ:01=QDIstartet: defaultis 110)ilDLiter#show ip ospf:如圖 3甲 Routf2IOS命令行Suppert*

20、 opaque ISASPF icheduLle: cel ay 3 世Held tinre bwen tvo SPEn 10 二3Miniffixm Lf丸 irtwxval & 鼻根匚*/HimiHusi 3鼻 aE.cj.vttl 1 h-二NumbflE cf axtftEnil ISA 0 a. Chttcksusi Suet. 0 x000000NxmbtE cf epaque AS L印l 0. CheukmM Sum. OkOOTOOOHushes cf DCbiXess c-Ktemal andAS L2A QNuEbez cf DoNctAjje extemsl end o

21、paque AS LSA 0NuEibe-E cf areasi in tni= rcutEE s 1. 1 noinnaLl 0 mtob 3 n?sa三漱七口匚言口二 ,xlocid. 工工二七 二口三引七卜 DISupikjer_二 1ntejzfaoEm in tiiis az-ea s 3EEE alcdrithiL exeetitEc 3 tiesArea rangea axeKumh*r of LSA 4 ChsekstiiF Sum 0 x013*16Komk心e af epAqu* link LS 0. CheeJcauir Sum 0 x003000ISumftE af D

22、CJSXCle*1 L&A QKurater af indicatiDn LSk 0Vuzhkftr of DciKcit Ags LS昊 Qrioca xis-a b.OSPF events debugging la onHc-uter#90 :13:30z OSPF: Nb tiello zrem 192 . 1SB _2.1area 0 fromSezialO/1/1 192.18.L,21 -j00 :13:30 z OSPF:00:13:30i OSPF:Znd of hello pracesslngrQb hella from 192.1S .0.1area 0 frc-mEsrxalD/1/0 192.l8.O,1” :0(1:13:30 = 65PF:GO:13:4d z OSPF:蘭nd of helia processingftev Hello frem 192. 16S.2.1area 0 fremEerielO/l/l 1&2.163.L.2113:40 z OSPFzOd113:40 z OSPF:End of hello prce

溫馨提示

  • 1. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶(hù)所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒(méi)有圖紙預(yù)覽就沒(méi)有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶(hù)上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶(hù)上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶(hù)因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。

評(píng)論

0/150

提交評(píng)論