Operation Manual – IPv4 Routing
H3C S3610&S5510 Series Ethernet Switches
Chapter 5 BGP Configuration
5-10
z
No_Advertise: After received, routes with this attribute cannot be advertised to
other BGP peers.
z
No_Export_Subconfed: After received, routes with this attribute cannot be
advertised out the local AS or other ASs in the local confederation.
5.1.3 BGP Route Selection
I. Route selection rules
BGP uses the following route selection rules:
z
Discard routes with unreachable NEXT_HOP first
z
Select the route with the highest Preferred_value
z
Select the route with the highest LOCAL_PREF
z
Select the route originated by the local router
z
Select the route with the shortest AS-PATH
z
Select IGP, EGP, Incomplete routes in turn
z
Select the route with the lowest MED value
z
Select routes learned from EBGP, confederation, IBGP in turn
z
Select the route with the smallest next hop cost
z
Select the route with the shortest CLUSTER_LIST
z
Select the route with the smallest ORIGINATOR_ID
z
Select the route advertised by the router with the smallest Router ID
Note:
z
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.
z
If load balancing is configured, the system selects available routes to implement
load balancing.
II. Route selection with BGP load balancing
The next hop of a BGP route may not be a directly connected neighbor. One of the
reasons is next hops in routing information exchanged between IBGPs are not modified.
In this case, a router finds the direct route via IGP route entries to reach the next hop.
The direct route is called the reliable route. The process of finding a reliable route to
reach a next hop is route recursion.
BGP load balancing based on route recursion means that if reliable routes are load
balanced (suppose three next hop addresses), BGP generates the same number of
next hops to forward packets. Note that BGP load balancing based on route recursion
is always enabled by the switch rather than configured using commands.