You want to use OSPF to exchange routing information between the CE and PE routers.
You can use OSPF to exchange customer routing information between the CE and PE routers at each site. For this example, we will configure OSPF for the CE to PE IGP at Customer A’s Sites 1 and 2, but not 3, so that we can show some of the idiosyncrasies of MP-BGP route redistribution.
First we will configure the CE routers. We will use two OSPF
network statements on the router at Site 1.
this router to communicate with the PE router, while the second,
192.168.5.0/24, includes downstream
devices in the OSPF network:
Router-CE-A1#configure terminal Enter configuration commands, one per line. End with CNTL/Z. Router-CE-A1(config)#
And the CE router at the second site will use only one network statement:
configure terminalEnter configuration commands, one per line. End with CNTL/Z. Router-CE-A2(config)#
For the corresponding configuration on the PE routers, we need to create a new OSPF process that is associated with this VRF, and we need to configure the appropriate redistribution:
configure terminal ...