OSPF SPF

Unanswered Question
Jun 2nd, 2008
User Badges:
  • Bronze, 100 points or more

Hi All,


I got a doubt in OSPF rather simple. OSPF runs SPF alogrithm for all the prefixes including Intra-area, Inter-area and External routes. or It only runs Intra and Inter Area. ?


thanks in advance

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 4 (1 ratings)
Loading.
Joseph W. Doherty Mon, 06/02/2008 - 04:09
User Badges:
  • Super Bronze, 10000 points or more

SPF is run against an OSPF area's link topology. How the resultant cost analysis is applied can vary based on the type of route. For instance, an E2 type external only has its injected cost, i.e. the SPF cost is ignored, but for an E1 type external, the SPF calculated cost to the ASBR is added to the injected cost.

shivlu jain Mon, 06/02/2008 - 05:42
User Badges:
  • Silver, 250 points or more

spf runs for all the routes.


regards

shivlu

n.nandrekar Mon, 06/02/2008 - 22:17
User Badges:
  • Silver, 250 points or more

SPF should be run only for the routes within that area. For routes belonging to other area, the nearest ABR is calculated acc to the SPF of the same area. Running SPF for the link state topology of the complete ospf domain will cause SPF to be re-calculated for any change in link status in any remote areas. This would defeat the purpose of having areas. The SPF calculation should therefore be only for the specific area. For inter-area routes only the nearest ABR should be calculated and the shortest path within that area will be calculated by routers in that area.


Regards,

Niranjan

Actions

This Discussion