search
HomeCommon ProblemWhat does the preference field mean in the routing table?

What does the preference field mean in the routing table?

The Preference field represents the routing priority in the routing table. Equipment manufacturers will specify different priorities for different routing protocols in their respective products.

Routers often support multiple routing protocols. The support of multiple routing protocols involves the selection and coordination of multiple routes. In order to solve this problem, the concept of preference is introduced in routing parameters.

Each routing protocol generally sets a fixed preference value. The smaller the preference value, the higher the priority of the route corresponding to the protocol. Under normal circumstances, the routing priority is specified as follows:

直接路由              0
OSPF 路由             10
IS-IS的level 1的路由      15
IS-IS的level 2的路由      18
NSFnet主干的SPF路由       19
缺声网关和EGP缺省        20
重定向路由             30
由route socket得到的路由   40
由网管加入的路由         50
路由器发现的路由         55
静态路由              60
Cisco IGRP的路由         80
DCN的hello的路由         90
Berkeley的RIP路由        100
点对点接口聚集的路由      110
down状态的接口路由       120
聚集的缺省路由优先级      130
OSPF的扩展路由          140
BGP的路由             170
EGP的路由             200

The concept of routing priority is that a new route with a higher priority can replace a route with a lower priority and the same destination, and vice versa. However, in specific implementation, it is possible that certain changes will be made. For example, RIP-2 under quidway2501 provides a command to change the routing priority of RIP. This command can be used to change the priority of RIP routes. When configuring static routing in quidway2501, you can also specify the priority of the route. This is done for specific applications. However, we do not encourage changing priorities.

What needs to be distinguished is the two concepts of routing cost (metric) and routing priority (preference). Metric is for the same routing protocol. For different protocols, since they represent different meanings, it is meaningless to compare the metrics of different protocols. Therefore, to make a choice between two routes with the same information of different protocols, you can only compare the routes. priority. On the contrary, preference is for different protocols. The priority of routes with the same protocol is generally the same. At this time, metric is the criterion for choosing between two routes with the same information sink.

For more FAQ, please visit the PHP Chinese website.

The above is the detailed content of What does the preference field mean in the routing table?. For more information, please follow other related articles on the PHP Chinese website!

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

MantisBT

MantisBT

Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

SAP NetWeaver Server Adapter for Eclipse

SAP NetWeaver Server Adapter for Eclipse

Integrate Eclipse with SAP NetWeaver application server.

MinGW - Minimalist GNU for Windows

MinGW - Minimalist GNU for Windows

This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

PhpStorm Mac version

PhpStorm Mac version

The latest (2018.2.1) professional PHP integrated development tool

VSCode Windows 64-bit Download

VSCode Windows 64-bit Download

A free and powerful IDE editor launched by Microsoft