Let's be more precise. There is no publicly known way to remove a
non-private AS number from AS-path on a device running Cisco IOS ... but you
could always adapt Quagga source code to your needs.

As pointed out by previous replies, tweaking AS-PATH is a really bad idea.
BGP has numerous other tools.

Ivan
 
http://www.ioshints.info/about
http://blog.ioshints.info/

> -----Original Message-----
> From: [email protected] [mailto:[email protected]] 
> Sent: Thursday, May 28, 2009 6:56 PM
> To: Varaillon Jean Christophe
> Cc: [email protected]
> Subject: Re: [c-nsp] Remove BGP AS path number number from an AS PATH
> 
> yup, you can't remove public AS from AS path. would you 
> please share the idea why you wana remove it :)
> 
> there are many other attributes to tweak bgp, y not u use them.
> 
> BR\\
> Masood
> 
> 
> > I doubt that you can do that... but if this is to influence your 
> > outgoing traffic, then I would use local-preferences.
> >
> > Christophe
> >
> >
> > -----Original Message-----
> > From: [email protected] 
> > [mailto:[email protected]] On Behalf Of 
> Michalis Palis
> > Sent: Thursday, May 28, 2009 9:49 AM
> > To: [email protected]
> > Subject: [c-nsp] Remove BGP AS path number number from an AS PATH
> >
> > Hello All
> >
> > Is their a way to remove the first AS number (not private) 
> from an AS 
> > path?
> >
> > For example we are receiving a route with AS PATH  123 456 
> 456 456 and 
> > we want to remove the 123 AS and put in the BGP table the 
> route with 
> > AS 456
> > 456
> > 456 .
> >
> > Thanks for your reply
> > _______________________________________________
> > cisco-nsp mailing list  [email protected] 
> > https://puck.nether.net/mailman/listinfo/cisco-nsp
> > archive at http://puck.nether.net/pipermail/cisco-nsp/
> >
> >
> > __________ Information from ESET Smart Security, version of virus 
> > signature database 4112 (20090528) __________
> >
> > The message was checked by ESET Smart Security.
> >
> > http://www.eset.com
> >
> >
> >
> > __________ Information from ESET Smart Security, version of virus 
> > signature database 4112 (20090528) __________
> >
> > The message was checked by ESET Smart Security.
> >
> > http://www.eset.com
> >
> >
> > _______________________________________________
> > cisco-nsp mailing list  [email protected] 
> > https://puck.nether.net/mailman/listinfo/cisco-nsp
> > archive at http://puck.nether.net/pipermail/cisco-nsp/
> >
> 
> 
> 
> 

_______________________________________________
cisco-nsp mailing list  [email protected]
https://puck.nether.net/mailman/listinfo/cisco-nsp
archive at http://puck.nether.net/pipermail/cisco-nsp/

Reply via email to