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 in the VRFs.
The
no
form of this command restores the default behavior and configures BGP to treat two BGP routes as different costs if their AS-paths differ.
Command context
config-router
Authority
Administrators
Examples
switch(config-router)# 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-router)# no bgp bestpath as-path multipath-relax All current BGP sessions in VRF default will be restarted. Do you want to continue (y/n)?