Enabling OSPFv2 in a non-default VRF

A non-default VRF instance has been configured.
  1. Enter the configure terminal command to access global configuration mode.
    device# configure terminal
  2. Enter the router ospf command and specify a VRF name to enter OSPF router VRF configuration mode and enable OSPFv2 on a non-default VRF.
    device(config)# router ospf vrf green

The following example enables OSPFv2 in a non-default VRF.

device# configure terminal
device(config)# router ospf vrf green
device(config-router-ospf-vrf-green)#