Enabling IPv4 bandwidth-based load sharing

About IPv4 bandwidth-based load sharing

This feature load shares flow traffic among multiple output interfaces based on their load percentages. The device calculates the load percentage for each output interface in terms of the interface expected bandwidth.

Devices that run load sharing protocols, such as Locator/ID Separation Protocol (LISP), implement load sharing based on the ratios defined by these protocols.

Restrictions and guidelines

This feature is mutually exclusive with the IPv4 enhanced ECMP mode that is configured by using the ecmp mode enhanced command.

After this feature is enabled, make sure the expected bandwidth does not exceed the physical bandwidth of the interface.

Procedure

  1. Enter system view.

    system-view

  2. Enable IPv4 bandwidth-based load sharing.

    bandwidth-based-sharing

    By default, the IPv4 bandwidth-based load sharing is disabled.

  3. (Optional.) Configure the expected bandwidth of the interface.

    1. Enter interface view.

    2. interface interface-type interface-number

    3. Configure the expected bandwidth of the interface.

    4. bandwidth bandwidth

    5. By default, the expected bandwidth is the physical bandwidth of the interface.