CCNA 200-301 · IP Connectivity · medium

In an enterprise network, the OSPF auto-cost reference-bandwidth has been increased on all routers to 10000 (10,000 Mbps = 10 Gbps) so OSPF can distinguish between 10 Gbps and 1 Gbps interfaces. Using the OSPF cost formula $\text{Cost} = \frac{\text{Reference Bandwidth}}{\text{Interface Bandwidth}}$, what is the OSPF interface cost of a 1 Gbps (1,000 Mbps) GigabitEthernet link and a 100 Mbps FastEthernet link?

Published · Last updated · checked before publication — how we verify questions

Options

  • ACost 1 for GigabitEthernet and Cost 1 for FastEthernet (default 100 Mbps ref)
  • BCost 10 for GigabitEthernet (1 Gbps) and Cost 100 for FastEthernet (100 Mbps)Correct answer
  • CCost 100 for GigabitEthernet (1 Gbps) and Cost 1,000 for FastEthernet (100 Mbps)
  • DCost 1 for GigabitEthernet (1 Gbps) and Cost 10 for FastEthernet (100 Mbps)

Answer: B. Cost 10 for GigabitEthernet (1 Gbps) and Cost 100 for FastEthernet (100 Mbps)

OSPF calculates interface cost by dividing the reference bandwidth by the interface bandwidth, with the result rounded down and a minimum of 1. The question states the reference bandwidth was raised to 10000 Mbps on all routers, for example with the auto-cost reference-bandwidth 10000 command under the OSPF process. A 1000 Mbps GigabitEthernet interface therefore gets 10000 / 1000 = 10, and a 100 Mbps FastEthernet interface gets 10000 / 100 = 100. This is the purpose of the change. With the default 100 Mbps reference, GigabitEthernet and 10 Gigabit links all collapse to cost 1 and OSPF cannot tell them apart. With 10000, a 10 Gbps link gets cost 1, a 1 Gbps link gets 10, and a 100 Mbps link gets 100. The common trap is mixing up the units or reusing the default reference value. Always convert everything to Mbps first. The reference bandwidth must also match on every router so that path costs are consistent.

Why the other options are wrong

  • A. Cost 1 for GigabitEthernet and Cost 1 for FastEthernet (default 100 Mbps ref) — Cost 1 for both links is what the default 100 Mbps reference bandwidth produces, because both speeds are at or above 100 Mbps and hit the minimum cost of 1. The question says the reference was raised to 10000, so this does not apply.
  • C. Cost 100 for GigabitEthernet (1 Gbps) and Cost 1,000 for FastEthernet (100 Mbps) — Costs of 100 and 1000 would result from a reference bandwidth of 100000 Mbps (100 Gbps), which is ten times larger than the 10000 Mbps configured here. It comes from an extra factor of ten in the calculation.
  • D. Cost 1 for GigabitEthernet (1 Gbps) and Cost 10 for FastEthernet (100 Mbps) — Costs of 1 and 10 correspond to a reference bandwidth of 1000 Mbps (1 Gbps), since 1000/1000 = 1 and 1000/100 = 10. The configured reference is 10000 Mbps, so each cost is ten times larger than this.

All IP Connectivity questions and the topic overview →

Cisco and CCNA are trademarks of Cisco Systems, Inc. PrepIQ Hub is not affiliated with, endorsed by, or sponsored by Cisco Systems, Inc.