You are logged into a router and issue the command show route protocol bgp. You see that you have received the route 10 0.4/24 from two different peers Both peers were learned using IBGP and Local-Preference. MED, Origin, and AS-path are equal.
Which criterion is used for this situation?
Click on the arrows to vote for the correct answer
A. B. C. D.D
In this scenario, we have received the same BGP route from two different peers, both learned using IBGP and Local-Preference. MED, Origin, and AS-path are equal.
To determine which route should be installed in the routing table, BGP uses a set of tie-breaking rules known as the BGP best path selection algorithm. The algorithm considers multiple attributes in a predefined order to select the best path among multiple paths to the same destination.
The criteria used by BGP in the best path selection algorithm are as follows:
In this scenario, since the MED, Origin, and AS-path attributes are equal, the next attribute considered by the algorithm would be the EBGP/IBGP attribute. However, both peers have been learned using IBGP, so this criterion does not apply. The next attribute is IGP cost, but this is not likely to be relevant in this scenario since the routes have been received via IBGP, and IGP cost is typically only used when selecting between routes learned via different IGP protocols.
Therefore, in this scenario, the next attribute used by the BGP best path selection algorithm would be the BGP router ID (RID). Each BGP router has a unique RID assigned to it, and the router with the lowest RID is preferred. Therefore, the answer to this question is B. router ID (RID). The router with the lowest RID would be selected to install the BGP route in the routing table.