On Tue, 21 Nov 2000, Yee, Jason wrote:

> Anyone here knows which BGP path criteria takes precedence ? AS_PATH or
> local preference 

Local preference! See Halabi's book P.168


> >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 

Here you lost me; what does it mean "prefixes goes to another provider's
link"?
Please consider that the higher the local preference, the "more
preferred" is the route; can you please send to the list the output of "sh
ip bgp <prefix> for one of the prefixes you are having problem with ?

The output should be something like this: (fake example )

  3300 3300 3300 3300 8933 137, (aggregated by 137 193.206.129.254),
(received & used)
    195.206.65.137 (metric 6) from 195.158.226.160 (192.121.158.8)
      Origin IGP, localpref 134, valid, internal, atomic-aggregate, best
      Community: 1755:80 1755:666 1755:1000 1755:2000
      Originator: 192.121.158.8, Cluster list: 195.158.226.160
  3300 3300 3300 3300 8933 137, (aggregated by 137 193.206.129.254),
(received & used)
    195.206.65.137 (metric 6) from 195.158.226.161 (192.121.158.8)
      Origin IGP, localpref 104, valid, internal, atomic-aggregate
      Community: 1755:80 1755:666 1755:1000 1755:2000
      Originator: 192.121.158.8, Cluster list: 195.158.226.161

In this example the first route is chosen for its highest local
preference..

Can you post an example of your output???

Cheers,
 Saverio

_________________________________
FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html
Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]

Reply via email to