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

Reminder

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

upgrade

Configuration Guide - IP Unicast Routing

S7700 and S9700 V200R013C00

This document describes the configurations of IP Unicast Routing, including IP Routing, Static Route, RIP, RIPng, OSPF, OSPFv3, IPv4 IS-IS, IPv6 IS-IS, BGP, Routing Policy, IP Routing Table Management, and PBR.
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 the ECMP Load Balancing Mode

Configuring the ECMP Load Balancing Mode

Context

ECMP applies to the network where multiple links to the same destination are available. In the traditional routing technology, packets are forwarded to the destination through one link only; the other links are in backup or inactive state; switching between these links requires a certain period when dynamic routes are used. Different from the traditional routing technology, ECMP can use multiple links to increase transmission bandwidth and transmit data of a faulty link without any delay or packet loss.

If multiple routes discovered by the same routing protocol have the same destination address and route, load balancing can be performed among these routes. ECMP provides common load balancing and enhanced load balancing. Common ECMP provides load balancing based on the source IP address, destination IP address, and transport layer source port number. Enhanced ECMP provides more load balancing templates.

The number of equal-cost routes for load balancing is limited. Equal-cost routes that have the same destination address and are discovered by the same routing protocol are classified into an ECMP group. Therefore, the more equal-cost routes for each ECMP group, the fewer allocated ECMP groups. Generally, the maximum number of equal-cost routes for load balancing on a switch is 32 or 64 (depending on the card type), and the maximum number of equal-cost routes for each ECMP group can be dynamically allocated. The maximum number of equal-cost routes on SA series cards (except ES0D0X12SA00, EH1D2X12SSA0, and ET1D2X12SSA0) can be set to 16 or 32 using the set max-ecmp-path command, and the maximum number of equal-cost routes for each ECMP group can only be 16 or 32.

Procedure

  • Configure common ECMP load balancing.
    1. Run system-view

      The system view is displayed.

    2. Run ecmp load-balance sip [ dip ] [ port ]

      The ECMP load balancing mode is set.

      By default, ECMP load balancing is performed on packets based on the source IP address, destination IP address, and transport-layer source port number.

  • Configure enhanced ECMP load balancing.
    1. Run system-view

      The system view is displayed.

    2. Run ecmp-profile profile-name

      An ECMP profile is created, and the ECMP profile view is displayed.

    3. Run ipv4 field { sip | dip | vlan | l4-sport | l4-dport | protocol | sport } *

      The ECMP load balancing mode of IPv4 packets is set.

      By default, enhanced ECMP load balancing is performed on IPv4 packets based on the source IP address and destination IP address.

    4. Run quit

      Return to the system view.

    5. Run ecmp load-balance enhanced profile profile-name

      The ECMP profile is applied.

Verifying the Configuration

  • Run the display ecmp-profile [ profile-name ] command to check the ECMP profile configuration.

  • Run the display max-ecmp-path configuration command to check the configuration of the maximum number of equal-cost routes for load balancing on the device.

  • Run the display fib ecmp resource command to check the ECMP resource usage.

Translation
Download
Updated: 2019-04-08

Document ID: EDOC1100065744

Views: 65720

Downloads: 50

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