The OSPF metric is a cost value based on 10 8 / bandwidth of the link in bits/sec. For example, the OSPF cost of Ethernet is 10: 10 8 /10 7 = 10 . Note: If a metric is not specified, OSPF puts a default value of 20 when redistributing routes from all protocols except Border Gateway Protocol (BGP) routes, which get a metric of 1.