Configure Maximum Number of ECMP Paths

Before you begin

Enable ECMP on the switch before configuring the max-path value. For more information, see Enable 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 <1-8>

Example

Enable ECMP on the switch and configure the maximum number of ECMP paths to 4:

Switch:1>enable
Switch:1#configure terminal
Switch:1(config)#ipv6 ecmp enable
Switch:1(config)#ipv6 ecmp max-path 4

Variable Definitions

The following table defines parameters for the ipv6 ecmp max-path command.

Variable

Value

<1-8>

Specifies the maximum number of ECMP paths. The default is 1.