From: Donny MATEO (donny.mateo@sg.ca-indosuez.com)
Date: Thu Apr 03 2003 - 06:46:26 GMT-3
Not really sure about the requirement. Is the requirement to make 150.50.200.0/24 looks like originated from AS 2 instead of AS1 without any restriction ?
If so why not denied the advertisement from AS1, create a loopback and redistribute it to BGP with the network command or redistribute connected ? I suppose that can work if there is no restriction on the requirement.
Donny
"Lin Xiaodong"
<Linxiaodong@21Vi To: "Teck PhrEAk!!" <phreakinphunk@hotmail.com>, <nettable_walker@attbi.com>,
anet.com> <rshummoo@ca.ibm.com>, <ccielab@groupstudy.com>
Sent by: cc:
nobody@groupstudy Subject: g-e$: BGP AS removal
.com
03-04-2003 16:15
Please respond to
"Lin Xiaodong"
I test it but found it not work :(
router bgp 2
aggregate-address 150.50.200.0 255.255.255.0 summary-only
advertise-map cisco
ip access-list standard cisco
deny 150.50.200.0 0.0.0.255
route-map cisco permit 10
match ip address cisco
the result is:
R2#s ip bg
BGP table version is 23, local router ID is 133.11.2.2
Status codes: s suppressed, d damped, h history, * valid, > best, i -
internal
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
*> 100.100.100.0/24 133.11.23.3 0 0 3 i
R3#s ip bg
BGP table version is 101, local router ID is 135.11.1.1
Status codes: s suppressed, d damped, h history, * valid, > best, i -
internal
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
*> 150.50.200.0/24 133.11.12.2 0 2 3 i
-----ee'i.d;6-----
ed;6d::: Teck PhrEAk!! [mailto:phreakinphunk@hotmail.com]
eif6i4: 2003e944f3f% 14:14
f6d;6d::: nettable_walker@attbi.com; rshummoo@ca.ibm.com;
ccielab@groupstudy.com
d8;i": RE: BGP AS removal
just a waayyld thot on this one.......might actually work!
when u aggregate on r2....dont base the aggregate on the subnet of
150.50.200.0 i.e use advertise-map and deny network 150.50.200.0
aggregate on R2 using 150.50.200.0 255.255.255.0 summary-only
advertise-map
phatdawg
route-map phatdawg
match ip address 7
access-list 7 deny 150.50.200.0 0.0.0.255
lemme know if it worked....cant check here....
cheers,
sumit.
>From: "Mr. Richard L. Pickard" <nettable_walker@attbi.com>
>Reply-To: "Mr. Richard L. Pickard" <nettable_walker@attbi.com>
>To: "Ram Shummoogum" <rshummoo@ca.ibm.com>, <ccielab@groupstudy.com>
>Subject: RE: BGP AS removal
>Date: Wed, 2 Apr 2003 19:55:56 -0600
>
>4/2/2003 8:00pm Wednesday
>
>Can you send over the whole config ?
>
>Richard
>
>//
>
>
>-----Original Message-----
>From: nobody@groupstudy.com [mailto:nobody@groupstudy.com]On Behalf Of
>Ram Shummoogum
>Sent: Wednesday, April 02, 2003 3:23 PM
>To: ccielab@groupstudy.com
>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