Configuring maximum number of ECMP paths

Before you begin

Enable ECMP on the switch before configuring the max-path value. For more information, see Enabling IPv6 ECMP.

About this task

Use the following procedure to configure the maximum number of ECMP paths.

Procedure

  1. Enter either Global Configuration mode or VRF Router Configuration mode for a specific VRF context:

    enable

    configure terminal

    Optional: router vrf WORD<1-16>

  2. Configure the maximum number of ECMP paths.

    ipv6 ecmp max-path <ECMP-Paths>

  3. Set the configured maximum number of ECMP paths to its default value:

    default ipv6 ecmp max-path

    Note

    Note

    The default value for max-path is the maximum value, which varies depending on your hardware platform.

Example

Switch:1>enable
Switch:1#configure terminal
Enable ECMP on the switch:
Switch:1(config)#ipv6 ecmp enable
Configure the maximum number of ECMP paths to 4:
Switch:1(config)#ipv6 ecmp max-path 4

Variable definitions

Use the data in the following table to use the ipv6 ecmp max-path command.

Variable

Value

<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 Fabric Engine Release Notes.

When ECMP is enabled, the default value is either 4 or 8 depending on your hardware platform.