350-501 · Question #554
What is the purpose of the origin code in the bgp path selection algorithm?
The correct answer is A. It indicates how the route was injected into the BGP process. The BGP origin code indicates how a particular route was injected into the BGP routing process.
Question
What is the purpose of the origin code in the bgp path selection algorithm?
Options
- AIt indicates how the route was injected into the BGP process
- BIt specifies the router ID that originated the route
- CIt specifies the time for which the path has been in the BGP Routing table
- DIt indicates how the route was originated
How the community answered
(17 responses)- A88% (15)
- C6% (1)
- D6% (1)
Why each option
The BGP origin code indicates how a particular route was injected into the BGP routing process.
The origin code is a well-known mandatory BGP path attribute that provides insight into how a BGP route was initially introduced into the BGP system. Common origin codes include 'i' for routes originated from an IGP (e.g., using the 'network' command), 'e' for EGP, and '?' for incomplete (e.g., redistributed routes).
The BGP origin code does not specify the router ID that originated the route; the BGP 'Originator ID' attribute or 'NEXT_HOP' attribute are used for related purposes.
The BGP origin code does not specify the time for which the path has been in the BGP routing table; this information is part of the route's age or uptime, not its origin attribute.
The statement 'It indicates how the route was originated' is vague; option A specifically states 'how the route was injected into the BGP process' which is a more precise technical explanation for the origin code's function distinguishing between IGP, EGP, or redistributed sources.
Concept tested: BGP origin attribute and path selection
Source: https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/iproute_bgp/configuration/xe-3s/irr-xe-3s-book/bgp-att-origin.html
Topics
Community Discussion
No community discussion yet for this question.