We have a router A with several links to other routers. The router A have two links to the same remote router B, and it is using OSPF through one of the links and BGP through the other link. It is receiving the same route from router B via OSPF and BGP simultaneously.
Is there any way to force the following: use the BGP route in router A to route packets, but use the OSPF route to advertise from router A to other routers via OSPF?
I appreciate any help. Thanks.