nerdexam
Cisco

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.

Networking

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)
  • A
    88% (15)
  • C
    6% (1)
  • D
    6% (1)

Why each option

The BGP origin code indicates how a particular route was injected into the BGP routing process.

AIt indicates how the route was injected into the BGP processCorrect

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).

BIt specifies the router ID that originated the route

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.

CIt specifies the time for which the path has been in the BGP Routing table

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.

DIt indicates how the route was originated

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

#BGP#BGP Path Selection#Origin Code#BGP Attributes

Community Discussion

No community discussion yet for this question.

Full 350-501 Practice