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

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 a Traffic Load Balancing Mode

Configuring a Traffic Load Balancing Mode

Context

Routers support the multi-routed mode. That is, you can configure multiple routes with the same destination and preference. When multiple routes have the same destination and cost and are discovered by the same routing protocol, routers load balance traffic among these routes.

In network applications, routers often use load balancing to improve link efficiency and increase network bandwidth. In real-world applications, to utilize link resources, different methods need to be used to forward packets. You can flexibly configure load balancing modes to meet different scenario requirements.

NOTE:

The ip load-balance packet and ip load-balance hash commands cannot take effect simultaneously.

Procedure

  • Configure UCMP and ECMP load balancing for traffic distribution.
    1. Run system-view

      The system view is displayed.

    2. Run ip load-balance hash { src-ip | dst-ip | src-dst-ip }

      UCMP and ECMP load balancing algorithms are configured for traffic distribution.

      By default, IP packets are load balanced based on the source and destination IP addresses; TCP or UDP packets are load balanced based on the source IP address, destination IP address, source port number, and destination port number.

  • Configure per-packet load balancing for traffic distribution.
    1. Run system-view

      The system view is displayed.

    2. Run ip load-balance packet

      Traffic is distributed in per-packet load balancing mode.

      By default, traffic is distributed in per-flow load balancing mode.

      NOTE:
      • When packets need to be fragmented and the delay difference between two links is large, packet mis-sequencing may occur during packet reassembly if traffic is distributed in per-packet load balancing mode.

Translation
Download
Updated: 2019-05-20

Document ID: EDOC1100034231

Views: 82365

Downloads: 54

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