02-03-2025 08:26 AM - edited 02-03-2025 08:28 AM
Hi,
I'm designing a new connectivity product for my company.
I need to BGP import prefixes from both global and VRF-A into VRF-B.
I've already achieved this, it's working.
I'm importing a default route (only - thanks to the use of a unicast RM, see below) from global and all prefixes from VRF-A into VRF-B.
vrf definition VRF-B
rd XXXXX:200
!
address-family ipv4
import ipv4 unicast map RM-IMPORT-FROM-GLOBAL
route-target import XXXXX:100 (=> VRF-A)
exit-address-family
Problem is, I do not want all prefixes from VRF-A, only 1.
How can I only get the default route from global AND only that 1 prefix I need from VRF-A at the same time?
I tried having "import map xxxxx" on top of "import ipv4 unicast map RM-IMPORT-FROM-GLOBAL" but the router doesn't let me, it says that I must remove the ipv4 unicast map first.
And if I remove "import ipv4 unicast map RM-IMPORT-FROM-GLOBAL" and apply "import map xxxxx" instead, I'm now getting that 1 prefix I need from VRF-A, good, but not the default route anymore...
I've tried to export from VRF-A to VRF-B instead but it's not working. I've read that you cannot export BGP prefixes obtained from VPNv4 into VPNv4, and it's the scenario I'm in.
Solved! Go to Solution.
02-03-2025 08:31 AM
02-03-2025 08:31 AM
I might have found an answer:
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