cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
553
Views
0
Helpful
2
Replies

VRF-Lite OSPF

typeonegative
Level 1
Level 1

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 2

Peter Paluch
Cisco Employee
Cisco Employee

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

Understand. Thank you, for your reply.

Review Cisco Networking for a $25 gift card