This document describes IP Unicast Routing configurations supported by the switch, including the principle and configuration procedures of IP Routing Overview, Static Route, RIP, RIPng, OSPF, OSPFv3, IS-IS(IPv4), IS-IS(IPv6), BGP, Routing Policy ,and PBR, and provides configuration examples.
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.
Procedure
Configure common ECMP load balancing.
Run system-view
The system view is displayed.
Run ecmp load-balancesip [ 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.
Run system-view
The system view is displayed.
Run ecmp-profileprofile-name
An ECMP profile is created, and
the ECMP profile view is displayed.
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.
Run quit
Return to the system view.
Run ecmp load-balance enhanced profileprofile-name
The ECMP profile
is applied.
Verifying the Configuration
Run the display ecmp-profile [ profile-name ] command to check the ECMP profile configuration.