Bgp route advertisement rules – H3C Technologies H3C SR8800 User Manual
Page 218

202
BGP differs from IGP in the implementation of load balancing in the following ways:
•
IGP routing protocols such as RIP and OSPF compute metrics of routes, and then implement load
balancing over routes with the same metric and to the same destination. The route selection criterion
is metric.
•
BGP has no route computation algorithm, so it cannot implement load balancing according to
metrics of routes. However, BGP has abundant route selection rules, through which, it selects
available routes for load balancing and adds load balancing to route selection rules.
NOTE:
•
BGP implements load balancing only on routes that have the same AS_PATH, ORIGIN, LOCAL_PREF
and MED.
•
BGP load balancing is applicable between EBGP peers, between IBGP peers and between
confederations.
•
If multiple routes to the same destination are available, BGP selects a configurable number of routes for
load balancing.
Figure 80 Network diagram for BGP load balancing
In the above figure, Router D and Router E are IBGP peers of Router C. Router A and Router B both
advertise a route destined for the same destination to Router C. If load balancing is configured and the
two routes have the same AS_PATH attribute, ORIGIN attribute, LOCAL_PREF and MED, Router C installs
both the two routes to its route table for load balancing. After that, Router C forwards to Router D and
Router E the route that has AS_PATH unchanged but has NEXT_HOP changed to Router C; other BGP
transitive attributes are those of the best route.
BGP route advertisement rules
The current BGP implementation supports the following route advertisement rules:
•
When multiple feasible routes to a destination exist, the BGP speaker advertises only the best route
to its peers.
•
A BGP speaker advertises only routes that it uses.
•
A BGP speaker advertises routes learned through EBGP to all BGP peers, including both EBGP and
IBGP peers.
•
A BGP speaker does not advertise routes from an IBGP peer to other IBGP peers.
- H3C SR6600-X H3C SR6600 H3C WX6000 Series Access Controllers H3C WX5000 Series Access Controllers H3C WX3000 Series Unified Switches H3C LSWM1WCM10 Access Controller Module H3C LSWM1WCM20 Access Controller Module H3C LSQM1WCMB0 Access Controller Module H3C LSRM1WCM2A1 Access Controller Module H3C LSBM1WCM2A0 Access Controller Module