Influencing route choices by changing the administrative distance default

Optional: For more information, see Influencing route choices by changing the administrative distance default (optional).

Syntax:


distance [external | inter-area | intra-area 1-255]

Used in the OSPF configuration context to globally reconfigure the administrative distance priority for the specified route type.

1 is the highest priority; 255 is the lowest priority.

external 1-255

Changes the administrative distance for routes between the OSPF domain and other EGP domains.

inter-area 1-255

Changes the administrative distance for routes between areas within the same OSPF domain.

intra-area 1-255

Changes the administrative distance for routes within OSPF areas.

Default: 110; range: 1–255