设为首页收藏本站language 语言切换
查看: 1402|回复: 1
收起左侧

EIGRP的配置

[复制链接]
发表于 2013-7-30 18:51:01 | 显示全部楼层 |阅读模式
实验目的:各路由器之间使用EIGRP路由协议实现互连互通
实验拓扑图如下:
122.jpg
各路由器的实验配置如下:
R1(config)# router eigrp 100
R1(config-router)# no auto-summary
R1(config-router)# network 12.0.0.0 0.0.0.3
R1(config-router)# network 13.0.0.0 0.0.0.3
R1(config-router)# end
R2(config)# router eigrp 100
R2(config-router)# no auto-summary
R2(config-router)# network 12.0.0.0 0.0.0.3
R2(config-router)# network 23.0.0.0 0.0.0.3
R2(config-router)# end
R3(config)# router eigrp 100
R3(config-router)# no auto-summary
R3(config-router)# network 13.0.0.0 0.0.0.3
R3(config-router)# network 23.0.0.0 0.0.0.3
R3(config-router)# end
R1#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 route
Gateway of last resort is not set
23.0.0.0/30 is subnetted, 1 subnets
D 23.0.0.0 [90/2681856] via 13.0.0.2, 00:00:12, Serial0/1
[90/2681856] via 12.0.0.2, 00:00:12, Serial0/0
12.0.0.0/30 is subnetted, 1 subnets
C 12.0.0.0 is directly connected, Serial0/0
13.0.0.0/30 is subnetted, 1 subnets
C 13.0.0.0 is directly connected, Serial0/1
说明: [90/2681856] [协议管理距离/Metric度量值]
R1#show interfaces s0/0
Serial0/0 is up, line protocol is up
Hardware is M4T
Internet address is 12.0.0.1/30
MTU 1500 bytes, BW 1544 Kbit, DLY 20000 usec,
reliability 255/255, txload 1/255, rxload 1/255
Metric= [ 107/最小带宽(k) + (延迟+延迟)/10]×256
Metric= [ 107/1544 + 4000] ×256
Metric= [ 6476 + 4000] ×256
Metric= 2681856
说明:当107/1544 时候,会出现小数点,立即取整数位,舍弃小数点。
R1# show ip eigrp topology
P 23.0.0.0/30, 2 successors, FD is 2681856
via 13.0.0.2 (2681856/2169856), Serial0/1
via 12.0.0.2 (2681856/2169856), Serial0/0
R1# config ter
R1(config)# interface s0/0
R1(config-if)# bandwidth 1540
R1(config-if)# end
R1# show ip eigrp topology
P 23.0.0.0/30, 1 successors, FD is 2681856
via 13.0.0.2 (2681856/2169856), Serial0/1
via 12.0.0.2 (2686208/2169856), Serial0/0
结论:路由中的Metric= Successor值= 最小的FD值
R1#show ip eigrp neighbors //查看邻居信息

发表于 2013-9-8 10:56:20 | 显示全部楼层
沙发 2013-9-8 10:56:20 回复 收起回复
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 论坛注册

本版积分规则

QQ|Archiver|手机版|小黑屋|sitemap|鸿鹄论坛 ( 京ICP备14027439号 )  

GMT+8, 2025-2-9 04:27 , Processed in 0.066349 second(s), 16 queries , Redis On.  

  Powered by Discuz!

  © 2001-2025 HH010.COM

快速回复 返回顶部 返回列表