maximum load-balancing

Use maximum load-balancing to set 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 number

undo maximum load-balancing

Default

The maximum number of RIPng ECMP routes equals the maximum number of ECMP routes, which is configurable by using the max-ecmp-num command.

Views

RIPng 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.

Usage guidelines

You can set a smaller value for the max-ecmp-num command than the current value for the maximum load-balancing command. After a reboot, the value for the maximum load-balancing command automatically changes to be the same as the value for the max-ecmp-num command.

Examples

# Set the maximum number of ECMP routes to 2.

<Sysname> system-view
[Sysname] ripng 100
[Sysname-ripng-100] maximum load-balancing 2

Related commands

max-ecmp-num