版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
1、ea 1配置ospf 虛鏈路,router-id 如圖配OP 口配置ospf 手工路由匯總3.配置ospf 接口驗(yàn)證(R1 和R 令查看結(jié)果 個(gè)路由器接口使其連通。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)程號(hào)為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 配置虛電路, 指對(duì)端的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)對(duì)點(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 命令測(cè)試R1#ping 40.1.1.1 測(cè)試連通性!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等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 贛西科技職業(yè)學(xué)院《中學(xué)科技作品創(chuàng)作》2023-2024學(xué)年第一學(xué)期期末試卷
- 《護(hù)理管理制度培訓(xùn)》課件
- 勞動(dòng)小學(xué)生課件六上浙教版
- 贛東學(xué)院《管理研究方法》2023-2024學(xué)年第一學(xué)期期末試卷
- 甘肅中醫(yī)藥大學(xué)《線描人物》2023-2024學(xué)年第一學(xué)期期末試卷
- 入礦培訓(xùn)課件
- 手指流血安全教育課件
- 安全理念課件標(biāo)題撰寫
- 2021一建考試《建設(shè)工程項(xiàng)目管理》題庫(kù)試卷考點(diǎn)題庫(kù)及答案解析五
- 《企業(yè)并購(gòu)管理》課件
- 《廉政講堂格言》課件
- 2024年03月中國(guó)農(nóng)業(yè)發(fā)展銀行內(nèi)蒙古分行校園招考擬招錄人員筆試歷年參考題庫(kù)附帶答案詳解
- 2024年盾構(gòu)操作工職業(yè)技能競(jìng)賽理論考試題庫(kù)(含答案)
- 浙江省紹興市越城區(qū)2023-2024學(xué)年四年級(jí)上學(xué)期數(shù)學(xué)期末考試試卷
- 廣東省廣州市海珠區(qū)2023-2024學(xué)年九年級(jí)上學(xué)期期末英語(yǔ)試題(答案)
- ISO 56001-2024《創(chuàng)新管理體系-要求》專業(yè)解讀與應(yīng)用實(shí)踐指導(dǎo)材料之8:“5領(lǐng)導(dǎo)作用-5.2創(chuàng)新方針”(雷澤佳編制-2025B0)
- (西北卷)名校教研聯(lián)盟2025屆高三12月聯(lián)考英語(yǔ)試卷(含答案解析)
- 金科新未來大聯(lián)考2025屆高三12月質(zhì)量檢測(cè)語(yǔ)文試題(含答案解析)
- 江蘇省2025年高中學(xué)業(yè)水平合格考?xì)v史試卷試題(含答案詳解)
- 《地下水環(huán)境背景值統(tǒng)計(jì)表征技術(shù)指南(試行)》
- 大學(xué)試卷(示范)
評(píng)論
0/150
提交評(píng)論