On a large network, there may be multiple valid BGP routes to the same destination. A switch will select and add the optimal BGP route to its routing table for traffic forwarding and advertises this route to its peers. This, however, will result in uneven load balancing of many traffic. Configuring BGP load balancing can enable the switch to add these multiple equal-cost BGP routes to its routing table, implementing traffic load balancing and reducing network congestion. After BGP load balancing is configured, the switch will still select the optimal route among the multiple routes and advertise only this route to its peers.
In PICOS system, the BGP multipath option is enabled by default with the maximum number of paths set to 64 so that the switch can install multiple equal-cost BGP paths to the forwarding table and load balance traffic across multiple links. You can change the number of paths allowed, according to your needs.
The example commands change the maximum number of paths to 120. You can set a value between 1 and 256. 1 disables the BGP multipath option.
admin@XorPlus# set protocols bgp ipv4 unicast multipath ibgp maximum-paths 120 admin@XorPlus# commit