...
Code Block |
---|
admin@XorPlus# set protocols bgp ipv4 unicast multipath ibgp maximum-paths 120 admin@XorPlus# commit |
For paths to be consider equal, they must have the same routes attributes, such as weight, local preference, origin and AS_Path attributes are the same. If any of these attribues are different, BGP multipath will NOT take effect.
But in a special case, we can use the set protocols bgp[vrf<vrf-name>]bestpath as-path multipath-relax [as-set|no-as-set] command to configure Border Gateway Protocol (BGP) to treat two BGP routes as equal cost even if their AS-paths differ, as long as their AS-path lengths and other relevant attributes are the same. This allows routes with different AS-paths to be programmed into the forwarding table as equal cost multipath routes. Any changes in BGP configuration are applied by restarting the current BGP sessions on the VRFs.
Code Block |
---|
admin@XorPlus# set protocols bgp bestpath as-path multipath-relax
admin@XorPlus# commit |