bgp bestpath as-path multipath-relax
Syntax
bgp bestpath as-path multipath-relax
no bgp bestpath as-path multipath-relax
Description
Configures 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.
The
no
form of this command restores the default behavior which configures BGP to treat two BGP routes as different costs when their AS-paths differ.
Command context
config-bgp
Authority
Administrators or local user group members with execution rights for this command.
Examples
switch(config-bgp)# bgp bestpath as-path multipath-relax All current BGP sessions in VRF default will be restarted. Do you want to continue (y/n)?
switch(config-bgp)# no bgp bestpath as-path multipath-relax All current BGP sessions in VRF default will be restarted. Do you want to continue (y/n)?