200-301 · Question #1204
An engineer must configure a core router with a floating static default route to the backup router at 10.200.0.2. Which command meets the requirements?
The correct answer is B. ip route 0.0.0.0 0.0.0.0 10.200.0.2 10. To configure a floating static default route, specify a higher administrative distance than the primary route so it only becomes active if the primary path fails.
Question
An engineer must configure a core router with a floating static default route to the backup router at 10.200.0.2. Which command meets the requirements?
Options
- Aip route 0.0.0.0 0.0.0.0 10.200.0.2 1
- Bip route 0.0.0.0 0.0.0.0 10.200.0.2 10
- Cip route 0.0.0.0 0.0.0.0 10.200.0.2
- Dip route 0.0.0.0 0.0.0.0 10.200.0.2 floating
How the community answered
(22 responses)- A9% (2)
- B82% (18)
- C5% (1)
- D5% (1)
Why each option
To configure a floating static default route, specify a higher administrative distance than the primary route so it only becomes active if the primary path fails.
An administrative distance of `1` is the default for a directly connected static route, making it a primary route rather than a floating backup.
The command `ip route 0.0.0.0 0.0.0.0 10.200.0.2 10` correctly configures a static default route (`0.0.0.0 0.0.0.0`) to the next-hop `10.200.0.2` with an administrative distance of `10`. This higher AD (compared to the default 1 for static routes) ensures it acts as a floating backup, only being used if a primary route with a lower AD is unavailable.
Omitting the administrative distance defaults it to `1` for a static route, causing it to be preferred over dynamic routes or other static routes with higher ADs, thus not making it a floating route.
`floating` is not a valid keyword for specifying the administrative distance in the `ip route` command; a numeric value must be used.
Concept tested: Floating static routes and administrative distance
Source: https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/iproute_static/configuration/xe-16/irs-xe-16-book/irs-static-floating-routes.html
Topics
Community Discussion
No community discussion yet for this question.