[Contents] [Prev] [Next] [Index] [Report an Error]

Routing Priority

OSPF areas receive routes based on priority. Table 11 describes the routing priority.

Table 11: Routing Priority

Priority

Type

Description

1 (highest)

Intra-area

Intra-area routing. Refers to routing within a single OSPF area.

2

Interarea

Interarea routing. Refers to routing between OSPF areas within a single OSPF routing domain.

3

External

External type 1. Refers to routing from other protocols that can be imported into the OSPF domain and readvertised by OSPF as type 1 external.

Type 1 metric is comparable to the link-state metric; the cost is equal to the sum of the internal costs plus the external cost.

4 (lowest)

External

External type 2. Refers to routing from other protocols that can be imported into the OSPF domain and readvertised by OSPF as type 2 external.

Type 2 metric is much larger than the cost of any intra-AS path; the cost is equal to the external cost. This is the OSPF default.

If you use the redistribute command to import routes from other protocols or sources, the routes default to external type 2. You can specify a route map with the redistribute command to modify the type. Alternatively, you can use the metric-type keyword with the redistribute command to specify the type.


[Contents] [Prev] [Next] [Index] [Report an Error]