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.


Configuration Guide - IP Unicast Routing

CloudEngine 12800 and 12800E V200R002C50

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, 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).
Load Balancing and Route Backup

Load Balancing and Route Backup

When multiple routes have the same routing protocol preference and metric, these routes are called equal-cost routes, among which load balancing can be implemented. When multiple routes have different routing protocol preferences and metrics, route backup can be implemented among these routes.

Load Balancing

Routers support the multi-route mode, which allows you to configure multiple routes with the same destination and preference. If the destinations and costs of multiple routes discovered by the same routing protocol are the same, load balancing can be performed among the routes.

During load balancing, a router forwards packets based on the packets' 5-tuple (source IP address, destination IP address, source port, destination port, and transport protocol). When the 5-tuple information is the same, the router always chooses the next-hop address that is the same as the last one to send packets. When the 5-tuple information is different, the router forwards packets over idle paths.

Figure 1-2 Networking diagram of load balancing

In the example shown in Figure 1-2, RouterA forwards the first packet P1 to through GE1/0/0 and needs to forward subsequent packets to and respectively. The forwarding process is as follows:

  • If RouterA finds that 5-tuple information of P2 destined for is the same as that of P1 destined for, it forwards P2 and subsequent packets destined for through GE1/0/0.

  • If RouterA finds that 5-tuple information of P1 destined for is different from that of P1 destined for, it forwards P1 and subsequent packets destined for through GE2/0/0.

When ECMP resources are insufficient on CE12800E series switches that have the ED-E/EG-E/EGA-E series cards installed, only a single next hop in the new ECMP load balancing forwarding group is used for packet forwarding. To check the specific forwarding path, run the display ip fib command.

Route Backup

Route backup can improve network reliability. You can configure multiple routes to the same destination as required. The route with the highest preference functions as the primary route, and other routes with lower preferences function as backup routes.

A router generally uses the primary route to forward data. When the primary link fails, the primary route becomes inactive. The router selects a backup route with the highest preference to forward data. In this manner, data is switched from the primary route to a backup route. When the primary link recovers, the router selects the primary route to forward data again because the primary route has the highest preference. Data is then switched back from the backup route to the primary route.

Updated: 2019-03-21

Document ID: EDOC1000166601

Views: 272349

Downloads: 161

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Previous Next