max-ecmp-num

Use max-ecmp-num to set the maximum number of ECMP routes.

Syntax

max-ecmp-num number

Default

The maximum number of ECMP routes is 8.

Views

System view

Predefined user roles

network-admin

Parameters

number: Specifies the maximum number of ECMP routes. The value range for this argument is 1 to 128.

Examples

# Set the maximum number of ECMP routes to 10.

<Sysname> system-view
[Sysname] max-ecmp-num 10
The configuration will take effect at the next reboot. Continue? [Y/N]:y
Reboot device to make the configuration take effect.

After reboot, the maximum number of ECMP routes is 10.