In OSPF, what happens first, the SPF tree or the SPF algorithm? Once the LSDB is created does the SPF tree get created first and then the SPF algorithm runs or does the SPF algorithm run and the SPF tree gets created?

1 Answer 1


The algorithm builds and updates the tree - see Dijkstra's algorithm for details.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.