This is the BGP attribute decision process:
1 BGP Path Selection starts; if the next hop is inaccessible, do not
consider it.
2 Consider larger BGP administrative weights first.
3 If the routers have the same weight, consider the route with higher local
preference.
4 If the routes have the same local preference, prefer the route that the
specified router originated.
5 If no route was originated, prefer the shorter AS path.
6 If the AS paths are of the same length, prefer external paths over
internal paths.
7 If all paths are external, prefer the lowest origin code (IGP [Interior
Gateway Protocol] <EGP <INCOMPLETE).
8 If origin codes are the same, prefer the path with the lowest
MULTI_EXIT_DISC (MED). A missing metric is treated as zero.
9 If IGP synchronization is disabled and only an internal path remains,
prefer the path through the closest IGP neighbor.
10 Prefer the route with the lowest IP address value for the BGP router ID.
>From: "Yee, Jason" <[EMAIL PROTECTED]>
>Reply-To: "Yee, Jason" <[EMAIL PROTECTED]>
>To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
>Subject: bgp path selection criteria
>Date: Tue, 21 Nov 2000 03:38:56 -0500
>
>
>
>hi ,
>
>
>Anyone here knows which BGP path criteria takes precedence ? AS_PATH or
>local preference
>
>
>From what I read it is local preference , but in actual fact it is not so ,
>why I said this is because I have a customer who prepends their prefixes
>many times then advertise them to us but on our side we set local
>preference
>to customers' routes to 90 which in fact will always come back to us if we
>do this but this is not happening
>
>Instead the prefixes go to another providers' link because their AS-PATH is
>shorter
>
>why is that so?
>
>
>Jason
>
>_________________________________
>FAQ, list archives, and subscription info:
>http://www.groupstudy.com/list/cisco.html
>Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]
_____________________________________________________________________________________
Get more from the Web. FREE MSN Explorer download : http://explorer.msn.com
_________________________________
FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html
Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]