09-27-2022 09:52 AM
My question is regarding the impact of filters or redistibution while modifying a route-map:
For example: suppose i have a redistibution route-map with a DENY 10 statement that denies all routes.
Suppose i want to allow some routes.
I type:
route-map x permit 5 <enter>
What happens now, in fact, before i type any match statement ?
Does the router now allow all routes in ?
Or is nothing additionally allowed until a match statement is given ?
Or are all routes blocked until i exit config mode ?
In fact, when is the new route-map first evaluated ?
(if it might be important: for example on an ASR platform.)
regards,
GN
09-27-2022 10:08 AM
Hi @gnijs ,
If there is no match statement under the "route-map xxx permit", everything is matched.
Regards,
09-27-2022 10:14 AM
route-map without match meaning match all prefix
second
if you config route-map with bgp neighbor then you need to end it with
for IOS XR
route-policy allow_all
pass
end-policy
for IOS
route-map x permit 10
to include all prefix not match in first route-map line.
09-27-2022 11:27 AM
Hello @gnijs ,
the safer approach is to create a new route-map with a different name that you configure with both route-map clauses the permit and the deny blocks , then you change the redistribution statement to use the new route-map name instead of the old one .
Hope to help
Giuseppe
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