BSCI實(shí)驗(yàn)手冊-配置ospf驗(yàn)證,匯總,虛鏈路_第1頁
BSCI實(shí)驗(yàn)手冊-配置ospf驗(yàn)證,匯總,虛鏈路_第2頁
BSCI實(shí)驗(yàn)手冊-配置ospf驗(yàn)證,匯總,虛鏈路_第3頁
BSCI實(shí)驗(yàn)手冊-配置ospf驗(yàn)證,匯總,虛鏈路_第4頁
BSCI實(shí)驗(yàn)手冊-配置ospf驗(yàn)證,匯總,虛鏈路_第5頁
已閱讀5頁,還剩11頁未讀, 繼續(xù)免費(fèi)閱讀

下載本文檔

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

文檔簡介

1、ea 1配置ospf 虛鏈路,router-id 如圖配OP 口配置ospf 手工路由匯總3.配置ospf 接口驗(yàn)證(R1 和R 令查看結(jié)果 個路由器接口使其連通。R1的配置R1(config# interface Loopback0R1(config-if# ip address 30.1.1.1 255.255.255.0R1(config# interface Loopback1R1(config-if# ip address 30.1.2.1 255.255.255.0R1(config# interface Loopback2R1(config-if# ip address 30.1

2、.3.1 255.255.255.0R1(config# interface s0R1(config-if# ip address 10.1.1.1 255.255.255.0R1(config-if#no shutdownR2的配置R2(config# interface Loopback0R2(config-if# ip address 50.1.1.1 255.255.255.0R2(config# interface s0R2(config-if# ip address 10.1.1.2 255.255.255.0R2(config-if#clockrate 64000R2(confi

3、g-if#no shutdownR2(config# interface s1R2(config-if# ip address 20.1.1.1 255.255.255.0R2(config-if#no shutdownR3的配置R3(config# interface Loopback0R3(config-if# ip address 40.1.1.1 255.255.255.0R3(config# interface s1R3(config-if# ip address 20.1.1.2 255.255.255.0R3(config-if#clockrate 64000R3(config#

4、no shutdown步驟二: 配置ospfR1的配置R1(config#router ospf 1啟用ospf 協(xié)議,進(jìn)程號為1R1(config-router#router-id 1.1.1.1配置router-idR1(config-router#network 10.1.1.0 0.0.0.255 area 1將接口參與到區(qū)域1內(nèi)R1(config-router#network 30.1.1.0 0.0.0.255 area 0將接口參與到區(qū)域0內(nèi)R1(config-router#network 30.1.2.0 0.0.0.255 area 0R1(config-router#net

5、work 30.1.3.0 0.0.0.255 area 0R2的配置R2(config#router ospf 1R2(config-router#router-id 2.2.2.2R2(config-router#network 10.1.1.0 0.0.0.255 area 1R2(config-router#network 20.1.1.0 0.0.0.255 area 2將接口參與到區(qū)域2內(nèi)R2(config-router#network 50.1.1.0 0.0.0.255 area 1R3的配置R3(config#router ospf 2R3(config-router#rou

6、ter-id 3.3.3.3R3(config-router#network 20.1.1.0 0.0.0.255 area 2R3(config-router#network 40.1.1.0 0.0.0.255 area 2步驟三:配置ospf 虛鏈路R1的配置R1(config#router ospf 1R1(config-router# area 1 virtual-link 2.2.2.2 配置虛電路, 指對端的router-idR2的配置R2(config#router ospf 1R2(config-router# area 1 virtual-link 1.1.1.1步驟四:配

7、置ospf 手工路由匯總R1的配置R1(config#router ospf 1R1(config-router# area 0 range 30.1.0.0 255.255.252.0手工匯總路由R2的配置R2(config#router ospf 1R2(config-router# area 0 range 30.1.0.0 255.255.252.0因你的區(qū)域0已經(jīng)延伸到此步驟五:配置ospf 接口驗(yàn)證(R1 和R2)R1的配置R1(config# interface Serial0R1(config-if# ip ospf authentication message-digest啟

8、用驗(yàn)證R1(config-if# ip ospf message-digest-key 1 md5 cisco 定義密鑰R2的配置R2(config# interface Serial0R2(config-if# ip ospf authentication message-digestR2(config-if# ip ospf message-digest-key 1 md5 cisco兩端必須一致步驟六:查看路由表R1#show ip routeCodes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGPD

9、 - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter areaN1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGPi - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2ia - IS-IS inter area, * - candidate default, U

10、 - per-user static routeo - ODR, P - periodic downloaded static routeGateway of last resort is not set50.0.0.0/32 is subnetted, 1 subnetsO50.1.1.1 110/65 via 10.1.1.2, 00:09:41, Serial0OSPF 域內(nèi)學(xué)來的路由條目20.0.0.0/24 is subnetted, 1 subnetsO IA20.1.1.0 110/128 via 10.1.1.2, 00:09:31, Serial0OSPF 域間學(xué)來的路由條目

11、40.0.0.0/32 is subnetted, 1 subnetsO IA40.1.1.1 110/129 via 10.1.1.2, 00:09:31, Serial010.0.0.0/24 is subnetted, 1 subnetsC10.1.1.0 is directly connected, Serial030.0.0.0/8 is variably subnetted, 4 subnets, 2 masksC30.1.3.0/24 is directly connected, Loopback2C30.1.2.0/24 is directly connected, Loopb

12、ack1C30.1.1.0/24 is directly connected, Loopback0O30.1.0.0/22 is a summary, 00:09:32, Null0手工匯總的條目R2#show ip routeCodes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGPD - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter areaN1 - OSPF NSSA external type 1, N2 - OSPF NSSA exter

13、nal type 2E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGPi - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2ia - IS-IS inter area, * - candidate default, U - per-user static routeo - ODR, P - periodic downloaded static routeGateway of last resort is not set50.0.0.0/24

14、 is subnetted, 1 subnetsC50.1.1.0 is directly connected, Loopback020.0.0.0/24 is subnetted, 1 subnetsC20.1.1.0 is directly connected, Serial140.0.0.0/32 is subnetted, 1 subnetsO40.1.1.1 110/65 via 20.1.1.2, 00:04:48, Serial110.0.0.0/24 is subnetted, 1 subnetsC10.1.1.0 is directly connected, Serial03

15、0.0.0.0/8 is variably subnetted, 4 subnets, 2 masksO30.1.2.1/32 110/65 via 10.1.1.1, 00:04:38, Serial0O30.1.3.1/32 110/65 via 10.1.1.1, 00:04:39, Serial0O30.1.0.0/22 is a summary, 00:04:39, Null0O30.1.1.1/32 110/65 via 10.1.1.1, 00:04:39, Serial0R3#show ip routeCodes: C - connected, S - static, I -

16、IGRP, R - RIP, M - mobile, B - BGPD - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter areaN1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGPi - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2ia - IS-IS i

17、nter area, * - candidate default, U - per-user static routeo - ODR, P - periodic downloaded static routeGateway of last resort is not set50.0.0.0/32 is subnetted, 1 subnetsO IA50.1.1.1 110/65 via 20.1.1.1, 00:02:02, Serial120.0.0.0/24 is subnetted, 1 subnetsC20.1.1.0 is directly connected, Serial140

18、.0.0.0/24 is subnetted, 1 subnetsC40.1.1.0 is directly connected, Loopback010.0.0.0/24 is subnetted, 1 subnetsO IA10.1.1.0 110/128 via 20.1.1.1, 00:02:02, Serial130.0.0.0/22 is subnetted, 1 subnetsO IA30.1.0.0 110/129 via 20.1.1.1, 00:01:47, Serial1步驟七:查看鄰居表R1#show ip ospf neighbor鄰居已建立,點(diǎn)對點(diǎn)無DR 之說Nei

19、ghbor IDPriStateDead TimeAddressInterface2.2.2.21FULL/-00:00:3310.1.1.2Serial0R2#show ip ospf neighborNeighbor IDPriStateDead TimeAddressInterface1.1.1.11FULL/-00:00:3310.1.1.1Serial03.3.3.31FULL/-00:00:3420.1.1.2Serial1R3#show ip ospf neighborNeighbor IDPriStateDead TimeAddressInterface2.2.2.21FULL

20、/-00:00:3720.1.1.1Serial1步驟八:用ping 命令測試R1#ping 40.1.1.1 測試連通性!Success rate is 100 percent (5/5, round-trip min/avg/max = 56/60/68 msR1#ping 50.1.1.1!Success rate is 100 percent (5/5, round-trip min/avg/max = 32/32/36 msR2#ping 30.1.1.1!Success rate is 100 percent (5/5, round-trip min/avg/max = 32/32

21、/32 ms步驟九:顯示當(dāng)前配置信息R1的配置信息R1#sh runhostname R1!interface Loopback0ip address 30.1.1.1 255.255.255.0!interface Loopback1ip address 30.1.2.1 255.255.255.0!interface Loopback2ip address 30.1.3.1 255.255.255.0!interface Serial0ip address 10.1.1.1 255.255.255.0ip ospf authentication message-digestip ospf message-digest-key 1 md5 cisco!router ospf 1router-id 1.1.1.1area 0 range 30.1.0.0 255.255.252.0area 1 virtual-link 2.2.2.2network 10.1.1.0 0.0.0.255 area 1network 30.1.1.0 0.0.0.255 area 0network 30.1.2.0 0.0.0.255 area 0network 30.1.3

溫馨提示

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

評論

0/150

提交評論