Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Bronze

OSPF SPF

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

4 REPLIES
Super Bronze

Re: OSPF SPF

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.

Silver

Re: OSPF SPF

spf runs for all the routes.

regards

shivlu

Community Member

Re: OSPF SPF

I feel it runs SPF within Area and @ ABR it adds the cost like DV protocol.

http://www.networkworld.com/community/node/19293

Silver

Re: OSPF SPF

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

162
Views
4
Helpful
4
Replies
CreatePlease to create content