From: Prio Utomo (rionaldi@gmail.com)
Date: Wed Mar 21 2007 - 11:02:30 ART
it should work with local-as but of course additional config in R1
R1
router bgp 254
no synchronization
bgp log-neighbor-changes
network 1.1.1.0 mask 255.255.255.0
neighbor 1.1.12.2 remote-as 2
neighbor 1.1.12.2 local-as 253
no auto-summary
R2
router bgp 2
no synchronization
bgp log-neighbor-changes
neighbor 1.1.12.1 remote-as 253
no auto-summary
r2#sh ip bgp
BGP table version is 2, local router ID is 1.1.21.2
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
*> 1.1.1.0/24 1.1.12.1 0 0 253 254 i
r2#
----- Original Message -----
From: "Pierre-Alex" <paguanel@hotmail.com>
To: "Jeff Mullan" <jmullan78@gmail.com>; <achievewoo@gmail.com>
Cc: <ccielab@groupstudy.com>
Sent: Tuesday, March 20, 2007 2:28 AM
Subject: Re: AS-Path manipulation
> 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
This archive was generated by hypermail 2.1.4 : Sun Apr 01 2007 - 06:35:52 ART