The maximum load-balancing command sets the maximum number of equal-cost routes for carrying out load balancing.
The undo maximum load-balancing command restores the default setting.
By default, load balancing is supported. For details about the maximum number of equal-cost routes, see the parameter value range.
Usage Scenario
If multiple routes with the same cost to the same destination are available, they can carry out load balancing. The maximum load-balancing command sets the maximum number of equal-cost routes for carrying out load balancing. This optimizes route selection rules and meet traffic forwarding requirements on a complex network.
Configuration Impact
Packets will be load-balanced by multiple equal-cost routes to one destination.
NOTE: Load balancing is performed either per-destination or per-packet. By default, packets are load-balanced per-destination. The undo maximum load-balancing command restores the default maximum number of 32 equal-cost routes that are discovered by OSPFv3 for load balancing.Precautions
To disable load balancing, set the value of number to 1.
<HUAWEI> system-view [~HUAWEI] ospfv3 1 [*HUAWEI-ospfv3-1] undo maximum load-balancing
<HUAWEI> system-view [~HUAWEI] ospfv3 1 [*HUAWEI-ospfv3-1] maximum load-balancing 3