Enable IPv6 on each interface on which you plan to enable OSPFv3. You enable IPv6 on an interface by configuring an IP address or explicitly enabling IPv6 on that interface.
device# configure terminal
device(config) ip router-id 10.11.12.13
device(config)# ipv6 router ospf
device(config-ipv6-router-ospf-vrf-default-vrf)# area 0
device(config-ipv6-router-ospf-vrf-default-vrf)# area 10.1.1.1
The following example assigns an OSPFv3 ID to two areas. One of the areas is assigned by decimal number. The second area is assigned by IP address.
device# configure terminal device(config)# ip router-id 10.11.12.13 device(config)# ipv6 router ospf device(config-ipv6-router-ospf-vrf-default-vrf)# area 0 device(config-ipv6-router-ospf-vrf-default-vrf)# area 10.1.1.1