[c-nsp] Remove BGP AS path number number from an AS PATH

Ivan Pepelnjak ip at ioshints.info
Thu May 28 12:30:57 EDT 2009


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: masood at nexlinx.net.pk [mailto:masood at nexlinx.net.pk] 
> Sent: Thursday, May 28, 2009 6:56 PM
> To: Varaillon Jean Christophe
> Cc: cisco-nsp at puck.nether.net
> 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: cisco-nsp-bounces at puck.nether.net 
> > [mailto:cisco-nsp-bounces at puck.nether.net] On Behalf Of 
> Michalis Palis
> > Sent: Thursday, May 28, 2009 9:49 AM
> > To: cisco-nsp at puck.nether.net
> > 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  cisco-nsp at puck.nether.net 
> > 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  cisco-nsp at puck.nether.net 
> > https://puck.nether.net/mailman/listinfo/cisco-nsp
> > archive at http://puck.nether.net/pipermail/cisco-nsp/
> >
> 
> 
> 
> 



More information about the cisco-nsp mailing list