Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

VRF-Lite OSPF

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.

2 REPLIES
Cisco Employee

VRF-Lite OSPF

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

New Member

VRF-Lite OSPF

Understand. Thank you, for your reply.

212
Views
0
Helpful
2
Replies