350-501 · Question #54
On the BGP Best Path Selection, when two external paths from different EBGP neighbors are received, the oldest path received can be the tie break to select the best path. Which Cisco IOS command…
The correct answer is B. bgp best path compare-routerid. The bgp best path compare-routerid command causes BGP to compare the router IDs of advertising neighbors earlier in the best path selection process, effectively bypassing or overriding the 'oldest path received' tie-breaking criterion for external paths.
Question
On the BGP Best Path Selection, when two external paths from different EBGP neighbors are received, the oldest path received can be the tie break to select the best path. Which Cisco IOS command ignores this decision criteria and checks the next decision criteria?
Options
- Abgp best path med missing-as-worst
- Bbgp best path compare-routerid
- Cbgp best path cost-community ignore
- Dbgp best path as-path ignore
How the community answered
(45 responses)- A4% (2)
- B93% (42)
- D2% (1)
Why each option
The `bgp best path compare-routerid` command causes BGP to compare the router IDs of advertising neighbors earlier in the best path selection process, effectively bypassing or overriding the 'oldest path received' tie-breaking criterion for external paths.
The `bgp best path med missing-as-worst` command modifies how BGP handles routes that do not carry a MED attribute, making them less preferred, which is related to MED comparison and not the 'oldest path' tie-breaker.
The `bgp best path compare-routerid` command forces BGP to compare the router IDs of the advertising neighbors as a tie-breaker for external paths after attributes like AS-path and MED have been evaluated. By introducing the router ID comparison earlier or more explicitly, it overrides or ensures that the 'oldest path received' criterion, which is typically a later tie-breaker, is ignored in favor of the router ID comparison.
The `bgp best path cost-community ignore` command prevents BGP from using the cost community attribute in its best path selection, which is a specific attribute and unrelated to the 'oldest path' tie-breaker.
The `bgp best path as-path ignore` command causes BGP to disregard the AS-path length when selecting the best path, which is a much earlier criterion in the algorithm and not related to ignoring the 'oldest path' tie-breaker.
Concept tested: BGP best path selection - router ID comparison
Source: https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/iproute_bgp/configuration/xe-16/irg-xe-16-book/irg-path-selection-bgp.html
Topics
Community Discussion
No community discussion yet for this question.