A network administrator is configuring a backup floating static route on router R1 to reach the internal subnet . The primary path to this destination is currently learned dynamically via OSPF, which has a default Administrative Distance of . The backup route should traverse next-hop IPv4 address and must enter the routing table only when the primary OSPF path becomes unavailable. Which Cisco IOS command correctly achieves this objective?
- ip route 10.20.0.0 255.255.0.0 192.168.12.2 120Answer
- Bip route 10.20.0.0 255.255.0.0 192.168.12.2 90
- Cip route 10.20.0.0 255.255.0.0 192.168.12.2 110
- Dip route 10.20.0.0 0.0.255.255 192.168.12.2 120
Answer
The correct command is 'ip route 10.20.0.0 255.255.0.0 192.168.12.2 120'.
A floating static route is configured by specifying an administrative distance higher than that of the primary routing protocol. Since OSPF has an Administrative Distance of 110, setting an AD of 120 ensures the static route remains untracked in the routing table during normal operation and only activates if the primary OSPF route drops out.
Step-by-Step Solution
Key Concept
Floating Static Routes and Administrative Distance