Re: OSPF Metric - Maximum?

From: Bob Sinclair (bob@bobsinclair.net)
Date: Sat Dec 24 2005 - 13:02:50 GMT-3


Anthony,

As you point out, the maximum ospf cost is 65535, as you see here:

R2(config)#int f0/0
R2(config-if)#ip ospf cost ?
  <1-65535> Cost

The metric is the sum of these costs on the shortest path. One way to find
the maximum metric is to attempt to set it for redistributed routes under the
process:

R2(config-if)#router ospf 100
R2(config-router)#redist connected metric ?
  <0-16777214> OSPF default metric

If you check RFC 2178, for example, you will see that router LSAs have a
16-bit metric field. These LSAs report only link cost. Type 3, 4 and 5 LSAs
have a 24 bit metric field, since these LSAs must support full path metrics.

HTH,

Bob Sinclair
CCIE #10427, CCSI 30427
www.netmasterclass.net

  ----- Original Message -----
  From: Anthony Sequeira
  To: Cisco certification
  Sent: Saturday, December 24, 2005 10:28 AM
  Subject: OSPF Metric - Maximum?

  Hi everyone.

  Doing a practice lab and I am asked to set an OSPF route to its maximum
  metric. I checked the ip ospf cost command and came up with a maximum
metric
  of 65535.

  The answer key for this lab states that the maximum metric is 2^24-1 =
  16,777,215 - so they set the max metric at 16,777,214.

  Can anyone provide some insight on this one? Or perhaps a link to where
this
  is documented?

  TIA

  _______________________________________________________________________
  Subscription information may be found at:
  http://www.groupstudy.com/list/CCIELab.html



This archive was generated by hypermail 2.1.4 : Mon Jan 09 2006 - 07:07:52 GMT-3