maximum-paths

Syntax

maximum-paths <MAXPATHS>

no maximum-paths <MAXPATHS>

Description

Configures the maximum number of paths that BGP adds to the route table for equal-cost multipath (ECMP) load balancing for routes learned from both internal and external BGP.

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 maxpaths value of 4.

Command context

config-router

Parameters

<MAXPATHS>

Specifies the maximum paths value. Default: 4. Range: 1-8.

Authority

Administrators

Examples

switch(config)# router bgp 1
switch(config-router)# maximum-paths 4
All current BGP sessions in VRF default will be restarted.
Do you want to continue (y/n)?
switch(config-router)# no maximum-paths
All current BGP sessions in VRF default will be restarted.
Do you want to continue (y/n)?