From: atul pawar (atulpawar@xxxxxxxxxxx)
Date: Mon Jul 01 2002 - 11:15:33 GMT-3
Guyes
first of all thanks to evrybody who has replied. I did it with no-export and
it works fine
!
router bgp 1
bgp router-id 139.16.1.1
network 66.66.66.0 mask 255.255.255.0
neighbor 139.16.12.2 remote-as 5
neighbor 139.16.12.2 send-community
neighbor 139.16.12.2 route-map nontra in
neighbor 139.16.25.2 remote-as 2
neighbor 139.16.25.2 send-community
neighbor 139.16.25.2 route-map nontra in
no auto-summary
!
route-map nontra permit 10
set community no-export
>From: Gyuri Gabor <Gabor.Gyori@lnx.hu>
>Reply-To: Gyuri Gabor <Gabor.Gyori@lnx.hu>
>To: "atul pawar" <atulpawar@hotmail.com>, <ccielab@groupstudy.com>
>Subject: RE: BGP question
>Date: Mon, 1 Jul 2002 15:32:39 +0200
>
>On R2 specify an inbound route-map like
>
>route-map nontransit
> set community no-export
>
>Then apply it for EBGP peers
>
>neigh x.x.x.x route-nap nontransit in
>
>Gabor
>
>-----Original Message-----
>From: atul pawar [mailto:atulpawar@hotmail.com]
>Sent: Monday, July 01, 2002 2:52 PM
>To: ccielab@groupstudy.com
>Subject: BGP question
>
>
>Hi Guyes
>
>I have following setup
>
> AS1 AS2 AS3
>192.1682.2.3/24r1------------r2--------------r3-172.16.2.3/24
> ebgp ebgp
>
>I am trying to make AS2 a non-transit AS. I can achieve this by using
>following config at r1 so that r1 passes only locally generated networks to
>AS1 and AS3. But if I want to achieve the same result without using AS path
>access list .how can I do that? Any help on this will be appreciated.
>
>
>
>!
>router bgp 1
>bgp router-id 139.16.1.1
>neighbor 139.16.12.2 remote-as 5
>neighbor 139.16.12.2 route-map localonly out
>neighbor 139.16.25.2 remote-as 2
>neighbor 139.16.25.2 route-map localonly out
>no auto-summary
>!
>!
>route-map localonly permit 10
>match as-path 10
>!
>ip as-path access-list 10 permit ^$
>!
>
>
>
>
> Atul
>
>
This archive was generated by hypermail 2.1.4 : Sat Sep 07 2002 - 19:36:16 GMT-3