Re: Re: AS-Path manipulation

From: ian (iyux2000@gmail.com)
Date: Wed Mar 21 2007 - 20:55:45 ART


M.Kerem Gursu,How are you#!

        Yes. Local-as does solve the problem. But it is required that certain configurations must be done on both side to accommodate this situation. Therefore, consider the following situation: If the question don't allow you to configure it on peer side, can we prepend any as-number on the most-right side of any BGP route manully and locally.

======= 2007-03-20 21:24:27 What you've mentioned in your letter#:=======

>Hi ,
>
>I think "local-as" would give the same result as route-map .
>
>
>R1#sh run | beg router bgp
>router bgp 254
> no synchronization
> bgp router-id 50.7.7.7
> bgp log-neighbor-changes
> network 100.100.100.0 mask 255.255.255.0
> neighbor 12.12.30.6 remote-as 2
> neighbor 12.12.30.6 local-as 253
> no auto-summary
>!
>ip route 100.100.100.0 255.255.255.0 Null0
>
>R1#sh ip bgp
>BGP table version is 2, local router ID is 50.7.7.7
>Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
> r RIB-failure, S Stale
>Origin codes: i - IGP, e - EGP, ? - incomplete
>
> Network Next Hop Metric LocPrf Weight Path
>*> 100.100.100.0/24 0.0.0.0 0 32768 i
>
>----------------------------------------------------------------------------------
>
>R2#sh run | beg router bgp
>router bgp 2
> no synchronization
> bgp router-id 50.6.6.6
> bgp log-neighbor-changes
> neighbor 12.12.30.7 remote-as 253
> no auto-summary
>
>R2#sh ip bgp
>BGP table version is 6, local router ID is 50.6.6.6
>Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
> r RIB-failure, S Stale
>Origin codes: i - IGP, e - EGP, ? - incomplete
>
> Network Next Hop Metric LocPrf Weight Path
>*> 100.100.100.0/24 12.12.30.7 0 0 253 254 i
>
>
>
>> ----- Original Message -----
>> From: "Pierre-Alex" <paguanel@hotmail.com>
>> To: "Jeff Mullan" <jmullan78@gmail.com>, achievewoo@gmail.com
>> Subject: Re: AS-Path manipulation
>> Date: Mon, 19 Mar 2007 20:28:44 +0100
>>
>>
>> It seems to me that if you do this you will get 253 254i rather than 254
>> 253i because prepend will add before your AS not after.
>>
>> Try "local-as" to solve this problem ...
>>
>> Pierre-Alex
>>
>> ----- Original Message -----
>> From: "Jeff Mullan" <jmullan78@gmail.com>
>> To: <achievewoo@gmail.com>
>> Cc: <ccielab@groupstudy.com>
>> Sent: Monday, March 19, 2007 12:10 AM
>> Subject: Re: AS-Path manipulation
>>
>>
>> > Can you try a route-map inbound on R2 like this and see if it works :
>> >
>> > route-map AS_PATH_PREPEND permit 10
>> > set as-path prepend 253
>> >
>> >
>> >
>> > On 3/18/07, achievewoo@gmail.com <achievewoo@gmail.com> wrote:
>> > >
>> > > Hi group,
>> > > I met difficoulty about AS-path.
>> > > Here is the situation.
>> > > R1----R2
>> > > R1 in AS 254
>> > > R2 in AS 2
>> > > R1 advertised one route to R2 by BGP
>> > > On R2, show ip bgp
>> > >
>> > > Network Next Hop Metric LocPrf Weight Path
>> > > *> 100.100.100.0 192.168.1.254 0 0 254 i
>> > >
>> > > I was required to configure R2 and prepand AS 253 after 254.
>> > > The output should like this:
>> > > Network Next Hop Metric LocPrf Weight Path
>> > > *> 100.100.100.0 192.168.1.254 0 0 254
>> 253i
>> > >
>> > > Could anyone can help me solve it?
>> > >
>> > > _______________________________________________________________________
>> > > Subscription information may be found at:
>> > > http://www.groupstudy.com/list/CCIELab.html
>> >
>> > _______________________________________________________________________
>> > Subscription information may be found at:
>> > http://www.groupstudy.com/list/CCIELab.html
>>
>> _______________________________________________________________________
>> Subscription information may be found at:
>> http://www.groupstudy.com/list/CCIELab.html
>
>_______________________________________________________________________
>Subscription information may be found at:
>http://www.groupstudy.com/list/CCIELab.html

= = = = = = = = = = = = = = = = = = = =
                        

!!!!!!!!!!!!!!!!Have a nice day.
 
                                 
!!!!!!!!!!!!!!!!ian
!!!!!!!!!!!!!!!!iyux2000@gmail.com
!!!!!!!!!!!!!!!!!!!!2007-03-22



This archive was generated by hypermail 2.1.4 : Sun Apr 01 2007 - 06:35:52 ART