When multiple routing protocols are used to select routes, you can set the OSPF priority to maneuver route selection.
The routing protocols may share and select the routing information because the router may run multiple dynamic routing protocols at the same time. The system sets a priority for each routing protocol. When multiple routing protocols are used to select routes, the route selected by the routing protocol with a higher priority takes effect.
The system view is displayed.
The OSPF process view is displayed.
A preference is set for OSPF.
ase: sets the preference for AS-External routes.
inter: sets the preference for inter-area routes.
intra: sets the preference for intra-area routes.
preference: sets the preference for OSPF. The smaller the value, the higher the priority.
route-policy-name: sets the preference for the routes matching the specified route-policy.
route-filter-name: sets the preference for the routes matching the specified route-filter.
The configuration is committed.