From: Paul Lalonde (plalonde2@cogeco.ca)
Date: Wed Apr 02 2003 - 22:07:24 GMT-3
It's not pretty, but it works:
R1<-->R2<-->R3
R1
==
router bgp 1
no synchronization
bgp log-neighbor-changes
bgp confederation identifier 65501
network 150.50.200.0 mask 255.255.255.0
neighbor 192.168.23.3 remote-as 2
no auto-summary
!
R2
==
router bgp 2
no synchronization
bgp log-neighbor-changes
neighbor 192.168.23.2 remote-as 65501
neighbor 192.168.35.5 remote-as 3
neighbor 192.168.35.5 remove-private-AS
no auto-summary
R3
==
router bgp 3
no synchronization
bgp router-id 200.0.0.5
bgp log-neighbor-changes
neighbor 192.168.35.3 remote-as 2
no auto-summary
R3#sh ip bgp
BGP table version is 9, local router ID is 200.0.0.5
Status codes: s suppressed, d damped, h history, * valid, > best, i -
internal,
r RIB-failure
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
*> 150.50.200.0/24 192.168.35.3 0 2 i
R3#
----- Original Message -----
From: "boby2kusa" <boby2kusa@hotmail.com>
To: "Ram Shummoogum" <rshummoo@ca.ibm.com>; <ccielab@groupstudy.com>
Sent: Wednesday, April 02, 2003 6:10 PM
Subject: Re: BGP AS removal
> Ram,
>
> The only way to remove the originating AS from the AS path is either to
> aggregate which what you have done and remove private AS but as you know
AS
> 1 is not a private AS, private AS is AS above 65000 ( I think). If
anybody
> out there knows, they will sure to respond but I have tested this many
times
> in the lab and have yet to find a way.
>
> ----- Original Message -----
> From: "Ram Shummoogum" <rshummoo@ca.ibm.com>
> To: <ccielab@groupstudy.com>
> Sent: Wednesday, April 02, 2003 1:22 PM
> Subject: BGP AS removal
>
>
> > 150.50.200.0(R1)----(R2)------(R3).
> >
> > R1 belongs to AS1
> > R2 belongs to AS2
> > R3 belongs to AS3
> >
> > I inject 150.50.200.0 using the network command on R1 and see
150.50.200.0
> > in R3 with as_path of 2 1.
> >
> > The question is how can I remove the 1 from the As Path on R3.
> >
> > I have tried using the network command on R2 with no success.
> > If I aggregate on R2 using 150.50.200.0 255.255.255.0 summary-only , I
> > will still see 150.50.200.0 with as-path 2 1 ( no change).
> > However, if I aggregate on R2 using 150.50.0.0 255.255.0.0 summary-only,
> > then I will see 150.50.0.0 with as-path 2. The question was to get
> > 150.50.200.0 and not 150.50.0.0.
> >
> > I can't get the 150.50.200.0 to work.
> >
> >
> > Thank you.
> >
> > RAM
This archive was generated by hypermail 2.1.4 : Thu May 01 2003 - 13:35:45 GMT-3