maximum load-balancing (OSPFv3 view)

Function

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.

Format

maximum load-balancing number

undo maximum load-balancing

Parameters

Parameter Description Value
number

Specifies the maximum number of equal-cost routes.

The value is an integer ranging from 1 to 64.

Views

OSPFv3 view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
ospf write

Usage Guidelines

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.

Example

# Restore the default maximum number of equal-cost routes for carrying out load balancing.
<HUAWEI> system-view
[~HUAWEI] ospfv3 1
[*HUAWEI-ospfv3-1] undo maximum load-balancing
# Set the maximum number of equal-cost routes supported by OSPFv3 to 3.
<HUAWEI> system-view
[~HUAWEI] ospfv3 1
[*HUAWEI-ospfv3-1] maximum load-balancing 3
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >