The cost of an OSPF route is the accumulated value from one router to the destination network.
For example, in Figure 1, the cost to reach the R2 LAN 172.16.2.0/24 from R1 should be as follows:
• Serial link from R1 to R2 cost = 64
• Gigabit Ethernet link on R2 cost = 1
• Total cost to reach 172.16.2.0/24 = 65
The routing table of R1 in Figure 2 confirms that the metric to reach the R2 LAN is a cost of 65.