




免费预览已结束,剩余1页可下载查看
下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
OSPF Stub、Totally Stubby区域配置【实验名称】 OSPF Stub、Totally Stubby区域配置【实验目的】 掌握OSPF各种类型区域的配置技术。【背景描述】 你是一名高级技术网络工程师,某企业的网络整个的网络环境是ospf。为了减少路有表的条目,提高路由器工作效率,需要配置不同的区域属性。【实现功能】 通过对区域属性的定义,减少路有表的条目,提高路由器工作效率。【实验拓扑】 【实验设备】 R2624路由器(3台)、V35DCE(2根)、V35DTE(2根)【实验步骤】 第一步:基本配置Red-Giantenable Red-Giant#conf tRed-Giant(config)#hostname R1R1(config)#int serial 0R1(config-if)#ip add 192.168.12.1 255.255.255.0R1(config-if)#cl ra 64000R1(config-if)# no shR1(config-if)#exiR1(config)#int loo 0R1(config-if)#ip add 1.1.1.1 255.255.255.0Red-Giant#configure terminal Red-Giant(config)#hostname R2R2(config)#interface serial 0R2(config-if)#ip address 192.168.12.2 255.255.255.0R2(config-if)#no shutdown R2(config-if)#exiR2(config)#interface serial 1R2(config-if)#ip address 192.168.23.2 255.255.255.0R2(config-if)#clock rate 64000R2(config-if)#no shutdownRed-Giant#conf tRed-Giant(config)#hos R3R3(config)#int s0R3(config-if)#ip add 192.168.23.3 255.255.255.0R3(config-if)#ino shR3(config-if)#end验证测试: R3#ping 192.168.23.2Type escape sequence to abort.Sending 5, 100-byte ICMP Echoes to 192.168.23.2, timeout is 2 seconds:!R1#ping 192.168.12.2Type escape sequence to abort.Sending 5, 100-byte ICMP Echoes to 192.168.12.2, timeout is 2 seconds:!第二步:配置路由协议 OSPFR1(config)#router os 1R1(config-router)#net 192.168.12.0 0.0.0.255 area 0R1(config-router)#net 1.1.1.0 0.0.0.255 area 1R1(config-router)#endR2(config)#router ospf 1R2(config-router)#network 192.168.12.0 0.0.0.255 area 0R2(config-router)#net 192.168.23.0 0.0.0.255 area 2R3(config)#router os 1R3(config-router)#net 192.168.23.0 0.0.0.255 area 2验证测试:R3#sh ip ro 1.0.0.0/32 is subnetted, 1 subnetsO IA 1.1.1.1 110/97 via 192.168.23.2, 00:01:52, Serial0O IA 192.168.12.0/24 110/96 via 192.168.23.2, 00:01:52, Serial0C 192.168.23.0/24 is directly connected, Serial0第三步:配置完全末节区域R3(config)#router os 1R3(config-router)#area 2 stub ! 配置area 2 为末节区域R2(config)#router os 1R2(config-router)#area 2 stub no-summary ! 配置area 2 为完全末节区域验证测试:R3#sh ip roGateway of last resort is 192.168.23.2 to network 0.0.0.0C 192.168.23.0/24 is directly connected, Serial0O*IA 0.0.0.0/0 110/49 via 192.168.23.2, 00:15:15, Serial0【注意事项】l 只有在完全末节区域的路由器才能达到路由表最小化;l 末节区域的配置需要在其区域中所有路由器上配置。【参考配置】R3#sh runCurrent configuration:!version 6.14(2)!hostname R3!ip subnet-zerointerface FastEthernet0 no ip address!interface FastEthernet1 no ip address shutdown!interface FastEthernet2 no ip addressshutdown!interface FastEthernet3 no ip address shutdown!interface Serial0 ip address 192.168.23.3 255.255.255.0!interface Serial1 no ip address shutdown!router ospf 1 network 192.168.23.0 0.0.0.255 area 2 area 2 stub!ip classless!line con 0line aux 0line vty 0 4 no loginR2#sh runCurrent configuration:!version 6.14(2)!hostname R2!ip subnet-zero!interface FastEthernet0 no ip address shutdown!interface FastEthernet1 no ip address shutdown!interface FastEthernet2no ip address shutdown!interface FastEthernet3 no ip address shutdown!interface Serial0 ip address 192.168.12.2 255.255.255.0!interface Serial1 ip address 192.168.23.2 255.255.255.0 clock rate 64000!router ospf 1 network 192.168.12.0 0.0.0.255 area 0 network 192.168.23.0 0.0.0.255 area 2 area 2 stub no-summary!ip classless!line con 0line aux 0line vty 0 4 login!endR1#sh runCurrent configuration:!version 6.14(2)!hostname R1!ip subnet-zero!interface Loopback0 ip address 1.1.1.1 255.255.255.0!interface FastEthernet0 no ip address shutdown!interface FastEthernet1 no ip addressshutdown!interface FastEthernet2 no ip address shutdown!interface FastEthernet3 no ip address shutdown!interface Serial0 ip address 192.168.12.1 255.255.255.0 clock ra
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2025河北省地震局事业单位招聘工作人员1人(第二批)考前自测高频考点模拟试题及答案详解(有一套)
- 2025年山西云时代技术有限公司校园招聘模拟试卷及答案详解1套
- 东方教师招聘题库及答案
- 2025江苏南京铁道职业技术学院招聘25人考前自测高频考点模拟试题及答案详解(全优)
- 2025年地理中考必考试题及答案
- 哈三中2025-2026学年度高一上学期十月月考英语试卷和答案
- 2025河南中钢网招聘241人模拟试卷及一套完整答案详解
- 2025春季内蒙古包头市中心医院引进高层次和紧缺急需人才招聘模拟试卷附答案详解(典型题)
- 2025昆明学院招聘准聘制教师岗位工作人员考前自测高频考点模拟试题附答案详解(完整版)
- 2025江苏常州经济开发区招聘村人员12人模拟试卷完整答案详解
- 环境因素识别与风险评价培训课件
- 2025北京大兴区旧宫镇红星派出所流动人口和出租房屋管理员招录1人考前自测高频考点模拟试题及答案详解(全优)
- 磷化工复工安全培训总结课件
- 2025至2030中国靶材用高纯铜行业投资潜力及未来竞争现状调研报告
- 2025年党建知识应知应会测试题库(附答案)
- 2025年4月自考02204经济管理试题及答案
- 肺癌患者随访服务记录表
- 高三班主任经验交流课件
- 小学英语三年级上册全册课件
- 系统生物学-第三讲-转录组学课件
- 2021新教材高中历史第四单元资本主义制度的确立-教学课件-人教版历史纲要下
评论
0/150
提交评论