
8.17 Configuring BGP Load Balancing
Configuring BGP load balancing better utilizes network resources and reduces network
congestion.
Usage Scenario
On large networks, there may be multiple valid routes to the same destination. BGP, however,
advertises only the optimal route to its peers. This may result in unbalanced traffic on different
routes.
The following two methods can be used to address the problem of unbalanced traffic:
l
Use BGP routing policies to allow traffic to be balanced. For example, use a routing policy
to modify the Local_Pref, AS_Path, Origin, and Multi_Exit Discriminator (MED) attributes
of BGP routes to direct traffic to different forwarding paths for load balancing. For details
on how to modify attributes of BGP routes, see
Configuring BGP Route Attributes
.
l
Use multiple paths for load balancing. In this method, multiple equal-cost routes need to
be configured for traffic load balancing.
NOTE
Equal-cost BGP routes can be generated for traffic load balancing only when the first 9 route attributes
described in "Principles of Route Selection" in
BGP Features Supported by the NE80E/40E
are
the same, and the AS_Path attributes are also the same.
Pre-configuration Tasks
Before configuring BGP load balancing,
Data Preparation
To configure BGP load balancing, you need the following data.
No.
Data
1
Number of BGP routes to be used for load balancing
2
Number of EBGP and IBGP routes to be used for load balancing
Procedure
l
Set the number of BGP routes to be used for load balancing.
1.
Run:
system-view
The system view is displayed.
2.
Run:
bgp
{
as-number-plain
|
as-number-dot
}
The BGP view is displayed.
HUAWEI NetEngine80E/40E Router
Configuration Guide - IP Routing
8 BGP Configuration
Issue 02 (2014-09-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
843