No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.


CLI-based Configuration Guide - IP Service

AR500, AR510, AR531, AR550, AR1500, and AR2500 V200R010

This document describes the concepts and configuration procedures of IP Service features on the device, and provides the configuration examples.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Configuring Unequal Cost Multiple Path

Configuring Unequal Cost Multiple Path


ECMP evenly load balances traffic over multiple equal-cost links, regardless of the bandwidth. Consequently, traffic congestion may occur on low-speed links and bandwidth of high-speed links cannot be used efficiently. To solve this problem, you can configure Unequal Cost Multiple Path (UCMP) on an interface so that proportional traffic can be loaded over equal-cost links based on the bandwidth. This configuration can achieve proper load balancing.

Among the equal-cost links, the bandwidth of any link must be equal to or greater than 1/4 of the total bandwidth; otherwise, the link cannot participate in load balancing traffic by bandwidth.

You are advised to configure the bandwidth of each link participating in UCMP to an integral multiple of the minimum bandwidth. If the bandwidth of each link is not configured to an integral multiple of the minimum bandwidth, the system still uses an integral multiple of the minimum bandwidth to process. For example, if the bandwidths of four links participating in UCMP are configured to 2 Kbps, 3 Kbps, 4 Kbps, and 5 Kbps, the final bandwidths of the links are 2 Kbps, 2 Kbps, 4 Kbps, and 4 Kbps.


  1. Run system-view

    The system view is displayed.

  2. Run interface interface-type interface-number [.subinterface-number ]

    The interface or sub-interface view is displayed.

    Among all subinterfaces, only the Ethernet sub-interfaces (Dot1q and QinQ termination sub-interfaces) and Eth-trunk sub-interfaces (Dot1q termination sub-interfaces) support configuration of unequal cost multiple path.

  3. (Optional) Run load-balance bandwidth bandwidth

    The bandwidth is manually configured for the interface.

    For a logical interface, the interface bandwidth is not configured by default; for a physical interface, the actual interface bandwidth is used by default. Therefore, this step is mandatory for the logical interface.

    Perform this step if you need to adjust the bandwidth of equal-cost links so that the equal-cost links load balance traffic based on the configured bandwidth.

  4. Run load-balance unequal-cost enable

    UCMP is enabled on the interface.

    By default, UCMP is disabled on an interface.

  5. Run shutdown

    The interface is shut down.

  6. Run undo shutdown

    The interface is started.

  7. Run quit

    Return to the system view.

    To configure UCMP on other interfaces, repeat steps 2 through 7.


    Equal-cost links load balance proportional traffic based on the configured bandwidth only when UCMP is enabled on the outbound interfaces of all equal-cost links and the shutdown and undo shutdown commands are executed on the outbound interfaces in sequence to trigger FIB entry update. If UCMP is not enabled on any outbound interface, the equal-cost links evenly load balance traffic even though FIB entry update is triggered.

Updated: 2019-05-20

Document ID: EDOC1100034231

Views: 78669

Downloads: 51

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Previous Next