The RIP routing protocol is our most common routing protocol. Therefore, in modern networks, a single routing protocol can no longer fulfill the functions we need. Therefore, many networks are configured with multiple protocols. The cooperation with other routing protocols is mentioned here because vrouters often support multiple routing protocols. The support of multiple routing protocols involves the selection and cooperation of multiple routes. to solve this problem, the priority preference concept is introduced in the routing parameters.
Generally, each routing protocol has a fixed preference value. The smaller the preference value, the higher the priority of the route corresponding to the Protocol. Generally, the routing priority is defined as follows:
Direct route 0
OSPF Route 10
IS-IS's level 1 Route 15
IS-IS's level 2 Route 18
SPF Route 19 of the NSFnet trunk
Default Value: 20 for the voice disconnection gateway and EGP
Redirection route 30
Route 40 obtained by route socket
Route 50 added by Network Management
Vro55 found route 55
Static Route 60
Route 80 for Cisco IGRP
DCN's hello Route 90
Berkeley's RIP Route 100
Route 110 for point-to-point interface Aggregation
Down interface route 120
Clustering default route priority 130
OSPF extended Route 140
BGP Route 170
EGP route 200
The concept of the routing priority is that a new route with a higher priority can replace a route with a lower priority for the same-sink routing. Otherwise, it is not. however, some changes may be made to the specific implementation. for example, RIP-2 under quidway2501 provides a command to change the RIP route priority. this command can be used to change the priority of the RIP route. when configuring a static route in quidway2501, you can also specify the priority of the route, which is for specific applications. however, we do not encourage priority modification.
The difference is that the routing overhead metric) and the routing priority preference. metric is for the same routing protocol. For different protocols, it is meaningless to compare metric of different protocols due to different meanings, therefore, you can only compare the priority of a route in the same-sink route of two different protocols. on the contrary, preference is applicable to different protocols. The same protocol routes have the same priority. metric then selects two same-sink routes.