全文预览已结束
下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
实验二十五 配置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. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2025年凌源市总工会招聘社会工作者9人备考题库含答案详解(模拟题)
- 美食选择测试题目及答案
- 宁夏美术艺考题库及答案
- 中国移动笔试题库及答案
- 炭疽热考试题及答案
- 2025陕西西安市工会系统开招聘工会社会工作者61人备考题库及答案详解一套
- 2025沈阳市铁西区面向社会公开招聘社区工作者73人备考题库含答案详解(综合题)
- 宿舍教师面试题及答案
- 盐城合格考物理试卷及答案
- 四川教师考试试题及答案
- 跨文化沟通心理学-华东师范大学中国大学mooc课后章节答案期末考试题库2023年
- 劳动合同简易下载
- 学术交流英语知到章节答案智慧树2023年哈尔滨工程大学
- 越冬维护监理实施细则
- JJF 1915-2021 倾角仪校准规范
- 部编九下语文9 《鱼我所欲也》课后习题参考答案
- 优质课-中国的农业
- 德国格屋集团提升推拉和推拉窗五金系统介绍
- GB/T 12668.4-2006调速电气传动系统第4部分:一般要求交流电压1000V以上但不超过35kV的交流调速电气传动系统额定值的规定
- CB/T 466-1995法兰铸钢闸阀
- (更新版)中国移动政企行业认证题库大全-下(判断题汇总)
评论
0/150
提交评论