09-20-2023 03:50 AM
Hi,
I have a router that advertises this prefix 100:1 2.36.128.0/29
This address has to be received by two ASR9K: Router A and B which have the same VRF configured with RD 100:2 and 100:3 respectively.
The routes are received by the two 9k and installed in the VRF but, I do want to leak them in the GRT. I created a policy to leak them and noticed this policy only works if the VRF on Router A and B has the same RD configured as the VRF on the originating router.
If I configure a different RD on the VRF of Router A and B, the route stops being leaked into GRT unless I specify the option "allow-imported-vpn" after the route-policy in the vrf configuration.
I am not quite sure about this behavior. Why if the RD is the same on both the originating router and Router A and B the leaking policy works without needing the "allow-imported-vpn" whereas if I change the RD of the VRFs on router A and B I do need that command to leak routes.
Isn't in both cases the route I receive in the VRF an imported VPN?
Is this some kind of convenience feature where in case of matching RDs XR just associates the route to the VRF without needing the additional configuration?
Thanks in advance for your help.
Solved! Go to Solution.
09-20-2023 10:12 AM - edited 09-22-2023 08:31 AM
Hi @ThomasD86 ,
I have observed this same behavior in the past as well and I am unsure what it pertains to. Since most network design that I have been involved with use a different RD on each PE, it is safe to use the "allow-imported-vpn" whenever imported VPN prefixes need to be leaked to the GRT, whether the RDs are the same or not.
Regards,
09-20-2023 10:12 AM - edited 09-22-2023 08:31 AM
Hi @ThomasD86 ,
I have observed this same behavior in the past as well and I am unsure what it pertains to. Since most network design that I have been involved with use a different RD on each PE, it is safe to use the "allow-imported-vpn" whenever imported VPN prefixes need to be leaked to the GRT, whether the RDs are the same or not.
Regards,
09-22-2023 08:28 AM
Hi Harold,
thank you for the clarification.
Have a nice Weekend!
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