



全文预览已结束
下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
实验二十五 配置OSPF末节区域和完全末区域一.实验目的通过本实验可以掌握:(1)知道如何末节区域和完全末节区域(2)OSPF末节区域和完全开区域的应用,并且通告网络(3)查看和调试 OSPF 路由协议相关信息二、实验要求:1):知道什么是OSPF末节区域和完全末区域2): 知道如何配置OSPF末节区域和完全末节区域三、 实验内容:1、通过拓朴图来研究OSPF末节区域和完全末节区域配置四、实验步聚 实验拓朴:1).配置R1、R2和R3各个接口上IP 地址R1(config)#int s0/0R1(config-if)#ip add 192.168.1.1 255.255.255.0R1(config-if)#clock rate 64000R1(config-if)#no shR1(config)#int lo0R1(config-if)#ip add 1.1.1.1 255.255.255.0R2(config)#int s0/0R2(config-if)#ip add 192.168.1.2 255.255.255.0R2(config-if)#no shR2(config)#int s0/1R2(config-if)#ip add 192.168.2.1 255.255.255.0R2(config-if)#clock rate 64000R2(config-if)#no shR2(config)#int lo0R2(config-if)#ip add 2.2.2.2 255.255.255.0R3(config)#int s0/1R3(config-if)#ip add 192.168.2.2 255.255.255.0R3(config-if)#no shR3(config)#int lo0R3(config-if)#ip add 3.3.3.3 255.255.255.02).宣告OSPFR1(config)#router ospf 1 R1(config-router)#net 192.168.1.0 0.0.0.255 area 0 R1(config-router)#net 1.1.1.0 0 0.0.0.255 area 0R2(config)#router ospf 1 R2(config-router)#net 192.168.1.0 0 0.0.0.255 area 0 R3(config-router)#net 2.2.2.0 0 0.0.0.255 area 0 R2(config-router)#net 192.168.2.0 0 0.0.0.255 area 2R3(config)#router ospf 1 R3(config-router)#net 192.168.2.0 0 0.0.0.255 area 2 R3(config-router)#net 3.3.3.0 0 0.0.0.255 area 23).查看路由表R3#sh ip route Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2 i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2 ia - IS-IS inter area, * - candidate default, U - per-user static route o - ODR, P - periodic downloaded static routeGateway of last resort is not set 1.0.0.0/32 is subnetted, 1 subnetsO IA 1.1.1.1 110/129 via 192.168.2.1, 00:00:00, Serial0/1 2.0.0.0/32 is subnetted, 1 subnetsO IA 2.2.2.2 110/65 via 192.168.2.1, 00:00:00, Serial0/1 3.0.0.0/24 is subnetted, 1 subnetsC 3.3.3.0 is directly connected, Loopback0O IA 192.168.1.0/24 110/128 via 192.168.2.1, 00:00:00, Serial0/1C 192.168.2.0/24 is directly connected, Serial0/14).起末节区域 R2(config-router)#area 2 stub R3(config-router)#area 2 stub5).查看路由表 R3#sh ip routeCodes: C - connected, S - static, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2 i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2 ia - IS-IS inter area, * - candidate default, U - per-user static route o - ODR, P - periodic downloaded static routeGateway of last resort is 192.168.2.1 to network 0.0.0.0 1.0.0.0/32 is subnetted, 1 subnetsO IA 1.1.1.1 110/129 via 192.168.2.1, 00:00:13, Serial0/1 2.0.0.0/32 is subnetted, 1 subnetsO IA 2.2.2.2 110/65 via 192.168.2.1, 00:00:13, Serial0/1 3.0.0.0/24 is subnetted, 1 subnetsC 3.3.3.0 is directly connected, Loopback0O IA 192.168.1.0/24 110/128 via 192.168.2.1, 00:00:13, Serial0/1C 192.168.2.0/24 is directly connected, Serial0/1O*IA 0.0.0.0/0 110/65 via 192.168.2.1, 00:00:13, Serial0/1上面的输出结果表明,末李区域可以看到区域间路由和一条默认路由R3#sh ip ospf database OSPF Router with ID (3.3.3.3) (Process ID 1) Router Link States (Area 2)Link ID ADV Router Age Seq# Checksum Link count2.2.2.2 2.2.2.2 353 0x80000006 0x002983 23.3.3.3 3.3.3.3 352 0x80000004 0x004E3F 3 Summary Net Link States (Area 2)Link ID ADV Router Age Seq# Checksum0.0.0.0 2.2.2.2 375 0x80000001 0x0075C01.1.1.1 2.2.2.2 375 0x80000002 0x00C7292.2.2.2 2.2.2.2 375 0x80000002 0x001716192.168.1.0 2.2.2.2 375 0x80000002 0x002F5C看到链路状态数据库里包含类型1和型3的LSA6).配置完全末节区域R2(config-router)#area 2 stub no-summary R3(config-router)#area 2 stub no-summary7)查看路由表R3#sh ip routeCodes: C - connected, S - static, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2 i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2 ia - IS-IS inter area, * - candidate default, U - per-user static route o - ODR, P - periodic downloaded static routeGateway of last resort is 192.168.2.1 to network 0.0.0.0 2.0.0.0/32 is subnetted, 1 subnetsO 2.2.2.2 110/65 via 192.168.2.1, 00:00:21, Serial0/1 3.0.0.0/24 is subnetted, 1 subne
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 植物新品种权转让与农业知识产权保护协议
- 股权激励与公司战略目标同步合作协议
- 子女意外伤害医疗报销分割协议
- 智能家居系统研发与市场推广合作合同
- 知识产权税费减免政策解析及实施合同
- 危险化学品生产企业安全员劳动合同
- 桥梁抗震支架安装及后期养护合作协议
- 知识产权分割与知识产权保护及运营协议
- 医疗器械临床试验项目临床研究资料保密协议
- 子女婚嫁事宜协商及财产分配协议
- 初中电与磁试题及答案
- 幼教通识知识试题及答案
- XXXX年云南初中信息技术考试题库
- 历史一战二战试卷及答案
- 2025-2030中国户外背包行业市场发展趋势与前景展望战略研究报告
- 2025广东二模语文(含答案)
- 消渴肾病的中医护理方案
- 《高压输电线路巡检维护合同》
- 《中国古典文学中的咏鱼诗与生态文化》论文
- 商品混凝土管理制度
- 轻钢龙骨隔墙施工方案
评论
0/150
提交评论