EIGRP Metric(度量值)
Eigrp_topology.png
- 跟IGRP一樣使用一下五個(gè)參數(shù)來(lái)計(jì)算度量值:
-
Bandwidth 帶寬
沿途最小帶寬
-
Delay 延時(shí)
時(shí)延總和
Reliability 可靠性
Loading 負(fù)載
MTU 最大傳輸單元
EIGRP的度量值是IGRP的256倍
這是eigrp的評(píng)選三好生的五要素“德智體美勞”,但總有些決定因素,比如智力
EIGRP 度量值的計(jì)算方法
- 默認(rèn)情況下者疤, K1=K3=1,K2=K4=K5=0,公式等于Metric = 256 * [bandwidth + delay]
bandwidth = 10^7 / BW(min,最小帶寬)
delay = delay(sum,延時(shí)總和) / 10
Metric = 256×(10^7/BWmin + Delaysum/10)
驗(yàn)證:R1->44.1.1.0
Metric=256*[10000000/1544+(20000+1000+5000)/10]
=256[6476(去整奴璃,向小取)+2600]
=2323456
R1#show ip route 44.1.1.1 255.255.255.0
Routing entry for 44.1.1.0/24
Known via "eigrp 90", distance 90, metric 2323456, type internal
Redistributing via eigrp 90
Last update from 13.1.1.3 on Serial1/1, 01:30:31 ago
Routing Descriptor Blocks:
* 13.1.1.3, from 13.1.1.3, 01:30:31 ago, via Serial1/1
Route metric is 2323456, traffic share count is 1
Total delay is 26000 microseconds, minimum bandwidth is 1544 Kbit
Reliability 255/255, minimum MTU 1500 bytes
Loading 1/255, Hops 2
最小帶寬
R1#show interfaces s1/1
Serial1/1 is up, line protocol is up
Hardware is M4T
Internet address is 13.1.1.1/24
MTU 1500 bytes, BW 1544 Kbit/sec, DLY 20000 usec,
reliability 255/255, txload 1/255, rxload 1/255
延時(shí)=s1/0+eth0/0+lo0
R1#show interfaces s1/1
Serial1/1 is up, line protocol is up
Hardware is M4T
Internet address is 13.1.1.1/24
MTU 1500 bytes, BW 1544 Kbit/sec, DLY 20000 usec,
reliability 255/255, txload 1/255, rxload 1/255
R3#sh interfaces ethernet 0/0
Ethernet0/0 is up, line protocol is up
Hardware is AmdP2, address is aabb.cc00.0300 (bia aabb.cc00.0300)
Internet address is 34.1.1.3/24
MTU 1500 bytes, BW 10000 Kbit/sec, DLY 1000 usec,
reliability 255/255, txload 1/255, rxload 1/255
R4#sh interfaces loopback 0
Loopback0 is up, line protocol is up
Hardware is Loopback
Internet address is 44.1.1.1/24
MTU 1514 bytes, BW 8000000 Kbit/sec, DLY 5000 usec,
reliability 255/255, txload 1/255, rxload 1/255