From: Daniel Sheedy (dansheedy@gmx.net)
Date: Thu Oct 02 2003 - 08:22:04 GMT-3
Hi Pierre,
I will be the first to put my hand up for the "not too sure on BGP club" and
am in the middle of getting up to speed on it, But form this page,
http://www.cisco.com/univercd/cc/td/doc/cisintwk/ito_doc/bgp.htm
I noticed there were a few other things that it checked before it got to the
external/internal comparison.
If the path specifies a next hop that is inaccessible, drop the update.
Prefer the path with the largest weight.
If the weights are the same, prefer the path with the largest local
preference.
If the local preferences are the same, prefer the path that was originated
by BGP running on this router.
If no route was originated, prefer the route that has the shortest AS_path.
If all paths have the same AS_path length, prefer the path with the lowest
origin type (where IGP is lower than EGP, and EGP is lower than incomplete).
If the origin codes are the same, prefer the path with the lowest MED
attribute.
If the paths have the same MED, prefer the external path over the internal
path.
If the paths are still the same, prefer the path through the closest IGP
neighbor.
Prefer the path with the lowest IP address, as specified by the BGP router
ID.
Was one of the paths originated from this router? Or, do they have
different MEDs? (excuse my ignorance if i am looking at it and cant see it).
Daniel Sheedy
----- Original Message -----
From: "Pierre-Alex" <pierreg@planetkc.com>
To: <ccielab@groupstudy.com>
Sent: Thursday, October 02, 2003 12:39 PM
Subject: BGP confederation metric rule
> BGP metric rules says to prefer BGP confed-external routes over IBGP
routes.
> I am getting the contrary.
>
> Can anyone put me back on track?
>
> Thank you,
> Pierre-Alex
>
> ------------------------------------------------
>
> R2>sh ip bgp 172.16.151.0
> BGP routing table entry for 172.16.151.0/24, version 9
> Paths: (2 available, best #1, table Default-IP-Routing-Table)
> Advertised to non peer-group peers:
> 10.5.2.1
> (65030)
> 10.5.1.1 (metric 2185984) from 172.16.1.11 (1.1.1.1)
> Origin IGP, metric 0, localpref 100, valid, internal, best <-----
the
> IBGP route was chosen. Violation of the rule!
> (65030)
> 10.5.1.1 (metric 2185984) from 10.5.2.1 (5.5.5.5)
> Origin IGP, metric 0, localpref 100, valid, confed-external <-----
> this should have been chosen
>
> ***Get your CCIE and a FREE vacation: Shop.GroupStudy.com***
> _______________________________________________________________________
> Please help support GroupStudy by purchasing your study materials from:
> shop.groupstudy.com
>
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
***Get your CCIE and a FREE vacation: Shop.GroupStudy.com***
This archive was generated by hypermail 2.1.4 : Mon Nov 24 2003 - 07:52:55 GMT-3