A router receives routes for the destination network 10.20.0.0/16 dynamically from OSPF, which uses a default administrative distance of 110. A network administrator needs to create a backup static route for this network using the next-hop address 192.168.1.2 so that it only becomes active if the primary OSPF path fails. Which Cisco IOS command correctly configures this floating static route?
- ip route 10.20.0.0 255.255.0.0 192.168.1.2 120Cevap
- Bip route 10.20.0.0 255.255.0.0 192.168.1.2 90
- Cip route 10.20.0.0 255.255.0.0 192.168.1.2 110
- Dip route 10.20.0.0 0.0.255.255 192.168.1.2 120
Cevap
The command 'ip route 10.20.0.0 255.255.0.0 192.168.1.2 120' correctly configures the floating static route.
The correct command uses standard Cisco IOS syntax with destination network 10.20.0.0, subnet mask 255.255.0.0 for /16, next-hop address 192.168.1.2, and an administrative distance of 120. Because 120 is greater than OSPF's default AD of 110, the static route remains inactive in the routing table until the primary OSPF route fails.
Adım Adım Çözüm
Anahtar Kavram
Floating static route configuration requires an administrative distance higher than the primary dynamic routing protocol.