DGS-6604
bgp bestpath as-path ignore
CLI Reference Guide
70
bgp bestpath as-path ignore
Use this command to ignore AS path as a factor in the selection of the best path.
Use the no form of the command to restore the default behavior and configure
BGP to consider the AS path during route selection.
bgp bestpath as-path ignore
no bgp bestpath as-path ignore
Syntax
None
Default
AS path is considered in the best path selection.
Command Mode
Router configuration
Usage Guideline
The following are the rules used for the best path selection process.
1. If the next hop associated with the route is unreachable, then the route is 1. If
the next hop associated with the route is unreachable, then the route is
dropped.
2. The next choice is the route with the largest weight is selected.
3. If weight cannot make the determination, then the largest LOCAL_PREF is
used to determine the preferred route.
4. If the preferred route can still not be determined, then the route with the short-
est AS_PATH list is preferred.
5. If the preferred route can still not be determined, then lowest origin type is
preferred.
6. If the preferred route can still not be determined, then the lowest MED is pre-
ferred.
7. If the preferred route can still not be determined, then eBGP is preferred over
iBGP paths.
8. Always prefer the path with the lowest IGP metric to the BGP next hop.
9. Check to determine if multiple paths require installation in the routing table for
BGP Multipath.
10. When both paths are external, always prefer the path that was received first
(the oldest one).
11. Always prefer the route that comes from the BGP router with the lowest
router ID.
12. If the originator or router ID is the same for multiple paths, prefer the path with
the minimum cluster list length.
13. Always prefer the path that comes from the lowest neighbor address.