It seems to me that you are trying to force traffic from AS 300 destined to
10.1.1.0/24 through AS 200, rather then directly to AS 100.  If this is
correct you really don't need to do anything on R5.  The following will
accomplish this:


//Assume R3 is neighor 3.3.3.3 for R1://

route-map pre-pend permit 10
 match ip address prefix-list pre-pend
 set community 100:10
!
!
route-map pre-pend permit 20
 match ip address
!
!
ip prefix-list pre-pend seq 10 permit 10.1.1.0/24
access-list 1 permit any
!
!
//In your router bgp  section//
neighbor 3.3.3.3 route-map pre-pend out
!


Assume R4 is neighbor IP address 4.4.4.4 for R3
Assume R3 is neighbor IP address 33.33.33.33 for R4
route-map pre-pend permit 10
 match community 10:100
 set as-path prepend 1000 2000 3000
!
!
route-map pre-pend permit 20
 match ip address
!
!
ip prefix-list pre-pend seq 10 permit 10.1.1.0/24
access-list 1 permit any

//In your router bgp  section//
neighbor 33.33.33.33 route-map pre-pend in

""Grad Alfons Kanon""  wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Dear All, need help:
>
> Given:
> ======
> As 100 = R1, R2, R3
> AS 200 = R5
> AS 300 = R4
>
> Physical connection:
>
> R3 has three connection: R1, R2 and R4
> R2 has two : R5 and R3
> R4 has two: R3 and R5
>
>
>
> R1 to R2 with IBGP
> R3 to R4 with EBGP
> R3 to R2 with IBGP
> R2 to R5 with EBGP
> R4 and R5 with EBGP
> R3 is route reflector
> R1 will advertise 10.1.1.0
>
> Question:
> How can Iconfigure R1 and R5 so,
> AS300 will prepend with 1000 2000 3000 for network 10.1.1.0 with community
> 100:10 that coming from AS100..?
>
>
> tx,
>
> Grad
>
>
>
> _________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.




Message Posted at:
http://www.groupstudy.com/form/read.php?f=7&i=9643&t=9616
--------------------------------------------------
FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html
Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]

Reply via email to