device# configure terminal
device(config) ip router-id 10.11.12.13
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-ipv6-router-ospf-vrf-default-vrf)#