From: Rob Clav (robclav@gmail.com)
Date: Sat Nov 01 2008 - 18:25:14 ARST
Hi,
well I'm not sure if you said that you had applied the route-map
incoming to the same router who is prepending as-path. If yes then you
need to apply as-path prepending outbound in order to affect how
traffic enter your AS.
AS-path and MED are made to influence how traffic enter in your own
AS, so they are values to send to your ebgp neis.
Weight, and local-preference are made to influence traffic leave your
AS, so they are values to send inside your AS. But weight who is local
to the router.
The best path to a prefix is elected from
most preffered -->Next-hop reacheable yes/not higher Weight higher
Local-prefec Local-injected shorter As-path Origin lowerMed bpg Nei
type Igp metric -->less preffered
Br,
Roberto Clavero
2008/10/31 groupstudy email <groupstudy@gmail.com>:
> Hey Guys,
>
> Can anyone explain why the best path is the best path. As I understand it,
> ebgp is preferred over ibgp (AD of 20 for ebgp versus 200 for ibgp).
>
> I have configured a route map to prepend ASs (AS-path prepend 65218 65218
> 65218) on router1 and applied it inbound to the ebgp neighbor, but still
> this path is not preferred even though the AD of 20.
>
> There is no other config that would direct traffic to the internal neighbor.
>
> router1(config)#do sh ip bgp 10.70.0.0
> BGP routing table entry for 10.70.0.0/23, version 63710
> Paths: (2 available, best #1, table Default-IP-Routing-Table)
> Not advertised to any peer
> 65501 65000 65000 50002
> 10.70.128.65 from 10.70.128.65 (10.70.97.14)
> Origin incomplete, metric 0, localpref 100, valid, internal, best
> 65218 65218 65218 65218 12641 65006 65006 65006 50002
> 10.70.128.35 from 10.70.128.35 (213.15.219.7)
> Origin incomplete, localpref 100, valid, external
> router1(config)#
>
>
> Blogs and organic groups at http://www.ccie.net
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
Blogs and organic groups at http://www.ccie.net
This archive was generated by hypermail 2.1.4 : Mon Dec 01 2008 - 08:18:28 ARST