Cisco Certified Network Associate (CCNA) Practice Exam

Disable ads (and more) with a membership for a one time $4.99 payment

Prepare for the Cisco Certified Network Associate (CCNA) Practice Exam. Test your knowledge with our interactive quizzes featuring multiple choice questions, hints, and explanations. Equip yourself for success!

Practice this question and more.


What is the formula used by OSPF to calculate cost?

  1. cost = actual bandwidth / 100000000

  2. cost = 100000000 / actual bandwidth

  3. cost = actual bandwidth * 100000000

  4. cost = 100 / actual bandwidth

The correct answer is: cost = 100000000 / actual bandwidth

The correct formula used by OSPF (Open Shortest Path First) to calculate cost is based on the relationship between bandwidth and cost. The formula is cost = 100,000,000 / actual bandwidth. OSPF assigns a cost to each interface, which is inversely proportional to its bandwidth. The purpose of this calculation is to allow OSPF to make routing decisions based on the most efficient paths through the network. By using the higher value of 100,000,000, which represents the reference bandwidth in Kbps, OSPF allows for a standardized comparison across different interfaces that may have varying speeds. When an interface has a higher bandwidth, the resulting cost will be lower, which makes it more preferred for routing. Conversely, if the interface has a lower bandwidth, its cost will be higher, making it less preferred. This method encourages the routing of data across faster links, optimizing overall network performance. Overall, the chosen formula effectively reflects the OSPF routing metric and helps in making intelligent routing decisions based on the available bandwidth on the links.