IP ConnectivityDifficulty 3/5
Which command configures a floating static default route on a Cisco router that is used only if the OSPF-learned default route disappears?
- Aip default-gateway 203.0.113.1
- Bip route 0.0.0.0 0.0.0.0 203.0.113.1
- Cip route 0.0.0.0 0.0.0.0 203.0.113.1 5
- Dip route 0.0.0.0 0.0.0.0 203.0.113.1 120
Show answer and rationale
Correct: D. A floating static route needs an administrative distance higher than the primary route's AD. OSPF is 110, so 120 makes the static route inactive until the OSPF route is withdrawn. AD 1 (default) or 5 would beat OSPF.
- B — Default AD 1 would always win over OSPF.
- C — AD 5 is still lower than OSPF's 110.
- A — ip default-gateway applies when IP routing is disabled (switches), not a routed default.