0% found this document useful (0 votes)
29 views1 page

!!!!!BGPselection Process1

1. The document describes the best path selection process in BGP. 2. It evaluates characteristics of multiple routes like AS_PATH length, LOCAL_PREFERENCE, ORIGIN, MED, IGP metrics, and neighbor AS to determine the best path. 3. The route with the shortest AS_PATH, highest LOCAL_PREFERENCE, closest ORIGIN, lowest MED, best IGP metrics, or received from external AS is selected as the best path.

Uploaded by

garmahis79
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
29 views1 page

!!!!!BGPselection Process1

1. The document describes the best path selection process in BGP. 2. It evaluates characteristics of multiple routes like AS_PATH length, LOCAL_PREFERENCE, ORIGIN, MED, IGP metrics, and neighbor AS to determine the best path. 3. The route with the shortest AS_PATH, highest LOCAL_PREFERENCE, closest ORIGIN, lowest MED, best IGP metrics, or received from external AS is selected as the best path.

Uploaded by

garmahis79
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Begin

Does the local


AS belong to the YES
route AS_PATH
?

NO

YES
When soft-reconfiguration inbound is configurd Is it a received Not eligible for best path
The route is kept to reevaluate inbound policy only path? selection

NO

YES
Is the path
dampened?

NO

NO Is
synchronization
enabled?

YES

By default
IOS > 12.2(8)T

Route exist on The route is unreachable and


IGP routing marked as
table? NO
« not synchronized »

YES

Is NEXT-HOP
reachable ? The router is rejected, not to be
(from the routing chosen as best path
NO
table)

Make sure there is an IGP


route to the NEXT-HOP IP
YES

Best path selection

Only locally considered where the decision will


be made Are weight
locally generated routes weight = 31768 Choose the highest weight
Attributes NO
Learned from other peers weight = 0 equals ?

YES

Transitive inside local AS. Are local


By default preference Choose the
LOCAL-PREFERENCE = 100 attributes highest LOCAL -PREFERENCE
Or explicitly NO
equals ?
« bgp default local-preference »

YES

Is one of the Choose the one injected by local


Local path sourced by routes injected routers.
« network » / « redistribute » / « aggregate-address » by local router « network » & « redistribute »
commands (originated by the YES take precedence over
router itself)
« aggregate-address »

NO

Skip AS-PATH Using the command:


YES check? « bgp best path as-path ignore »

NO

Are all Choose the


1st most common
AS_PATH
attribute
equals ? (length)
shortest AS_PATH
NO
- AS_SET counted as 1
- not including:
AS_CONFED_SEQUENCE &
AS_CONFED_SET
YES

Are ORIGIN Order of preference


equals ? NO
IGP EGP « Incomplete »

YES

The same
neighbor AS
from which the
NO routes are
received use
MED?

YES

Default MED = 0
Except with the command:
Routes coming
« Bgp bestpath med missing-as-worst » from the same YES Choose the route with the lowest
neighbor AS with MED
MED = 4,294,967,294
MED not equals

NO

Prefer update received from BGP


One route is from
peer on another AS
external AS? YES (Prefer eBGP path over iBGP)

NO

Choose the route one with the


Are IGP metrics to closest exit point, the lowest IGP
BGP NEXT-HOP cost to NEXT-HOP on the routing
equal? NO table
(Choose the best IGP metric)

YES

Is « BGP Use all paths that has survived


multipath » until now as multipath to the
configured? YES destination

NO

With updates from


Choose the oldest path, the
external AS
(eBGP neighbors) most stable
YES
Is there a more (prevent route flapping)
stable path?

NO

Are
From BGP sessions routes Received The LOWEST ROUTER_ID is
on which the updates from different chosen
YES
are received. routers?

Router-ID is:
1) bgp router-id else
2) highest loopback else
NO 3) highest pysical interface.

Route Reflectors
deployed?
NO

YES

Cluster_list used to avoid loops between


clusters. The paths have
- Cluster_list = sequence of RR’s cluster_ID The SHORTEST Cluster_ID is
different
(RR router_ID) YES chosen
- Each RR add its cluster_ID before sending.
cluster_IDs

NO

The path with the LOWEST


neighbor IP is used.

End

You might also like