Your network is receiving the 203.0.113.0/24 network using EBGP from AS 64500 and AS 64501. Both of these advertisements have identical local-preference values, AS-path lengths, and BGP origin codes. You want to influence the way your AS sends traffic to the 203.0.113.0/24 network.
In this scenario, which attribute would you consider next when selecting the best path?
Correct Answer: B
To determine the correct answer, let's analyze the BGP path selection process and identify which attribute would be considered next in this scenario.
Background on BGP Path Selection
When multiple paths to the same destination are received via BGP, the router uses a step-by-step process to select the best path. The order of attributes considered is as follows (simplified for this scenario):
* Highest Local Preference : The path with the highest local preference is preferred.
* Shortest AS Path : The path with the shortest AS path length is preferred.
* Lowest Origin Code : Paths with an origin code of IGP are preferred over EGP, and EGP is preferred over Incomplete.
* Lowest MED (Multi-Exit Discriminator) : If the first three attributes are identical, the path with the lowest MED value is preferred.
* eBGP over iBGP : eBGP paths are preferred over iBGP paths.
* IGP Metric to Next Hop : The path with the lowest IGP metric to the next-hop router is preferred.
* Router ID : If all else is equal, the path from the router with the lowest Router ID is preferred.
* Peer IP Address : As a last tiebreaker, the path from the peer with the lowest IP address is preferred.
Scenario Analysis
In this scenario:
* You are receiving the 203.0.113.0/24 network via EBGP from two different autonomous systems (AS
64500 and AS 64501).
* Both advertisements have identical local-preference values , AS-path lengths , and BGP origin codes .
Given that the first three attributes in the BGP path selection process are identical, the next attribute to consider is the MED (Multi-Exit Discriminator) value.
Analysis of the Options
Option A: Router ID
* Incorrect : The Router ID is considered much later in the BGP path selection process, only after other attributes like MED and IGP metric have been evaluated. Since MED is still relevant here, Router ID is not the next attribute to consider.
Option B: MED value
* Correct : The MED value is used to influence inbound traffic from neighboring ASes. When local preference, AS path length, and origin code are identical, the path with the lowest MED value is preferred. This makes MED the next attribute to consider in this scenario.
Option C: Peer IP Address
* Incorrect : The peer IP address is a tiebreaker used only at the very end of the BGP path selection process, after all other attributes have been evaluated. It is not relevant here because MED has not yet been considered.
Option D: IGP Metric
* Incorrect : The IGP metric to the next-hop router is considered after MED. Since MED is still relevant in this scenario, IGP metric is not the next attribute to evaluate.
Final Answer
The correct answer is:
B: MED value
Summary
* When local preference, AS path length, and origin code are identical, the MED value is the next attribute considered in the BGP path selection process.
* MED is used to influence how traffic enters your AS from neighboring ASes.