You must enable OSPFv3 and specify the interface and area ID before configuring other functions. OSPFv3 configurations, however, are independent of interface-related features.
interface interface-type interface-number
ospfv3 process-id area area-id [ instance instance-id ]
The area ID can be a decimal integer or in the IPv4 address format, but it is displayed in the IPv4 address format.
When the routes to the network of the loopback interface are advertised by using OSPFv3, the prefixes of the routes are advertised as 128-bit prefixes, regardless of the configured prefix of the loopback address.
ospfv3 network-type { broadcast | nbma | p2mp [ non-broadcast ] | p2p } [ instance instance-id ]
When an interface supports multi-instances, you must specify the value of instance-id when enabling OSPFv3 on the interface. If the value of instance-id is not specified, the default value 0 is adopted. In this case, the configured network type of an interface mismatches the actual network type of the interface. This step is mandatory in such a case.