Well, than how IX do that? Modified source code of RR?
On 20 July 2011 23:11, Persio Pucci <persio_at_gmail.com> wrote:
> Well, you can't delete or swap "any". You can modify your AS behavior, being
> it your "process AS" (router bgp ASN) or your "alternative" (neighbor
> local-as).
> Other than those you really can't do much (besides hidding then with
> aggregates...)
>
> On Wed, Jul 20, 2011 at 12:17 PM, Vladimir Osipenko <tiffolk_at_gmail.com>
> wrote:
>>
>> Well, I meant "how to do" this kind of staff. How to delete or swap
>> any public AS with another one?
>>
>> On 20 July 2011 18:01, Persio Pucci <persio_at_gmail.com> wrote:
>> > 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 Thu Jul 21 2011 - 00:33:08 ART
This archive was generated by hypermail 2.2.0 : Mon Aug 01 2011 - 06:30:06 ART