12-01-2011 05:58 AM - edited 03-04-2019 02:29 PM
Hello,
I have two VRFs: global and local.
R2#sh ip route vrf global | begin Gateway
Gateway of last resort is not set
100.0.0.0/24 is subnetted, 1 subnets
B 100.100.100.0 [20/0] via 20.0.0.2, 00:50:48
20.0.0.0/30 is subnetted, 1 subnets
C 20.0.0.0 is directly connected, Serial0/0
192.168.2.0/30 is subnetted, 1 subnets
B 192.168.2.0 [20/0] via 20.0.0.2, 00:27:02
R2#sh ip route vrf local | begin Gateway
Gateway of last resort is not set
200.200.200.0/32 is subnetted, 1 subnets
O 200.200.200.1 [110/11] via 50.50.50.2, 00:15:52, FastEthernet0/0
50.0.0.0/30 is subnetted, 1 subnets
C 50.50.50.0 is directly connected, FastEthernet0/0
Question is if it possible to to import local vrf into global vrf?
One case is:
router bgp 1
address-family ipv4 vrf local
redistribute ospf 1 vrf local
But how to do this without BGP and only with OSPF?
Thank you.
12-01-2011 06:12 AM
Hi Donatas,
Unfortunately, I am afraid that this is not possible without BGP. The redistribution between VRFs is not supported with IGP protocols. Even if VRFs are used only locally and no VPNv4/MPLS VPNs are used, redistributing routes from one local VRF to another requires you to run the BGP process.
I am not aware of any other way of dynamically redistributing the networks between VRFs in a VRF-lite deployment.
Best regards,
Peter
12-01-2011 06:21 AM
Understand. Thank you, for your reply.
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