08-14-2020 04:07 PM
Pls, refer to the document to answer the question.
R1 is in different AS, R2 is in different AS.
My router R has connections to both AS.
Imagine: (Determine route from R to AS)
1. Next hop is reachable
2. Local preference is the default value which is 100
3. AS path is also the same.
4. All routes have originated from iBGP, hence origin is also the same.
5. By default, MED can't be compared between two different AS. We can go for load balancing. However, I have placed 'always compare MED' in the configuration. Both MED is compared and unfortunately, it is the same.
6. Prefer the External path. Both paths are external.
7. Prefer the metric. Unfortunately, both are same which is 10
8. Prefer the route with lowest router ID. Both are same.
9. Prefer the lowest cluster ID. Here, also both are same.
10. Prefer the lowest peer ID. It is also the same.
My question is what happens when all the route attributes fail. What will happen next? How does the route propagate from R to any of the AS after 10th step?
Very eager to know about it.
08-14-2020 11:50 PM
Hello,
there are three more selection criteria (see document attached). The last criteria is to prefer the path that comes from the lowest neighbor address (that is, the IP address configured with the 'neighbor' command).
https://www.cisco.com/c/en/us/support/docs/ip/border-gateway-protocol-bgp/13753-25.html
08-15-2020 01:17 AM
What if the last selection criteria 'neighbor IP address' for both AS remains same?
What will happen next after all the criteria stated in the document are same for both paths?
08-15-2020 01:29 AM
Hello,
in theory, one of the criteria should apply. If you have a test lab, you might want to test and see what happens when all 13 criteria are identical. I have never seen it, and the guys writing the BGP RFCs thought it through (I suppose), so in real life, there should never be a situation where all 13 are the same...
08-15-2020 07:41 AM
08-15-2020 10:14 AM
Awesome. That clears my doubts. Thank you so much.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide