10-05-2015 11:42 PM
Hi,
To what extent does the ASR9K RPL scale when it comes to number of entries in a single route-policy?
My question is based on a possible migration of an Inter-AS MPLS Option A POI to Option B an requiring a large number of 1:1 RT rewrites.
Any upper limits (although this being handled in control-plane), guidelines, etc.?
TIA.
Johnny
Solved! Go to Solution.
10-06-2015 04:20 AM
hi johnny,
there is no limit in that regard. it can get as long as it needs to be.
obviously the execution time varies when you have a large rpl.
But this time is measured in usecs.
As in terms of optimization:
things like if as-path in (A or B or C) executes faster then when you have a as-path-set with A/B/C and you call it like if as-path in <prefix-set>.
another one is if'ing:
if this then
endif
if somethingelse then
endif
is slower because every if is evaluated whereby the:
if this then
elseif something else then
endif
goes faster because we can stop branching if we matched the first if.
but here also, it is all measured in usec execution.
RPL "compiles" the policy and sends it down to the application, eg BGP. So BGP holds a compiled repository from RPL. It is not that BGP will query RPL for the verification hence it being so fast
regards
xander
10-06-2015 04:20 AM
hi johnny,
there is no limit in that regard. it can get as long as it needs to be.
obviously the execution time varies when you have a large rpl.
But this time is measured in usecs.
As in terms of optimization:
things like if as-path in (A or B or C) executes faster then when you have a as-path-set with A/B/C and you call it like if as-path in <prefix-set>.
another one is if'ing:
if this then
endif
if somethingelse then
endif
is slower because every if is evaluated whereby the:
if this then
elseif something else then
endif
goes faster because we can stop branching if we matched the first if.
but here also, it is all measured in usec execution.
RPL "compiles" the policy and sends it down to the application, eg BGP. So BGP holds a compiled repository from RPL. It is not that BGP will query RPL for the verification hence it being so fast
regards
xander
10-06-2015 05:08 AM
Hi Xander,
Thanks for the swift reply! :)
- Johnny
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