已阅读5页,还剩4页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
管理距离如图:基本配置R1Routerenable Router#configure terminal Router(config)#hostname r1r1(config)#line console 0r1(config-line)#logging synchronous r1(config-line)#exec-timeout 0r1(config-line)#exitr1(config)#interface serial 1/2r1(config-if)#ip address 12.12.12.1 255.255.255.252r1(config-if)#no shutdown r1(config-if)#exitr1(config)#interface loopback 0r1(config-if)#ip address 1.1.1.1 255.255.255.0r1(config-if)#no shutdown r1(config-if)#exitr1(config)#exitR2Routerenable Router#configure terminal Router(config)#hostname r2r2(config)#line console 0r2(config-line)#logging synchronous r2(config-line)#exec-timeout 0r2(config-line)#exitr2(config)#interface serial 1/3r2(config-if)#ip address 12.12.12.2 255.255.255.252r2(config-if)#no shutdown r2(config-if)#exitr2(config)#interface serial 1/2r2(config-if)#ip address 12.12.12.5 255.255.255.252r2(config-if)#no shutdown r2(config-if)#exitr2(config)#int loopback 0r2(config-if)#ip address 2.2.2.2 255.255.255.0r2(config-if)#no shutdown r2(config-if)#exitr2(config)#exitR3Routerenable Router#configure terminal Router(config)#hostname r3r3(config)#line console 0r3(config-line)#logging synchronous r3(config-line)#exec-timeout 0r3(config-line)#exitr3(config)#interface serial 1/3r3(config-if)#ip address 12.12.12.6 255.255.255.252r3(config-if)#no shutdown r3(config-if)#exitr3(config)#interface loopback 0r3(config-if)#ip address 3.3.3.3 255.255.255.0r3(config-if)#no shutdown r3(config-if)#exitr3(config)#exit配置EigrpR1r1#configure terminal r1(config)#router eigrp 1r1(config-router)#network 12.12.12.1 0.0.0.3r1(config-router)#network 1.1.1.1 0.0.0.255r1(config-router)#no auto-summary r1(config-router)#exitr1(config)#exitR2r2#configure terminal r2(config)#router eigrp 1r2(config-router)#network 12.12.12.2 0.0.0.3r2(config-router)#network 12.12.12.5 0.0.0.3r2(config-router)#network 2.2.2.2 0.0.0.255r2(config-router)#no auto-summaryr2(config-router)#exitr2(config)#exitR3r3#configure terminal r3(config)#router eigrp 1r3(config-router)#network 12.12.12.6 255.255.255.252r3(config-router)#network 3.3.3.3 0.0.0.255r3(config-router)#no auto-summary r3(config-router)#exitr3(config-router)#exitr3(config)#exit显示路由表R1r1#show 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/24 is subnetted, 1 subnetsC 1.1.1.0 is directly connected, Loopback0 2.0.0.0/24 is subnetted, 1 subnetsD 2.2.2.0 90/2297856 via 12.12.12.2, 00:00:13, Serial1/2 3.0.0.0/24 is subnetted, 1 subnetsD 3.3.3.0 90/2809856 via 12.12.12.2, 00:01:07, Serial1/2 12.0.0.0/30 is subnetted, 2 subnetsD 12.12.12.4 90/2681856 via 12.12.12.2, 00:02:44, Serial1/2C 12.12.12.0 is directly connected, Serial1/2R2r2#show 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 not set 1.0.0.0/24 is subnetted, 1 subnetsD 1.1.1.0 90/2297856 via 12.12.12.1, 00:03:31, Serial1/3 2.0.0.0/24 is subnetted, 1 subnetsC 2.2.2.0 is directly connected, Loopback0 3.0.0.0/24 is subnetted, 1 subnetsD 3.3.3.0 90/2297856 via 12.12.12.6, 00:01:19, Serial1/2 12.0.0.0/30 is subnetted, 2 subnetsC 12.12.12.4 is directly connected, Serial1/2C 12.12.12.0 is directly connected, Serial1/3R3r3#show 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 not set 1.0.0.0/24 is subnetted, 1 subnetsD 1.1.1.0 90/2809856 via 12.12.12.5, 00:01:55, Serial1/3 2.0.0.0/24 is subnetted, 1 subnetsD 2.2.2.0 90/2297856 via 12.12.12.5, 00:00:36, Serial1/3 3.0.0.0/24 is subnetted, 1 subnetsC 3.3.3.0 is directly connected, Loopback0 12.0.0.0/30 is subnetted, 2 subnetsC 12.12.12.4 is directly connected, Serial1/3D 12.12.12.0 90/2681856 via 12.12.12.5, 00:01:55, Serial1/3查看邻居关系R1r1#show ip eigrp neighbors IP-EIGRP neighbors for process 1H Address Interface Hold Uptime SRTT RTO Q Seq (sec) (ms) Cnt Num0 12.12.12.2 Se1/2 13 00:12:05 420 2520 0 23邻居12.12.12.2 13秒后HolddownR2r2#show ip eigrp neighbors IP-EIGRP neighbors for process 1H Address Interface Hold Uptime SRTT RTO Q Seq (sec) (ms) Cnt Num1 12.12.12.6 Se1/2 12 00:12:10 366 2196 0 130 12.12.12.1 Se1/3 10 00:13:57 385 2310 0 13邻居12.12.12.1 10秒后Holddown邻居12.12.12.6 12秒后HolddownR3r3#show ip eigrp neighbors IP-EIGRP neighbors for process 1H Address Interface Hold Uptime SRTT RTO Q Seq (sec) (ms) Cnt Num0 12.12.12.5 Se1/3 12 00:13:38 364 2184 0 24邻居12.12.12.5 12秒后Holddown修改R2的管理距离修改全局管理距离R2r2#configure terminal Enter configuration commands, one per line. End with CNTL/Z.r2(config)#router eigrp 1r2(config-router)#distanr2(config-router)#distance eigrp 89 169r2(config-router)#exitr2(config)#exit查看路由表R1r1#show 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 not set 1.0.0.0/24 is subnetted, 1 subnetsC 1.1.1.0 is directly connected, Loopback0 2.0.0.0/24 is subnetted, 1 subnetsD 2.2.2.0 90/2297856 via 12.12.12.2, 00:01:28, Serial1/2 3.0.0.0/24 is subnetted, 1 subnetsD 3.3.3.0 90/2809856 via 12.12.12.2, 00:01:28, Serial1/2 12.0.0.0/30 is subnetted, 2 subnetsD 12.12.12.4 90/2681856 via 12.12.12.2, 00:01:28, Serial1/2C 12.12.12.0 is directly connected, Serial1/2R2r2#show 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 not set 1.0.0.0/24 is subnetted, 1 subnetsD 1.1.1.0 89/2297856 via 12.12.12.1, 00:06:18, Serial1/3 2.0.0.0/24 is subnetted, 1 subnetsC 2.2.2.0 is directly connected, Loopback0 3.0.0.0/24 is subnetted, 1 subnetsD 3.3.3.0 89/2297856 via 12.12.12.6, 00:06:17, Serial1/2 12.0.0.0/30 is subnetted, 2 subnetsC 12.12.12.4 is directly connected, Serial1/2C 12.12.12.0 is directly connected, Serial1/3R3r3#show 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 not set 1.0.0.0/24 is subnetted, 1 subnetsD 1.1.1.0 90/2809856 via 12.12.12.5, 00:03:30, Serial1/3 2.0.0.0/24 is subnetted, 1 subnetsD 2.2.2.0 90/2297856 via 12.12.12.5, 00:03:30, Serial1/3 3.0.0.0/24 is subnetted, 1 subnetsC 3.3.3.0 is directly connected, Loopback0 12.0.0.0/30 is subnetted, 2 subnetsC 12.12.12.4 is directly connected, Serial1/3D 12.12.12.0 90/2681856 via 12.12.12.5, 00:03:30, Serial1/3R1和R3的没有变。R2的管理距离变成了89。(这里其实R2的域外管理距离也改变了。只是没有显示出来而已)修改单独的管理距离R2r2#configure terminal r2(config)#router eigrp 1r2(config-router)#distance 91 12.12.12.1 0.0.0.0r2(config-router)#exitr2(config)#exit查看路由表R2r2#show 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 - OSP
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2026屏山县属国有企业屏山之语酒店管理有限公司第三批公开招聘2人考试模拟试题及答案解析
- 2026广西钦州市卫生学校公开招聘编外英语学科专任教师1人考试备考题库及答案解析
- 2026金华市基层事业单位专项招聘“三支一扶”计划服务期满考核合格人员1人笔试备考试题及答案解析
- 高县交通运输局高县交通运输综合行政执法大队公开招聘执法辅助人员(2人)笔试备考试题及答案解析
- 2026年湖南大学医院科创港劳务派遣人员招聘考试备考题库及答案解析
- 2027清华附中房山学校教师(含实习教师)招聘笔试备考题库与答案解析
- 眉山市东坡区农业农村局2026年招募常态化帮扶专员岗位(1人)笔试备考题库与答案解析
- 2026贵州食品工程职业学院高层次人才引进笔试模拟试题及答案解析
- 2026年三明市金湖旅游职业中专学校秋季招聘笔试备考题库与答案解析
- 2026黑龙江教师发展学院“黑龙江人才周”公开招聘工作人员3人笔试备考题库与答案解析
- 2026年贵州省兴义市房地产市场现状调研报告
- 铁路局招聘考试面试试题及答案(2026年成都)
- 整县屋顶分布式光伏项目绿色施工方案
- GB/T 18006.1-2025塑料一次性餐饮具通用技术要求
- GB/T 4337-2025金属材料疲劳试验旋转弯曲方法
- XJJ 075-2016 建筑消能减震应用技术规程
- 输变电工程工程量清单计价规范宣贯材料
- 手术室精益管理汇报
- (重点)水利安全员B证近年考试真题题库-含答案
- 北京租房合同范本2004
- 化工厂冬季防冻、防凝实施方案
评论
0/150
提交评论