Just quick note cause i always forget this part , now how does OSPF calculate it's metric and what i mean by metric i mean when you issue the command (show ip route) what's this metric how did it get it ?

Cost  = (10 Mgb/s / BW ) 

Rack1SW2#sh ip route 150.1.6.0
Routing entry for 150.1.6.0/24
  Known via "ospf 1", distance 110, metric 63, type inter area
  Last update from 155.1.58.5 on Vlan58, 00:30:07 ago
  Routing Descriptor Blocks:
  * 155.1.58.5, from 150.1.5.5, 00:30:07 ago, via Vlan58
      Route metric is 63, traffic share count is 1

Now we need to see who advertise this route , OSPF as INE explains works as both distance vector and link state at the same way , distance vector in a fashion that it deduce its metric for inter-area routes based on the metric advertised by the ABR , then it caclulates it's cost of reaching the ABR itself

Rack1SW2#show ip ospf database summary 150.1.6.0

            OSPF Router with ID (150.1.8.8) (Process ID 1)

                Summary Net Link States (Area 3)

  Routing Bit Set on this LSA
  LS age: 1798
  Options: (No TOS-capability, DC, Upward)
  LS Type: Summary Links(Network)
  Link State ID: 150.1.6.0 (summary Network Number)
  Advertising Router: 150.1.5.5 <<<<<< ABR router
  LS Seq Number: 80000003
  Checksum: 0x6B52
  Length: 28
  Network Mask: /24
        TOS: 0  Metric: 62<<<<<<< Metric advertised by ABR


Rack1SW2#show ip ospf int Vlan58 | i Cost
  Process ID 1, Router ID 150.1.8.8, Network Type BROADCAST, Cost: 1

Therefore we deduce total cost to be = 62 + 1 = 63





Leave a Reply.

    The posts in this blog are not a technical reference it's just my humble way of understanding topics in my CCIE pursuit , they could be right and could be wrong and most importantly they're debatable.
    Note All comic pictures used on this blog are made using the amazing Facebook app bitstrips

    Author

    During the past few years I've worked on becoming a networks expert , with more than 3 years of practical experience within Orange Business Services , i started to hold grip of important technical aspects to the complex network design specially with Cisco networks. 

    I'm currently pursuing my first CCIE 

    Archives

    December 2013
    November 2013

    Categories

    All
    Doccd
    Plan
    Ripv2
    Switching