From: M.Kerem Gursu (kerem@gursu.org)
Date: Tue Mar 20 2007 - 08:05:15 ART
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
This archive was generated by hypermail 2.1.4 : Sun Apr 01 2007 - 06:35:52 ART