07-03-2018 05:12 AM - edited 03-05-2019 10:42 AM
Hello,
I would like to make a routing-policy for BGP. My goal is to make an action on path A, while path B appears. Every single operation in route-policy affects only one route or group of routes. For example:
If route A has community 1234:5678 then... "do this or that with Route A"
but what I want to acheive is
If route A has community 1234:5678 then... "do this or that with Route B"
Is it possible?
Solved! Go to Solution.
07-03-2018 11:19 PM
Only by create it globally and filter on all other neighbors.
07-03-2018 10:03 AM
No. As I understand - RPL evaluate route by route and make decision only based on attributes of route which is evaluating now.
07-03-2018 10:58 AM
OK, so maybe in different way.
How to aggregate single /32 routes into bigger subnets without loosing their communities?
07-03-2018 11:35 AM - edited 07-03-2018 11:36 AM
Yes:)
Try to add "as-set" option of "aggregate-address".
07-03-2018 09:04 PM
Cool... but I need it only per neighbor, not globally...
07-03-2018 11:19 PM
Only by create it globally and filter on all other neighbors.
07-03-2018 11:24 PM
I figured out, that this is only one possibility, so I am testing it right now and it works.
Although there are other problems, because I want to separate announcements with communities that are comming from smaller routes and then aggregated, but this I can easy acheive using policies for other neighbors with filtering unwanted communities. More difficult, but at least possible :).
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