N10-009 · Question #267
Which of the following types of routes will take precedence when building a routing table for a given subnet?
The correct answer is A. Static. The question asks which route type is given highest priority when a router builds its routing table for a particular destination subnet.
Question
Which of the following types of routes will take precedence when building a routing table for a given subnet?
Options
- AStatic
- BBGP
- COSPF
- DDefault
How the community answered
(66 responses)- A94% (62)
- B3% (2)
- C2% (1)
- D2% (1)
Why each option
The question asks which route type is given highest priority when a router builds its routing table for a particular destination subnet.
Static routes typically have the lowest administrative distance (e.g., 1 on Cisco routers) compared to dynamic routing protocols like OSPF (110) or BGP (20-200), making them preferred when multiple routes to the same destination exist. Furthermore, a route with a more specific prefix length will always be preferred over a less specific one, regardless of administrative distance, but among routes of equal specificity, administrative distance dictates precedence.
BGP routes have a higher administrative distance than static routes, meaning they are typically less preferred.
OSPF routes have a higher administrative distance than static routes, meaning they are typically less preferred.
A default route (0.0.0.0/0) is the least specific route and is only used as a last resort when no other more specific route (including static, OSPF, or BGP routes) matches the destination IP address.
Concept tested: Routing table precedence (Administrative Distance and Prefix Length)
Source: https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/iproute_fnd/configuration/xe-16-5/iri-xe-16-5-book/iri-cfg-static-routes.html
Community Discussion
No community discussion yet for this question.