




已阅读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. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 三年级英语期末复习策略分析及改进措施
- 2025年流行病学常见流行病调查分析案例考核答案及解析
- 2025年精神科抑郁症患者评估量表测试答案及解析
- 2025年内科糖尿病患者的饮食指导模拟考试答案及解析
- 2025年肾脏病学综合能力测试卷答案及解析
- 2025年内分泌科糖尿病并发症知识检测试卷答案及解析
- 2025年肝胆胰腺疾病诊疗知识综合测试答案及解析
- 2025年儿科小儿神经系统急症护理综合试题答案及解析
- 2025年心理咨询心理评估与干预技能培训模拟考试卷答案及解析
- 2025年精神科精神疾病诊断测验答案及解析
- 《2025年9.3纪念抗日战争胜利80周年阅兵式观后感》
- 版挖掘机租赁合同
- 语言学概论全套教学课件
- JJF 1265-2022生物计量术语及定义
- GB/T 8118-2010电弧焊机通用技术条件
- GB/T 17421.7-2016机床检验通则第7部分:回转轴线的几何精度
- 电工技能测试
- 药事管理学全套课件
- 数字色彩课件
- 社区心理学课件
- 质量整改通知单(样板)
评论
0/150
提交评论