Show IP route

来源:百度知道 编辑:UC知道 时间:2024/07/05 02:42:03
Codes: C - connected, S - static, I - IGRP, R - RIP,
D - EIGRP, EX - EIGRP external, O - OSPF,
(text omitted)
* - candidate default,
Gateway of last resort is not set
172.16.0.0/24 is subnetted, 1 subnets
D 172.16.1.0 [90/10639872] via 10.1.2.2, 06:04:01, Serial0/0
10.0.0.0/24 is subnetted, 4 subnets
D 10.1.3.0 [90/10514432] via 10.1.2.2, 05:54:47, Serial0/0
D 10.3.1.0 [90/10639872] via 10.1.2.2, 06:19:41, Serial0/0
C 10.1.2.0 is directly connected, Serial0/0
C 10.1.1.0 is directly connected, Ethernet0/0
这几句话解释下意思!!谢谢
10639872这几个数字是什么意思?下面几行是什么意思?谢谢

10639872是EIGRP的度量
给你个计算公式自己算算
EIGRP复合度量=(10000000/链路上最低带宽)*256+(总延迟/10)*256
延迟是可以配置的,默认下,快速以太网为100微妙,T1为20000微妙

楼主,您好。
sh ip ro是思科的路由表信息。
先从第一行说起:
C代表直连路由,S代表静态路由,I代表IGRP路由,R代表RIP路由,D代表内部EIGRP路由,EX是外部的,O代表是OSPF协议。
然后下面的是路由信息。
这个路由表里有直连和动态路由两种:
D代表的是内部EIGRP路由协议,管理距离是:90
C代表的是直连,管理距离是:0。
10639872代表的是EIGRP度量值。
默认下,EIGRP度量值=带宽+延迟

e.g.:
172.16.0.0/24 is subnetted, 1 subnets
D 172.16.1.0 [90/10639872] via 10.1.2.2, 06:04:01, Serial0/0
1)172.16.0.0/24 is subnetted, 1 subnets:进行了子网划分,有一个子网是:172.16.1.0 。
2)D:路由条目是通过EIGRP路由协议学习来的。
3)172.16.1.0:代表的是目的网络。
4)90:EIGRP路由协议的默认管理距离。汇总的是:5;内部的是:90;外部的是:170
5)10639872:度量值,也就是metric,从路由器到达网络172.16.1.0的度量值为10639872
6)10.1.2.2:下一跳地址
7)06:04:01:已经学习了6小时4分1秒
8)Serial0/0:接收该路由条目的本路由器的接口。

路由管理距离表