Changing the Number of Load Sharing (ECMP) Paths for IPv4

Although IP load sharing is enabled by default, you can configure the number of IP load sharing paths and the maximum number of load-sharing paths supported by the Layer 3 device.

You can change the maximum number of paths the Layer 3 device supports to a value from 2 through 8. On RUCKUS ICX 7650 and ICX 7850 devices, the value range for the maximum number of load-sharing paths is from 2 through 32.

Maximum Number of ECMP Load Sharing Paths per Device

ICX 7550 / ICX 8200

ICX 7650 / ICX 7850

8

32

For optimal results, set the maximum number of paths to a value at least as high as the maximum number of equal-cost paths your network typically contains. For example, if the Layer 3 switch you are configuring for IP load sharing has six next-hop routers, set the maximum paths value to six.

  1. Enter global configuration mode.
    device# configure terminal
  2. Change the number of IP load sharing paths.
    device(config)# ip load-sharing 6
  3. Configure the maximum number of IP load sharing paths supported on the device.
    device(config)# system-max max-ecmp 20
  4. Save the configuration to memory.
    device(config)# write memory
    Changes to any system parameters are not in effect until the configuration is saved and a reload of the software occurs.
  5. Return to privileged EXEC mode.
    device(config)# exit
  6. Reload the software.
    device# reload

The following example sets the number of load-sharing paths to 6 and the maximum number of load-sharing paths to 20.

device# configure terminal
device(config)# ip load-sharing 6
device(config)# system-max max-ecmp 20
device(config)# write memory
device(config)# exit
device# reload