Here's one example: router bgp 100 neighbor 10.1.1.1 remote 200 neighbor 10.1.1.1 route-map prepend out ! access-list 1 permit 20.0.0.0 access-list 1 permit 30.0.0.0 ! route-map prepend permit 10 match ip address 1 set as-path prepend 100 100 100 ! route-map prepend permit 20 !
This will prepend AS100 three times when it's advertising 20/8 and 30/8 to this neighbor. HTH, John >>> "Eric Waguespack" 3/18/02 2:32:19 AM >>> does anyone have a sample config that uses a route-map to modify the as path in bgp? i can't seem to find an example. thanks __________________________________________________ Do You Yahoo!? Yahoo! Sports - live college hoops coverage http://sports.yahoo.com/ Message Posted at: http://www.groupstudy.com/form/read.php?f=7&i=38653&t=38632 -------------------------------------------------- FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]