Enabling OSPFv3 in a non-default VRF

When OSPFv3 is enabled in a non-default VRF instance, the device enters OSPFv3 router VRF configuration mode. Several commands can then be accessed that allow the configuration of OSPFv3.

Before you begin

A non-default VRF instance has been configured.

Procedure

  1. Enter the configure terminal command to access global configuration mode.
    device# configure terminal
  2. Enter the ipv6 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)# ipv6 router ospf vrf green

Example

The following enables OSPFv3 in a non-default VRF.

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