Starting a routing process for a VRF

You must enable a routing protocol for each VRF instance. This example uses OSPF.

Procedure

  1. In global configuration mode, enable OSPF for the VRF instance "corporate."
    device(config)# router ospf vrf corporate
    
  2. Configure the VRF to use OSPF Area 0.
    device(config-ospf-router-vrf-corporate)# area 0
  3. (Optional) Configure the VRF to ensure that essential OSPF neighbor state changes are logged, especially in the case of errors.
    device(config-ospf-router-vrf-corporate)# log adjacency