12-16-2004 05:02 AM - edited 03-02-2019 08:37 PM
do AS-PATH prepends affect *all* routes advertised or can prepends be applied on a per route basis using BGP v4 ?
12-16-2004 05:38 AM
You can apply the as-path prepend to a subset of the routes you advertise.
Use the match statement inside the route-map to determine which routes are going to be affected or not based on the prefix it self or other values such as community or the as-path.
Hope this helps,
12-16-2004 06:51 AM
so, you're saying to use a route-map which includes a 'match ip address prefix-list 'foo'
'set as-path prepend AS# AS# AS# .....'
-and then on another line -
'ip prefix-list foo seq 5 permit 172.16.100.0/24'
-and this will prepend only the 172.16.100.0/24 route with those prepends even though we want to advertise all of 172.16.0.0/16 with no additional prepends ?
12-16-2004 07:13 AM
Correct.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide