When multiple routing protocols are used to select routes, you can set the OSPF priority to maneuver route selection.
Multiple dynamic routing protocols may run on a router at the same time. Thus, there is the problem of routing information sharing and routing selection among routing protocols. The system sets the priority for each routing protocol. When different protocols detect the same route, the route with a higher priority is selected.
ospf [ process-id ]
preference [ ase ] { preference | route-policy route-policy-name } *