In this example, SEFOS1 is the switch on which OSPFv3 is enabled, 10.0.0.1 is specified as the router ID, and VLAN 10 is configured on the NBMA network with a neighbor priority of 10.
SEFOS# configure terminal
SEFOS(config)# ipv6 router ospf
SEFOS(config-router)# router-id 10.0.0.1
SEFOS(config-router)# exit
SEFOS(config)# interface vlan 10
SEFOS(config-if)# ipv6 ospf network non-broadcast
SEFOS(config-if)# ipv6 ospf neighbor fe80::214:4fff:fe6c:d04d priority 10
SEFOS# show ipv6 ospf neighbor ID Pri State DeadTime Address 10.0.0.8 1 FULL/BACKUP 38 fe80::214:4fff:fe6c:d04d