maximum load-balancing (IS-IS view)

Function

The maximum load-balancing command sets the maximum number of equal-cost routes for load balancing.

The undo maximum load-balancing command restores the default value.

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 number of equal-cost routes in load balancing mode.

The value is an integer ranging from 1 to 64.

Views

IS-IS view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
isis write

Usage Guidelines

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 them, improving link usage on a network and reducing the network congestion caused by some overloaded links. However, routes are randomly selected for forwarding traffic, which complicates service traffic management. To address this problem, run the maximum load-balancing command to set the maximum number of equal-cost routes for load balancing based on network requirements.

Prerequisites

An IS-IS process has been created using the isis command.

Precautions

When the number of equal-cost routes on the network is greater than that specified in the maximum load-balancing command, valid routes are randomly selected for load balancing.

If the command is run in the IS-IS view, it takes effect only in the base topology. If the command is run in the IS-IS topology view, it takes effect only in the current topology.

Example

# Restore the default value for the maximum number of equal-cost routes.
<HUAWEI> system-view
[~HUAWEI] isis 100
[*HUAWEI-isis-100] undo maximum load-balancing
# Set the maximum number of equal-cost routes for load balancing to 2.
<HUAWEI> system-view
[~HUAWEI] isis 100
[*HUAWEI-isis-100] maximum load-balancing 2
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >