Re: Removing public ASN from path

From: Persio Pucci <persio_at_gmail.com>
Date: Wed, 20 Jul 2011 11:01:53 -0300

Vladimir,

not like that. You have to have an eBGP session established under "router
bgp Z" using "neighbor B local-as X", which means the other side has your
peer configure as "neighbor A remote-as X". By doing that, your routes
originated on your Z AS will be sent with a AS PATH of "X Z". If you want
them only to have "X" on the AS PATH, then you can use "local-as X
no-prepend replace-as".

Makes sense?

On Wed, Jul 20, 2011 at 10:42 AM, Vladimir Osipenko <tiffolk_at_gmail.com>wrote:

> And can you replace AS number with any other AS number?
>
> On 20 July 2011 16:49, Persio Pucci <persio_at_gmail.com> wrote:
> > right on the money!
> >
> > worst part is now that you have mentioned I remember I have even used
> that
> > command before... :/
> >
> > tks again :)
> >
> > On Wed, Jul 20, 2011 at 9:34 AM, Daniel Dib <daniel.dib_at_reaper.nu>
> wrote:
> >
> >> On on, jul 20, 2011 at 14:19:43, Persio Pucci wrote:
> >> > Subject: Removing public ASN from path
> >> >
> >> > Hi folks,
> >> >
> >> > I have a connection to a financial service where they will only allow
> >> > to receive routes from the private ASN (e.g. 65000) they have assigned
> >> > me. My problem is that I am generating these routes from one router
> >> > that is already running my public ASN (e.g. 100). I am using "neighbor
> >> > local-as 65000" to establish connection to the financial service, but
> >> > they are dropping my routes because they have the AS_PATH as "100
> >> > 65000". I need them to go as "65000" only.
> >> >
> >> > Is there anyway to force IOS send this particular route as if it was
> >> > generated by the ASN I am *pretending* to be on the "local-as"
> command?
> >> > I have tried aggregate-address but it does not seems to help here.
> >> >
> >> > Persio
> >>
> >> Hi Persio,
> >>
> >> Try using the replace-as command. Neighbor x.x.x.x local-as 65000
> >> replace-as. You can find the documentation for this @
> >>
> >>
> http://www.cisco.com/en/US/partner/docs/ios/iproute_bgp/command/reference/ir
> >> g_bgp3.html#wp1107625
> >>
> >> HTH
> >>
> >> Daniel
> >
> >
> > 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 Wed Jul 20 2011 - 11:01:53 ART

This archive was generated by hypermail 2.2.0 : Mon Aug 01 2011 - 06:30:06 ART