Re:_ç­å¤:_BGP_AS_removal

From: Muhamamd Durrani (dan_schaw@yahoo.com)
Date: Sat Apr 05 2003 - 23:41:23 GMT-3


reverse ur access list say permit in your access list
and deny in route-map .
Route-map is only matching and permiting. Access-lists
deny will not cause rout-map to deny .thats why try
this out and let me know the output

Regards,

--- ccie1@hotmail.com wrote:
> The other thing you could do is configure a
> confederation between R1 and R2
> ----- Original Message -----
> From: "Teck PhrEAk!!" <phreakinphunk@hotmail.com>
> To: <Linxiaodong@21Vianet.com>;
> <nettable_walker@attbi.com>;
> <rshummoo@ca.ibm.com>; <ccielab@groupstudy.com>
> Sent: Thursday, April 03, 2003 12:34 AM
> Subject: Re: g-e$: BGP AS removal
>
>
> > hmm..... ;-( i dont have access to routers for a
> couple of dayz.....so
> cant
> > try it myself......
> >
> > u can try and use attribute-map instead of
> advertise-map and try to "set
> > Origin" on the aggregate.....again its a waayld
> thot....
> >
> > lemme know if it worked....waitin'....
> >
> > cheers
> >
> > sumit.
> >
> >
> > >From: "Lin Xiaodong" <Linxiaodong@21Vianet.com>
> > >To: "Teck PhrEAk!!"
> >
>
><phreakinphunk@hotmail.com>,<nettable_walker@attbi.com>,<rshummoo@ca.ibm.co
> m>,<ccielab@groupstudy.com>
> > >Subject: g-e$: BGP AS removal
> > >Date: Thu, 3 Apr 2003 16:15:49 +0800
> > >
> > >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
> > >
> > >
> >
>
>_________________________________________________________________
> > >MSN 8 helps eliminate e-mail viruses. Get 2
> months FREE*.
> > >http://join.msn.com/?page=features/virus
> >
> >
> >
>



This archive was generated by hypermail 2.1.4 : Thu May 01 2003 - 13:35:47 GMT-3