[c-nsp] BGP Route selection

Pete Templin petelists at templin.org
Fri May 23 11:53:24 EDT 2008


Gary Roberton wrote:

> Router A BGP table entry is shown here;
> 
> *  90.0.0.0 <http://90.0.0.0>         10.40.1.6 
> <http://10.40.1.6>               50             0 64604 1000 i
> 
> *>                  10.40.1.2 
> <http://10.40.1.2>                              0 64603 1000 i
> 

Paths come from different neighbor ASes, so MED doesn't apply unless you 
override default behavior.

On most newer IOSes, oldest path wins, so everything's working as expected.

You should tweak a different knob to achieve the desired results. 
Origin code comes to mind as an easy twiddle.  Or, have the remote 
routers send a community to request a particular local preference (as 
someone else suggested) - you'll need a community-list and a route-map 
to catch this.  Or just write a route-map to adjust local-pref or weight 
upon local receipt of the prefix.

pt


More information about the cisco-nsp mailing list