[c-nsp] Inter-VRF OSPF Redistribution

Oliver Boehmer (oboehmer) oboehmer at cisco.com
Fri Feb 19 07:44:14 EST 2010

> Does anyone know whether it is possible to redistribute routes between
> two different OSPF processes when they are associated with different

you need to use BGP and route-target import/export to exchange routes
between the VRFs (even with vrf-lite). for example to import green
routes into red:


ip vrf red
 rd 1:1
 route-target both 1:1
 route-target import 1:2
ip vrf green
 rd 1:2
 route-target both 1:2

router ospf 1 vrf red
router ospf 2 vrf green
router bgp 65000
 address-family ipv4 vrf green
  redistribute ospf 2 match internal external ..

you can use import/export maps to do a more granular import/export.


More information about the cisco-nsp mailing list