How to change the ECMP load balancing mode on S series switches

Equal-cost multi-path routing (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 takes a certain period when dynamic routes are used. Different from the traditional routing technology, ECMP uses multiple links to increase transmission bandwidth and transmits data without any delay or packet loss in the case of a faulty link.
To configure the ECMP load balancing mode on ECMP-capable S series switches, run the ecmp load-balance sip [ dip ] [ port ] command in the system view. By default, packets are load balanced based on the source and destination IP addresses and the source port number at the transmission layer. When you repeatedly run the ecmp load-balance command in the system view, the latest configuration overrides the previous configuration.
Example:
Set ECMP load balancing based on the source IP address.
[HUAWEI] ecmp load-balance sip

Scroll to top