Enabling OSPFv3

When OSPFv3 is enabled on a device, the device enters OSPFv3 router configuration mode. Several commands can then be accessed that allow the configuration of OSPFv3.

Before enabling the device to run OSPFv3, you must perform the following steps:

  • Enable the forwarding of IPv6 traffic on the device using the ipv6 unicast-routing command.
  • Enable IPv6 on each interface on which you plan to enable OSPFv3. You enable IPv6 on an interface by configuring an IPv6 address or explicitly enabling IPv6 on that interface.
  1. Enter the configure terminal command to access global configuration mode.
    device# configure terminal
  2. Enter the ip router-id command to specify the router ID.
    device(config) ip router-id 10.11.12.13
  3. Enter the ipv6 router ospf command to enter OSPFv3 router configuration mode and enable OSPFv3 on the device.
    device(config)# ipv6 router ospf

The following example enables OSPFv3 on a device.

device# configure terminal
device(config)# ip router-id 10.11.12.13
device(config)# ipv6 router ospf 
device(config-ospf6-router)#