maximum load-balancing (OSPFv3 view)
Use maximum load-balancing to set the maximum number of equal-cost multi-path (ECMP) routes.
Use undo maximum load-balancing to restore the default.
Syntax
maximum load-balancing number
undo maximum load-balancing
Default
The maximum number of OSPFv3 ECMP routes equals the maximum number of ECMP routes supported by the system.
Views
OSPFv3 view
Predefined user roles
network-admin
Parameters
number: Specifies the maximum number of ECMP routes. Load balancing is not implemented when the value is 1. The value range for the number argument depends on the maximum number of ECMP routes supported by the system. You can use the max-ecmp-num command to set the maximum number of ECMP routes supported by the system to m. After a reboot, the value range for the number argument is 1 to m.
Examples
# Set the maximum number of ECMP routes to 2.
<Sysname> system-view [Sysname] ospfv3 100 [Sysname-ospfv3-100] maximum load-balancing 2
Related commands
max-ecmp-num