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 on the VRFs.
The
no
form of this command restores the default setting of 4.
Command context
config-bgp
Parameters
<MAXPATHS>
Specifies the maximum number of paths. Range: 1 to 8. Default: 4.
Authority
Administrators or local user group members with execution rights for this command.
Examples
switch(config)# router bgp 1 switch(config-bgp)# maximum-paths 4 All current BGP sessions in VRF default will be restarted. Do you want to continue (y/n)? y
switch(config-bgp)# no maximum-paths All current BGP sessions in VRF default will be restarted. Do you want to continue (y/n)? y