The maximum load-balancing command sets the maximum number of equal-cost routes among which load balancing is performed.
The undo maximum load-balancing command restores the default value of the maximum number of equal-cost routes among which load balancing is performed..
| Parameter | Description | Value |
|---|---|---|
number |
Specifies the number of equal cost routes among which load balancing is performed. |
|
Usage Scenario
If the destinations and costs of the multiple routes discovered by one routing protocol are the same, load balancing can be implemented among those equal-cost routes. Link usage on a network can be improved and the network congestion caused by some heavily loaded links can be reduced. However, routes are randomly selected for forwarding traffic, which may be inconvenient for managing service traffic. The maximum load-balancing command sets the maximum number of equal-cost routes based on network settings to manage service traffic.
Prerequisites
Before running the maximum load-balancing command, run the isis command to create an IS-IS process.
Precautions
When the number of equal-cost routes on the networking is greater than that specified in the maximum load-balancing command, valid routes are randomly selected for load balancing.