Configuring BGP load balancing better utilizes network resources and reduces network congestion.
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.
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.
Equal-cost BGP routes can be generated for traffic load balancing only when the first 9 route attributes described in "Principles of Route Selection" are the same, and the AS_Path attributes are also the same.
This configuration is used in a VPN where a CE is dual-homed to two PEs. When the CE and one PE belong to an AS and the CE and the other PE belong to a different AS, you can set the number of EBGP and IBGP routes to be used for load balancing. This allows VPN traffic to be balanced among EBGP and IBGP routes.