
Customizing OSPF Services
308627-14.20 Rev 00
6-33
Specifying the Metric Cost
For OSPF, the best path is the one that offers the least-cost metric. By default,
each OSPF interface has a cost metric of 1.
Configure cost metrics to specify a preferred path. For suggested cost metrics, see
Table 6-6 on page 6-34
.
Figure 6-3
shows the benefit of using configurable cost metrics. Assigning a cost
metric of 10 to the 56 Kb line forces OSPF to choose the faster T1 line as the best
path (despite the extra hop) when transmitting a packet from host A to host B.
Figure 6-3. Example of Using Configurable Cost Metrics
Router 1
Router 2
Router 3
56 Kb
Assigned cost
metric = 10
T1
1.544 Mb
Assigned cost
metric = 1
T1
1.544 Mb
Assigned cost
metric = 1
Host
B
Host
A
IP0018A
Komentarze do niniejszej Instrukcji