max-unicast-load-balancing

Use max-unicast-load-balancing to set the maximum number of TRILL unicast equal-cost routes.

Use undo max-unicast-load-balancing to restore the default.

Syntax

max-unicast-load-balancing number

undo max-unicast-load-balancing

Default

The maximum number of TRILL unicast equal-cost routes is 32.

Views

TRILL view

Predefined user roles

network-admin

mdc-admin

Parameters

number: Specifies the maximum number of TRILL unicast equal-cost routes. The value range for the number argument is 1 to 32. The value of 1 indicates that load balancing is not performed.

Usage guidelines

The maximum number of TRILL unicast equal-cost routes is restricted by the maximum number of ECMP routes set by using the max-ecmp-num command. The value range for the maximum number of ECMP routes is 1 to 32. If you set the maximum number of ECMP routes to n (1≤n≤32), the value range for the number argument of the max-unicast-load-balancing command is 1 to m (m≤n). The value of m is the nearest power of 2, which can be 2, 4, 8, 16, or 32.

Examples

# Set the maximum number of TRILL unicast equal-cost routes to 3.

<Sysname> system-view
[Sysname] trill
[Sysname-trill] max-unicast-load-balancing 3