Defined OSPFv3 areas can be assigned to device interfaces.
Ensure that OSPFv3 areas are assigned.
Note
All device interfaces must be assigned to one of the defined areas on an OSPFv3 device. When an interface is assigned to an area, all corresponding subnets on that interface are automatically included in the assignment.device# configure terminal
device(config)# interface ethernet 1/1
device(conf-if-eth-1/1)# ipv6 address 2001:1:0::1:1/64
device(conf-if-eth-1/1)# ipv6 ospf area 0
device(conf-if-eth-1/1)# exit
device(config)# interface ethernet 2/1
device(conf-if-eth-2/1)# ipv6 address 2001:1:0::2:1/64
device(conf-if-eth-2/1)# ipv6 ospf area 1
The following example configures and enables OSPFv3 on two specified interfaces, and assigns an interface to two router areas.
device# configure terminal device(config)# interface ethernet 1/1 device(conf-if-eth-1/1)# ipv6 address 2001:1:0::1:1/64 device(conf-if-eth-1/1)# ipv6 ospf area 0 device(conf-if-eth-1/1)# exit device(config)# interface ethernet 2/1 device(conf-if-eth-2/1)# ipv6 address 2001:1:0::2:1/64 device(conf-if-eth-2/1)# ipv6 ospf area 1