To ignore the AS PATH length in the best path calculation during the decision process, use the bgp bestpath as-path ignore command in Router Configuration mode. For IPv6 routes, configure this command in Address Family IPv6 mode. To influence ECMP route calculations, configure the AS PATH parameter.
Default | By default, AS PATH length is not ignored in the BGP best path calculations. |
Format | bgp bestpath as-path ignore |
Mode |
|