BGP Path Selection - Understanding BGP Path Selection

10 important questions on BGP Path Selection - Understanding BGP Path Selection

What are the BGP Path Attributes and in which order are they processed?

  1. Highest Weight
  2. Highest Local Preference
  3. Locally Originated
  4. Shorter Accumulated Interior Gateway Protocol (AIGP) metric
  5. Shortest AS_Path
  6. Best Origin Code
  7. Lowest MED
  8. External over Internal
  9. Closest IGP Neighbor
  10. Oldest eBGP Path
  11. Neighbor with Lowest BGP RID
  12. Neighbor with Lowest IP address

What are the 4 BGP Path Attribute Classifications, which are always supported and which are advertised between ASs?

  1. Well-known Mandatory
    Always supported / Advertised between ASs
  2. Well-known Discretionary
    Always supported / Not advertised between ASs
  3. Optional Transitive
    Not always supported / Advertised between ASs
  4. Optional Nontransitive
    Not always supported / Not advertised between ASs

What are the characteristics of the BGP Weight attribute?

  1. First attribute processed
  2. 16-bit number (0-65535)
  3. Highest wins
  4. Not advertised, only locally assigned
  • Higher grades + faster learning
  • Never study anything twice
  • 100% sure, 100% understanding
Discover Study Smart

What are the characteristics of the BGP Local Preference value?

  1. Second attribute processed
  2. 32-bit number (0-4294967295)
  3. Highest wins
  4. Well-known discretionary, advertised within AS
  5. Default is 100

What are the characteristics of the Locally Originated value?

  1. Third decision point
  2. Preference in following order
    1. Routes that were advertised locally
    2. Networks that have been aggregated locally
    3. Routes received by BGP peers

What are the characteristics of the Accumulated Interior Gateway Protocol (AIGP) value?

  1. Optional non-transitive path attribute
  2. Included in advertisements throughout AS
  3. 32-bit value
  4. Following guidelines
    1. A path with AIGP is preferred over one without
    2. If next-hop needs recursive lookup, additional AIGP metric needs to be calculated.
      1. Next-hop without AIGP preferred over one with
      2. AIGP metrics recursively added with multiple lookups
    3. AIGP paths are compared using their metrics, either derived or actual.

What are the characteristics of the Shortest AS_Path value?

  1. Shorter AS_Path is preferred over longer AS_Path
  2. AS Numbers are prepended when send to the next AS

What are the characteristics/preference of the Origin Type value?

Preference order is:
  1. IGP Origin
  2. EGP Origin
  3. Incomplete Origin

What is the BGP Attribute Multi-Exit Discriminator

  1. 32-bit value
  2. Set automatically to IGP metric
  3. Used for multiple routes coming from the same AS
  4. Path without MED is preferred

What are the characteristics of the Lowest IGP Metric BGP path attribute?

Uses the route with lowest metric of the IGP source protocol

The question on the page originate from the summary of the following study material:

  • A unique study and practice tool
  • Never study anything twice again
  • Get the grades you hope for
  • 100% sure, 100% understanding
Remember faster, study better. Scientifically proven.
Trustpilot Logo