eigrp 扩散算法_OSPF和EIGRP的COST计算方法

本文详细介绍了OSPF和EIGRP协议中COST(度量值)的计算方法,包括OSPF的Metric=100000000/(带宽*1000)公式和EIGRP的Metric计算公式,同时提供了具体的计算实例,展示了不同路由器接口的带宽、延迟、可靠性等参数如何影响路由选择。通过对R1、R2、R3和R4路由器的配置和路由表的展示,深入解析了路由选择过程中的度量值计算。
摘要由CSDN通过智能技术生成

ospf:

R1#show int s0/0

Serial0/0 is up, line protocol is up

Hardware is M4T

Internet address is 10.1.1.1/24

MTU 1500 bytes, BW 1544 Kbit, DLY 20000 usec,

reliability 255/255, txload 1/255, rxload 1/255

......

ospf的cost计算公式 Metric=100000000/(带宽*1000)

计算实例:Metric=100000000/(1544*1000)=64 (串口)

eigrp:

Metric = [K1 * bandwidth + ((K2 * bandwidth) / (256 – load)) + K3 * delay]*[K5 / (reliability + K4)]

default K values :K1 = 1, K2 = 0, K3 = 1, K4 = 0, K5 = 0

When k4 and k5 are 0, the  [K5 / (reliability + K4)] portion of the equation is n0t factored in to the metric. Therefore, with the default constant values, the metric equation is as follows:

Metric=Bandwidth + Delay

Bandwidth = 256 X 10,000,000/bandwidth in kbps

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值