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

[LAB战报] 10月9号 RS LAB PASS 关于EIGRP METRIC计算的一点分享

[复制链接]
发表于 2014-10-10 18:39:31 | 显示全部楼层 |阅读模式
一直不清楚EIGRP 的 cost 计算:5 o! [- V1 g1 H) Y& ]6 c. J/ X0 O
/ E' y4 }3 H# J0 Z. U
在这做个总结, 这个是EIGRP的基础知识, 属于实验考试范围.
6 j  ^7 n  P+ k9 U9 U5 |6 C( W
7 _" g% o" i0 I0 p& U4 N; X2 l
The formulae for calculating EIGRP metric is:

. f" G0 b& l5 w" O; q
metric = [K1 * bandwidth + (K2 * bandwidth) / (256 - load) + K3 * delay] * [K5 / (reliability + K4)]

0 `" W5 ~0 s! [$ X  }' F
k1=bandwidth
k2=load
k3=delay
k4=reliability
k5=MTU
1 Q9 ~, d% L) \. Q
usuallly only Bandwidth and Delay are considered for Bandwidth calculation (by default) . so K1 = 1 and K3 = 1 and rest all are Zero. (although you can change these metric weights (k- values))

* m, V' r& K+ m( r, D  |9 P
applying that on the formula.
/ B7 A, y7 e2 r1 [9 T! Q2 S, _
the Metric would be
% {3 O# U6 B* m; B- V
256 *( (k1 * BW) + (K3 * Delay))
- }; }4 p) Y7 m0 z. X3 O
2 \3 F) M2 V1 m+ m$ B0 _
-----------------------------------
For example:

$ I. F# Y1 K5 f1 j6 r& u
k1=bandwidth  1000 k
k2=load           10
k3=delay         2000
k4=reliability   255
k5=MTU          1500
# ?; T  a3 H9 F5 Z3 _) {* d' }
so by default the cost shoud be :
256 *( (1 * 1000) + (1 * 2000)) == 768000

/ q4 t. p9 P$ h- W" c
if change the default value for k1-k5 to all 1 (metric weights 0 1 1 1 1 1)
+ j5 _/ {4 h! o, f( m& ?
then the cost shoud be :
Metric = 256*[(1 * 1000) + (1 * 1000)/(256-10) + (1*2000)]*(1/(255 + 1)) == 3004

1 p, t( n! r# P1 P+ i3 n: i

! ^% d* O* g# ]7 V! {
2 ?; |- {: y% v: N! t
发表于 2014-10-11 12:56:18 | 显示全部楼层
沙发~支持楼主
板凳 2014-10-11 12:56:18 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2014-10-12 22:58:44 | 显示全部楼层
拿分走人呵呵,楼下继续!
地板 2014-10-12 22:58:44 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2014-10-15 14:18:57 | 显示全部楼层
拿分走人呵呵,楼下继续!
8# 2014-10-15 14:18:57 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2014-10-15 20:15:10 | 显示全部楼层
漂亮~太棒了,感谢楼主
9# 2014-10-15 20:15:10 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2014-10-19 23:12:52 | 显示全部楼层
沙发~支持楼主
10# 2014-10-19 23:12:52 回复 收起回复
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-5-9 12:53 , Processed in 0.108045 second(s), 24 queries , Redis On.  

  Powered by Discuz!

  © 2001-2025 HH010.COM

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