The CE1 and CE2 router configurations are exactly the same. Both are configured in OSPF Area 0 with route redistribution enabled. The IP addresses 10.1.2.1/32 and 10.1.3.1/32 are configured for loopback interfaces, allowing them to carry routes from these networks.
device(config)# router ospf device(config-router-ospf-default-vrf)#
device(config-router-ospf-default-vrf)#)# area 0
device(config-router-ospf-default-vrf)# redistribute connected device(config-router-ospf-default-vrf)# exit device(config)#
device(config)# interface loopback 1 device(config-Loopback-1)# ip address 10.1.1.1/32
device(config-Loopback-1)# interface ethernet 0/1 device(conf-if-eth-0/1)# ip ospf area 0 device(conf-if-eth-0/1)# ip address 10.1.2.1/24