ip ecmp

Enable Equal Cost Multipath protocol (ECMP). If the ECMP parameter is disabled, all existing ECMP routes are removed. When ECMP is enabled, all ECMP routes are re-added.

Syntax

Command Parameters

max-path <ECMP-Paths>

Specifies the maximum number of ECMP paths. Different hardware platforms can support a different number of ECMP paths. For more information on the maximum number of ECMP paths supported on the switch, see the scaling information in VOSS Release Notes.

pathlist-1 WORD<0-64>
Configures one equal-cost path to the same destination prefix. To remove the policy, enter a blank string. To configure this parameter, you must globally enable Equal Cost Multipath (ECMP).
pathlist-2 WORD<0-64>
Configures up to two equal-cost paths to the same destination prefix. To remove the policy, enter a blank string. To configure this parameter, you must globally enable Equal Cost Multipath (ECMP).
pathlist-3 WORD<0-64>
Configures up to three equal-cost paths to the same destination prefix. To remove the policy, enter a blank string. To configure this parameter, you must globally enable Equal Cost Multipath (ECMP).
pathlist-4 WORD<0-64>
Configures up to four equal-cost paths to the same destination prefix. To remove the policy, enter a blank string. To configure this parameter, you must globally enable Equal Cost Multipath (ECMP).
pathlist-5 WORD<0-64>
Configures up to five equal-cost paths to the same destination prefix. To remove the policy, enter a blank string. To configure this parameter, you must globally enable Equal Cost Multipath (ECMP).
pathlist-6 WORD<0-64>
Configures up to six equal-cost paths to the same destination prefix. To remove the policy, enter a blank string. To configure this parameter, you must globally enable Equal Cost Multipath (ECMP).
pathlist-7 WORD<0-64>
Configures up to seven equal-cost paths to the same destination prefix. To remove the policy, enter a blank string. To configure this parameter, you must globally enable Equal Cost Multipath (ECMP).
pathlist-8 WORD<0-64>
Configures up to eight equal-cost paths to the same destination prefix. To remove the policy, enter a blank string. To configure this parameter, you must globally enable Equal Cost Multipath (ECMP).

Default

The default is disabled.

Command Mode

Global Configuration