cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
312
Views
0
Helpful
1
Replies

FILTERED BGP import from both global and VRF-A into VRF-B

mickpro77
Level 1
Level 1

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.

1 Accepted Solution
1 Reply 1