350-501 · Question #104
Which BGP attribute is used first when determining the best path?
The correct answer is D. weight. When BGP determines the best path to a destination, it first evaluates the Weight attribute, which is a Cisco-proprietary attribute and local to the router where it is configured.
Question
Which BGP attribute is used first when determining the best path?
Options
- Aorigin
- BAS path
- Clocal preference
- Dweight
How the community answered
(41 responses)- A5% (2)
- B2% (1)
- C2% (1)
- D90% (37)
Why each option
When BGP determines the best path to a destination, it first evaluates the Weight attribute, which is a Cisco-proprietary attribute and local to the router where it is configured.
Origin is a well-known mandatory BGP attribute, but it is evaluated later in the best path selection process, after Weight, Local Preference, and AS Path length.
AS Path length is a well-known mandatory BGP attribute, used after Weight and Local Preference; a shorter AS path is generally preferred.
Local Preference is a well-known discretionary BGP attribute, evaluated after Weight but before AS Path length, influencing outbound traffic decisions within an AS.
The BGP best path selection algorithm on Cisco routers starts by evaluating the Weight attribute. Weight is a Cisco-proprietary attribute, local to the router, and is the highest-priority criterion in the BGP best path selection process, meaning a path with a higher weight is always preferred.
Concept tested: BGP best path selection algorithm - Weight attribute
Source: https://www.cisco.com/c/en/us/support/docs/ip/border-gateway-protocol-bgp/13753-25.html
Topics
Community Discussion
No community discussion yet for this question.