User Manual UMN:CLI
V5808
563
The following example shows how to configure it with more than 2 options:
• redistribute {bgp | connected | kernel | rip | static | ospf <0-65535>} tag <0-
4294967295> [metric- type <1-2>] [route-map MAP-NAME] [metric <0-16777214>]
[subnets]
For efficient transmission of routing information, and to avoid non-matching between
metric and OSPF routing protocol, use the default matric command to assign metric
about redistribute route.
To configure the default metric, use the following command.
default-metric <0-16777214>
Configures the default metric.
To delete the default metric, use the following command.
no default-metric [<0-16777214>]
Deletes the default metric.
11.2.14 OSPF Distance
An administrative distance is a rating of the trustworthiness of a routing information
source, such as an individual router or a group of routers. Numerically, an administrative
distance is an integer between 0 and 255. In general, the higher the value is, the lower
the trust rating is. An administrative distance of 255 means the routing information source
cannot be trusted at all and should be ignored.
OSPF uses three different administrative distances: intra-area, inter-area, and external.
Routes learned through other domain are external, routes to another area in OSPF
domain are inter-area, and routes inside an area are intra-area. The default distance for
each type of route is 110. In order to change any of the OSPF distance values, use the
following commands.
The following is explaining 3 options of command.
• external <1-255>
• inter-area <1-255>
• intra-area <1-255>
To configure the distance with 1 option, use the following command.
Configures the distance of OSPF route.
(default: 110)
distance ospf external <1-255>
distance ospf inter-area <1-255>
distance ospf intra-area <1-255>