This command has no arguments.
Purpose: If multiple BGP routes to the same destination exist, BGP selects the best path based on the route attributes in the following order:
Ignore a route if the next hop is not known.
Ignore IBGP routes that are not synchronized.
Prefer the route with the largest weight.
Prefer the route with the largest local preference.
Prefer the route that was locally originated.
Prefer the route with the shortest AS path. If using bgp bestpath as-path ignore, skip this step. When using the as-set option for aggregated routes, as_set counts as 1 regardless of the number of AS entries in the set. Confederation sub-AS numbers are not used to ...