HP MSR2000/3000/4000 Router Series Layer 3 - IP Routing Command Reference
151
maximum load-balancing (OSPF view)
Use maximum load-balancing to specify the maximum number of equal-cost multi-path (ECMP) routes for
load balancing.
Use undo maximum load-balancing to restore the default.
Syntax
maximum load-balancing maximum
undo maximum load-balancing
Default
The default setting depends on the device model.
Views
OSPF view
Predefined user roles
network-admin
Parameters
maximum: Specifies the maximum number of ECMP routes, in the range of 1 to 8. No ECMP load
balancing is available when the number is set to 1.
Usage guidelines
The maximum number of ECMP routes configured by using this command cannot be greater than the
limit configured by using the max-ecmp-num command.
Examples
# Specify the maximum number of ECMP routes as 2.
<Sysname> system-view
[Sysname] ospf 100
[Sysname-ospf-100] maximum load-balancing 2
Related commands
max-ecmp-num
network (OSPF area view)
Use network to enable OSPF on the interface attached to the specified network in the area.
Use undo network to disable OSPF for the interface attached to the specified network in the area.
Syntax
network ip-address wildcard-mask
undo network ip-address wildcard-mask
Default
OSPF is not enabled for any interface.
Views
OSPF area view