maximum load-balancing

Use maximum load-balancing to configure the maximum number of 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 IS-IS ECMP routes equals the maximum number of ECMP routes supported by the system.

Views

IS-IS IPv4 unicast address family view

Predefined user roles

network-admin

Parameters

number: Specifies the maximum number of ECMP routes. The value of 1 indicates that IS-IS does not perform load balancing. The value range for the number argument depends on the max-ecmp-num command. If you use the max-ecmp-num command to configure the maximum number of ECMP routes supported by the system as m and reboot the device, the value range for the number argument becomes 1 to m.

Examples

# Set the maximum number of ECMP routes to 2.

<Sysname> system-view
[Sysname] isis 100
[Sysname-isis-100] address-family ipv4
[Sysname-isis-100-ipv4] maximum load-balancing 2

Related commands

max-ecmp-num