StudyToCert

All certifications / CCNA / Lessons

Cisco CCNA 200-301 v2.0 · Domain 3: IP routing

OSPF cost and reference bandwidth

▶ Watch the overview video

Last reviewed October 6, 2026 · Leer en español

Explain it simpler

OSPF gives every link a price called cost, and it sends traffic along the path with the lowest total price. By default, the price is worked out by dividing a fixed number, the reference bandwidth of 100 Mbps, by the link's speed. Faster link, lower price. The catch is that the price can never go below 1, so every link of 100 Mbps or faster gets the same price of 1, even though some are a hundred times faster. It is like a toll road that charges a minimum of one dollar: a bicycle lane and a highway both cost one dollar, so the toll no longer tells you which is better. Raising the reference fixes the scale.

Northgate Manufacturing just spent a large part of its budget upgrading the core to 10 Gigabit Ethernet. Monday morning, Aisha on the network team gets a complaint from the plant floor: file transfers to the design servers are no faster than before, and the old 1 Gbps backup link is running hot. She checks show ip route and sees OSPF splitting traffic evenly between the shiny new 10 Gbps path and the old 1 Gbps path, as if they were the same. Nothing is misconfigured in the usual sense. No neighbors are down. So why does OSPF think a 1 Gbps link is just as good as a 10 Gbps one?

OSPF (Open Shortest Path First) chooses paths using a metric called cost. Every OSPF-enabled interface has a cost, and the cost of a route is the sum of the outgoing interface costs along the path from this router to the destination. The route with the lowest total cost wins, and when two or more routes tie, OSPF installs them all and load-balances across them (up to four equal-cost paths by default on IOS). Because cost is a simple additive number, you can predict OSPF's choices on paper and tune them precisely, which is exactly what exam questions ask you to do. Cost lives on interfaces, not on links or routers, which is why two routers at opposite ends of the same cable can assign it different costs.

Free account

Keep reading for free

Create a free StudyToCert account to read the rest of this lesson: 8 more sections, 6 key terms, a real-world example, an exam tip and self-check questions. Every lesson, lab and practice test is free with an account.

Sign up free Log in

Study CCNA for free
A week-by-week plan with every lesson, quizzes, checkpoint tests, a practice exam and hands-on labs.
Open the CCNA study plan