A network engineer needs to configure a floating static route on a Cisco router to serve as a backup path for the destination network . The primary path to this network is currently learned via OSPF, which operates with an Administrative Distance of 110. Which Cisco IOS command correctly configures the floating static route so that it only enters the routing table if the primary OSPF route fails?
- ip route 172.28.32.0 255.255.248.0 10.200.1.2 120Answer
- Bip route 172.28.32.0 255.255.248.0 10.200.1.2 90
- Cip route 172.28.32.0 255.255.240.0 10.200.1.2 120
- Dip route 172.28.32.0 255.255.248.0 10.200.1.2 110
Answer
ip route 172.28.32.0 255.255.248.0 10.200.1.2 120
The correct command specifies 'ip route 172.28.32.0 255.255.248.0 10.200.1.2 120'. A /21 subnet mask corresponds to 255.255.248.0. Since the primary route is learned via OSPF with an Administrative Distance (AD) of 110, a backup (floating) static route must be configured with an AD greater than 110 (such as 120). This keeps the route out of the routing table until the primary OSPF route is withdrawn.
Step-by-Step Solution
Key Concept
IPv4 Floating Static Route Configuration and Administrative Distance Selection