load-sharing

Configures the maximum number of LDP ECMP paths.

Syntax

load-sharing number
no load-sharing

Command Default

The default number of ECMP paths is one.

Parameters

number
Specifies the maximum number of LDP ECMP paths. Enter an integer from 1 to 16.

Modes

MPLS LDP configuration mode

Usage Guidelines

The number of LDP ECMP paths for transit LSR depends on the number of eligible paths that are available, and the maximum number of LDP ECMP paths that you can configure.

Use the no form of this command to reset the default of one.

Examples

The following example configures a maximum of four LDP ECMP paths.

device# configure terminal
device(config)# router mpls
device(config-router-mpls)# ldp
device(config-router-mpls-ldp)# load-sharing 4