Re: ASPATH

From: dp595@optonline.net
Date: Wed Jan 08 2003 - 11:07:17 GMT-3


John I don't believe you can accomplish your prepending this way.
You are specifying to advertise 10.10.10.0 and to prepend the path under
your global bgp config, but prepending can only be manipulated on outbound
announcements to EBGP peers, therefore you should add the route-map policy
to your neighbor statement or if you want to use the same policy for
multiple peers then put them in a peer group and set the policy on the peer
group.
HTH

Dan Pontrelli

> Nothing is prepended, period, internal or external, that's the point.
Though
> bgp takes this command in the route-map without error, it only works when
> route-map is applied to neighbor statement as well, begging the question,
> what metrics does a route-map added to a network statement actually
affect,
> without the additional nei x.x.x.x route-map command? Anyways, just a
> thought, I'll work it out at the console lator..
> ----- Original Message -----
> From: "Joe Aalbregtse" <groupstudy@comcast.net>
> To: "John Underhill" <stepnwlf@magma.ca>
> Cc: <ccielab@groupstudy.com>
> Sent: Tuesday, January 07, 2003 1:20 PM
> Subject: Re: ASPATH
>
>
> > If the route is going to an iBGP peer, nothing will be prepended.
> >
> >
> >
> > ----- Original Message -----
> > From: John Underhill <stepnwlf@magma.ca>
> > Date: Monday, January 6, 2003 11:54 pm
> > Subject: ASPATH
> >
> > > Ok, one question before I call it a night, (the white noise from
> > > the rack
> > > churning away has me all but hallucinating..)
> > > So, I have this BGP config, and I want to advertise a network
> > > qualified by a
> > > route map, and use this to prepend the as-path of the specific
> > > route.. now
> > > usually when you are performing an illegal proceedure in BGP, it's
> > > goodenough to let you know, but the config goes ok, it just
> > > doesn't work.. my
> > > question is, can this work, or do I need to do this with neighbor
> > > boundroute maps only? Example is below.
> > > Thanks
> > >
> > > router bgp 100
> > > netw 10.10.10.0 mask 255.255.255.0 route-map ASP
> > >
> > > ip prefix-list PREFIX permit 10.10.10.0/24
> > > (with or without prefix list, it doesn't work..)
> > > route-map ASP permit 10
> > > match ip add prefix-list PREFIX
> > > set as-path prepend 400 407
> > > .
> > .
> .
.



This archive was generated by hypermail 2.1.4 : Sat Feb 01 2003 - 07:33:45 GMT-3