Hey Marc, 

You can prepend on incoming or outgoing but only for eBGP neighbors, I don't 
think this will work with iBGP.

HTH

Thank you,
 
Steve E. Di Bias
Network Engineer - Information Systems
Valley Health System - Las Vegas
Office - 702- 369-7594
Cell - 702-241-1801
[email protected]

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of marc abel
Sent: Tuesday, May 31, 2011 8:25 PM
To: [email protected]
Subject: [OSL | CCIE_RS] BGP peer route-map

Should this work?

R8 has an iBGP BB1 peer that is advertising some routes. I need to
make sure that other AS's prefer BB1 for these routes and I can only
make changes on R8. So I thought I could just place a route-map on the
iBGP peer that does AS-Path prepend but it doesn't seem to work. Here
is my config:

router bgp 218
 no synchronization
 bgp log-neighbor-changes
 network 193.44.0.8 mask 255.255.255.255
 neighbor 193.44.0.21 remote-as 218
 neighbor 193.44.0.21 update-source Loopback0
 neighbor 193.44.0.21 send-community
 neighbor 193.44.0.21 route-map asprepend in
 neighbor 193.44.78.7 remote-as 17
 neighbor 193.44.78.7 password ipexpert
 neighbor 193.44.78.7 send-community

route-map asprepend permit 10
 set as-path prepend 218 218 218

I realize that I can probably do a bit more work and match the actual
routes. Does AS-Path prepend only work on outbound routes?
_______________________________________________
For more information regarding industry leading CCIE Lab training, please visit 
www.ipexpert.com

Are you a CCNP or CCIE and looking for a job? Check out 
www.PlatinumPlacement.com


UHS Confidentiality Notice:  This e-mail message, including any attachments, is 
for the sole use of the intended recipient (s) and may contain confidential and 
privileged information.  Any unauthorized review, use, disclosure or 
distribution of this information is prohibited.  If this was sent to you in 
error, please notify the sender by reply e-mail and destroy all copies of the 
original message.
_______________________________________________
For more information regarding industry leading CCIE Lab training, please visit 
www.ipexpert.com

Are you a CCNP or CCIE and looking for a job? Check out 
www.PlatinumPlacement.com

Reply via email to