You should be able to do this with no issues, see the following example. route-map Prepend permit 10 match ip address prefix-list Prepend-192.168.1.0 set as-path prepend 400 ! route-map Prepend permit 10 match ip address prefix-list Prepend-192.168.2.0 set as-path prepend 500
ip prefix-list Prepend-192.168.1.0 permit 192.168.1.0/24 ip prefix-list Prepend-192.168.2.0 permit 192.168.2.0/24 -----Original Message----- From: Jason Steig [mailto:[EMAIL PROTECTED] Sent: Friday, March 28, 2003 8:31 AM To: [EMAIL PROTECTED] Subject: route-maps from one neighbor [7:66371] I have a question about route maps. For example i'am peering between two different AS. On the left there is AS 200 and on the right AS 1. AS 200 is sending a bunch of EBGP routes to AS 1. Two routes for example 192.168.1.0 and 192.168.2.0 are coming into AS 1 and the edge router wants to prepend AS 400 to 192.168.1.0 and prepend AS 500 to 192.168.2.0. Now I set up the route maps correctly but your only allowed to apply one route-map statement per neighbor in BGP. Then if you set two permit instances in the one route-map it will match the first and prepend 192.168.1.0 with 400 but then it stops and does not prepend the 500 to 192.168.2.0. Why is that and how can this be done? Message Posted at: http://www.groupstudy.com/form/read.php?f=7&i=66375&t=66371 -------------------------------------------------- FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]