You can also use BGP inject map and reinject the routes. Not that this is a
proper use of BGP inject map, as it is used to do "reverse aggregation" and
introduce more specific routes into the network, but you can also use it to
reinject the same routes and it will strip the path, as the new route is
created. I even had to do it in production once. It's a hack, but it will
do the job.
Yan
On Sun, Nov 21, 2010 at 8:28 PM, Zack Tennant <ccie_at_tnan.net> wrote:
> Why do you want to do something instead of prepending? You can prepend
> towards your iBGP neighbor, and it will make it longer.
>
> On Fri, Nov 19, 2010 at 22:42, Green Packets <greenpackets_at_gmail.com>
> wrote:
>
> > dear Experts ...
> >
> > to influence path selection, is there a way to do a complete
> > rewrite/override AS-Path (instead of prepending)?
> >
> > e.g. When I received a route from EBGP-peer with AS-Path "3 2 1", I'd
> > like to do a complete rewrite to "8 7 6 5 4" or just a "1" before I
> > advertise it to my IBGP peer.
> >
> > I thought I could use "neighbor x.x.x.x as-override" command, but
> > looks like it's for different scenario (PC, CE, MPLS, etc).
> >
> > TIA
> >
> >
> > 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
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
Blogs and organic groups at http://www.ccie.net
Received on Tue Nov 23 2010 - 09:46:13 ART
This archive was generated by hypermail 2.2.0 : Sun Dec 05 2010 - 22:14:56 ART