3-2. bgp bestpath as-path ignore
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 you're using bgp bestpath as-path ignore, skip this step. When you use 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 ...