A priority can be set for each routing protocol running on a switch. When these protocols discover the same route, the route discovered by the highest-priority routing protocol takes effect.
The system view is displayed.
The OSPF process view is displayed.
A priority is set for OSPF routes.
The default priority of OSPF routes is 10. If the parameter ase is specified in the command, the default priority of AS external routes is 150.