We use OSPF MPLS as our primary WAN cloud,
recently added BGP MPLS as our secondary WAN cloud.
Currently only two locations have both paths
OSPF and BGP. All traffic transverses the primary path "OSPF", when I fail the primary connection, traffic fails over to the BGP path. So far everything works as expected. I am redistributing BGP into OSPF. When I bring the primary path back online, traffic does switch back to the primary path, traffic between these two locations stay using the BGP path, until I fail one of the secondary connections. When I fail the secondary, traffic moves to primary and stays on primary until another failure. The question I have is why traffic does not move back to primary when the primary is restored. I can provide drawing and configs.
I'm happy that this workaround worked for some prefixes.
A similar approach may be possible also if component routes are /32 = 255.255.255.255
router bgp xx
network x.y.z.k 255.255.255.255
aggregate-address x.y.z.k1 255.255.255.252 summary-only
k1 is the base address that includes k and k1 has to be a multiple of 4
example x.y.z.245 /32 k1 = 244
Hope to help