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 <1-8>
Specifies the maximum number of ECMP paths. The default is 1.
<pathlist-1 | pathlist-2 | pathlist-3 | pathlist-4 | pathlist-5 | pathlist-6 | pathlist-7 | pathlist-8> 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).

Default

The default is disabled.

Command Mode

Global Configuration