BGP - Equal Cost Multipath AS_Path Attribute

When applying equal cost multipath in a BGP topology, there are certain prerequisites that must be fulfilled in order for candidate routes to be considered for multipath. Certain BGP attributes must be the same in order for a second path to be considered for equal cost multipath.

One of those attributes is the AS_Path. By default, both the sequence of ASNs as well as the actual AS Path Length are examined and must be the same. However, this requirement can be relaxed using the following BGP router mode command:

R1(config-router)#bgp bestpath as-path multipath-relax

This command tells BGP to “relax” its requirement of having the same AS path numbers AND AS path length to only checking the AS path length.

Links:

https://forum.networklessons.com/t/bgp-multipath-load-sharing-ibgp-and-ebgp/3275/54?u=lagapidis

https://networklessons.com/cisco/ccie-routing-switching-written/bgp-multipath-load-sharing-ibgp-and-ebgp

Links to this page: