OSPF default metric values

The metric determined for a particular link used by OSPF depends upon the speed of that particular link. The default cost values for the metric of specific speeds can be found in the following table:

BandwidthOSPF Cost
100 Gbps1
40 Gbps1
10 Gbps1
1 Gbps1
100 Mbps1
10 Mbps10
1.544 Mbps64
768 Kbps133
384 Kbps266
128 Kbps781

This default OSPF cost table can be adjusted by changing the reference bandwidth.

The metric to a particular destination is the sum of outgoing interface costs.