Bgp route selection, Route selection rules, Route selection with bgp load balancing – H3C Technologies H3C SR8800 User Manual
Page 217: Bgp route, Selection
201
for advertising the route) based on the COMMUNITY attribute values. This simplifies routing policy
usage and facilitates management and maintenance. Well-known community attributes involve:
{
Internet—By default, all routes belong to the Internet community. Routes with this attribute can
be advertised to all BGP peers.
{
No_Export—After received, routes with this attribute cannot be advertised out the local AS or
out the local confederation, but can be advertised to other sub-ASs in the confederation. For
confederation information, see “
Settlements for problems in large scale BGP networks
{
No_Advertise—After received, routes with this attribute cannot be advertised to other BGP
peers.
{
No_Export_Subconfed—After received, routes with this attribute cannot be advertised out the
local AS or other ASs in the local confederation.
BGP route selection
Route selection rules
BGP discards routes with unreachable NEXT_HOPs. If multiple routes to the same destination are
available, BGP selects the best route in the following sequence:
1.
The route with the highest Preferred_value
2.
The route with the highest LOCAL_PREF
3.
The route originated by the local router
4.
The route with the shortest AS-PATH
5.
The IGP, EGP, or Incomplete route in turn
6.
The route with the lowest MED value
7.
The route learned from EBGP, confederation, or IBGP in turn
8.
The route with the smallest next hop metric
9.
The route with the shortest CLUSTER_LIST
10.
The route with the smallest ORIGINATOR_ID
11.
The route advertised by the router with the smallest Router ID
12.
The route advertised by the peer with the lowest IP address
NOTE:
•
CLUSTER_IDs of route reflectors form a CLUSTER_LIST. If a route reflector receives a route that contains its
own CLUSTER ID in the CLUSTER_LIST, the router discards the route to avoid routing loops.
•
If load balancing is configured, the system selects available routes to implement load balancing.
Route selection with BGP load balancing
The next hop of a BGP route may not be directly connected. One of the reasons is next hops in routing
information exchanged between iBGPs are not modified. The BGP router needs to find the directly
connected next hop via IGP. The matching route with the direct next hop is called the “recursive route”.
The process of finding a recursive route is route recursion.
The system supports BGP load balancing based on route recursion. If multiple recursive routes to the
same destination are load balanced (suppose three direct next hop addresses), BGP generates the same
number of next hops to forward packets. BGP load balancing based on route recursion is always
enabled by the system rather than configured using commands.
- 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