F3215-HP Load Balancing Module Network Management Command Reference-6PW101
219
Syntax
maximum load-balancing maximum
undo maximum load-balancing
Default
The maximum number of ECMP routes is 8.
Views
OSPF view
Default command level
2: System level
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.
Examples
# Specify the maximum number of ECMP routes as 2.
<Sysname> system-view
[Sysname] ospf 100
[Sysname-ospf-100] maximum load-balancing 2
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
An interface neither belongs to any area nor runs OSPF.
Views
OSPF area view
Default command level
2: System level
Parameters
ip-address: Specifies the IP address of a network.
wildcard-mask: Specifies the wildcard mask of the IP address. For example, the wildcard mask of mask
255.0.0.0 is 0.255.255.255.
Usage guidelines
This command enables OSPF on the interface attached to the specified network. The interface's primary
IP address must fall into the specified segment. If only the interface's secondary IP address falls into the
network segment, the interface cannot run OSPF.