Which command, if applied on an OSPF router, would give a Gigabit Ethernet interface a lower cost than a Fast Ethernet interface?

IT Exam Items RepositoryCategory: CCNAWhich command, if applied on an OSPF router, would give a Gigabit Ethernet interface a lower cost than a Fast Ethernet interface?

Which command, if applied on an OSPF router, would give a Gigabit Ethernet interface a lower cost than a Fast Ethernet interface?

  • (config-router)# auto-cost reference-bandwidth 1000
  • (config-if)# bandwidth 100
  • (config-if)# ip ospf priority 1
  • (config-if)# ip ospf cost 100

Explanation: OSPF uses the formula; Cost = 100,000,000 / bandwidth. Because OSPF will only use integers as cost, any bandwidth of 100 Mb/s or greater will all equal a cost of 1. To change this behavior, a new reference bandwidth can be configured. The new reference bandwidth will need to be larger than 100,000,000. In this case it needs to be 1,000,000,000. This is accomplished with the command auto-cost reference-bandwidth 1000 , which means multiply the unit Mb/s by 1000. The result is 1,000,000,000.

Related exam: CCNP ENARSI v8 Certification Practice Exam
Related exam: CCNA 3 Module 2 Quiz - Single-Area OSPFv2 Configuration