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