计算EIGRP的度量值方法

EIGRP 度量值的计算公式=[ K1 * Bandwidth + (K2 * Bandwidth)/(256-Load) +
K3Delay ][K5/(Reliability + K4) ] *256
默认情况下,K1 = K3 = 1 ,K2 = K4 = K5 = 0 。
Bandwidth =10^7/所经由链路中入口带宽(单位为Kbps)的最小值
Delay=所经由链路中入口的延迟之和(单位为μs)/10
也就是说默认情况下,计算公式=[10^7/Bandwidth+Delay]*256

例如:
路由条目如下。
“D 1.1.1.0 [90/20640000] via 192.168.12.1,00:04:19, Serial0/0

带宽就是Serial0/0接口的带宽。
延迟就是Serial0/0和宣告1.1.1.0网段接口的延迟。

带宽和延迟可以通过

接口的带宽和延迟可以通过“show interface ”查看

例:

R1#sh inter f0/0
FastEthernet0/0 is administratively down, line protocol is down
Hardware is AmdFE, address is c800.06fc.0000 (bia c800.06fc.0000)
MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
Half-duplex, 100Mb/s, 100BaseTX/FX
ARP type: ARPA, ARP Timeout 04:00:00
Last input never, output never, output hang never
Last clearing of "show interface" counters never
Queueing strategy: fifo
Output queue 0/40, 0 drops; input queue 0/75, 0 drops
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
0 packets input, 0 bytes
Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 watchdog
0 input packets with dribble condition detected
0 packets output, 0 bytes, 0 underruns(0/0/0)
0 output errors, 0 collisions, 0 interface resets
0 babbles, 0 late collision, 0 deferred
0 lost carrier, 0 no carrier
0 output buffer failures, 0 output buffers swapped out