Re: BGP Community queries [7:9616]
Hello Mike and Bradley, My mistake, R5 is not in AS300, that should be R4, so I'm asking the possibility, how can I configure on R1 (which advertise 10.1.1.0) to send community with community 100:10, and then R4 in AS300 will prepend the network that is coming with 100:10 community (which is 10.1.1.0) from AS100 , and prepend it with 1000 2000 3000 (so AS200 will chose R2 (As100) rather than AS300 to go to 10.1.1.0 Thanks, grad From: Bradley J. Wilson Reply-To: Bradley J. Wilson To: [EMAIL PROTECTED] Subject: Re: BGP Community queries [7:9616] Date: Sat, 23 Jun 2001 08:46:46 -0400 I'm not quite clear on what you're trying to accomplish here. Since R1 doesn't have any external neighbors, I don't think you'd configure it to set any community strings. R5 is not in AS300, and therefore can't force the routers in AS300 to prepend anything. It looks like you're trying to force the traffic to 10.1.1.0 (/24?) through either AS200 or AS300, but again I'm not clear. Are you trying to set a community string, or prepend an as-path? From: Mike To: \Grad Alfons Kanon\ Subject: Re: BGP Community queries [7:9616] Date: Sat, 23 Jun 2001 14:49:19 -0400 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 - Original Message - From: Grad Alfons Kanon Newsgroups: groupstudy.cisco Sent: Saturday, June 23, 2001 3:04 AM Subject: BGP Community queries [7:9616] 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. _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com _ 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=7i=9715t=9616 -- FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]
Re: BGP Community queries [7:9616]
I'm not quite clear on what you're trying to accomplish here. Since R1 doesn't have any external neighbors, I don't think you'd configure it to set any community strings. R5 is not in AS300, and therefore can't force the routers in AS300 to prepend anything. It looks like you're trying to force the traffic to 10.1.1.0 (/24?) through either AS200 or AS300, but again I'm not clear. Are you trying to set a community string, or prepend an as-path? - Original Message - From: Grad Alfons Kanon To: [EMAIL PROTECTED] Sent: Saturday, June 23, 2001 3:04 AM Subject: BGP Community queries [7:9616] 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 Message Posted at: http://www.groupstudy.com/form/read.php?f=7i=9625t=9616 -- FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]
Re: BGP Community queries [7:9616]
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=7i=9643t=9616 -- FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]