Interview Questions and Answers
Freshers / Beginner level questions & answers
Ques 1. What does OSPF stand for?
Open Shortest Path First
保存以便复习
保存以便复习
收藏此条目、标记为困难题,或将其加入复习集合。
Ques 2. What is the purpose of the OSPF hello packets?
Hello packets are used for neighbor discovery and to establish and maintain adjacencies between OSPF routers.
保存以便复习
保存以便复习
收藏此条目、标记为困难题,或将其加入复习集合。
Ques 3. What is the OSPF SPF algorithm?
SPF (Shortest Path First) is the algorithm used by OSPF to calculate the shortest path tree and determine the best routes in the network.
保存以便复习
保存以便复习
收藏此条目、标记为困难题,或将其加入复习集合。
Ques 4. What is OSPF adjacency?
OSPF adjacency is a relationship formed between OSPF routers to exchange routing information. It is established through the OSPF hello protocol.
保存以便复习
保存以便复习
收藏此条目、标记为困难题,或将其加入复习集合。
Ques 5. How does OSPF handle Type 1 and Type 2 LSAs?
Type 1 LSAs represent routers within an area, and Type 2 LSAs represent networks. OSPF routers use these LSAs to build the LSDB.
保存以便复习
保存以便复习
收藏此条目、标记为困难题,或将其加入复习集合。
Ques 6. How does OSPF support authentication?
OSPF supports authentication through plain text, MD5, or SHA algorithms. Authentication is configured at the interface level.
保存以便复习
保存以便复习
收藏此条目、标记为困难题,或将其加入复习集合。
Ques 7. What is the OSPF SPF tree?
The SPF tree is a tree-like structure used by OSPF to determine the best routes. It is built based on the LSDB and is used in the SPF algorithm.
保存以便复习
保存以便复习
收藏此条目、标记为困难题,或将其加入复习集合。
Ques 8. How does OSPF handle router priority in DR/BDR election?
Router priority is a value used in the DR/BDR election process. The router with the highest priority becomes the DR, and the second-highest becomes the BDR.
保存以便复习
保存以便复习
收藏此条目、标记为困难题,或将其加入复习集合。
Intermediate / 1 to 5 years experienced level questions & answers
Ques 9. Explain the OSPF area types.
OSPF supports different area types, including backbone area (Area 0), regular areas, stub areas, totally stubby areas, and not-so-stubby areas (NSSA).
保存以便复习
保存以便复习
收藏此条目、标记为困难题,或将其加入复习集合。
Ques 10. How does OSPF prevent routing loops?
OSPF uses the Dijkstra algorithm to calculate the shortest path tree, and it avoids routing loops by using the concept of a designated router (DR) on multi-access networks.
保存以便复习
保存以便复习
收藏此条目、标记为困难题,或将其加入复习集合。
Ques 11. Explain the OSPF LSDB (Link State Database).
The LSDB contains information about the network's topology, represented as link-state advertisements (LSAs). Routers use this database to calculate the SPF tree.
保存以便复习
保存以便复习
收藏此条目、标记为困难题,或将其加入复习集合。
Ques 12. Differentiate between OSPF areas and autonomous systems.
OSPF areas are subdivisions of an OSPF autonomous system. An OSPF autonomous system is a collection of OSPF areas connected by a backbone area (Area 0).
保存以便复习
保存以便复习
收藏此条目、标记为困难题,或将其加入复习集合。
Ques 13. How does OSPF handle equal-cost paths?
OSPF allows for load balancing across equal-cost paths by installing multiple routes in the routing table.
保存以便复习
保存以便复习
收藏此条目、标记为困难题,或将其加入复习集合。
Ques 14. What is OSPF metric, and how is it calculated?
OSPF metric is cost, which is inversely proportional to bandwidth. The formula is cost = 10^8 / bandwidth (in bps).
保存以便复习
保存以便复习
收藏此条目、标记为困难题,或将其加入复习集合。
Ques 15. Explain OSPF DR/BDR election process.
On multi-access networks, OSPF routers elect a Designated Router (DR) and a Backup Designated Router (BDR) to reduce OSPF routing traffic.
保存以便复习
保存以便复习
收藏此条目、标记为困难题,或将其加入复习集合。
Ques 16. What is the OSPF LSAge timer?
The LSAge timer in OSPF is used to age out LSAs from the LSDB. If an LSA's age exceeds its maximum age, it is considered expired and removed from the LSDB.
保存以便复习
保存以便复习
收藏此条目、标记为困难题,或将其加入复习集合。
Ques 17. What is OSPF NSSA (Not-So-Stubby Area)?
NSSA is an OSPF area type that allows injection of external routes while still maintaining some stub area characteristics.
保存以便复习
保存以便复习
收藏此条目、标记为困难题,或将其加入复习集合。
Ques 18. Explain OSPF path selection criteria.
OSPF selects paths based on the OSPF metric (cost). Lower cost paths are preferred. If costs are equal, the router considers other tie-breaker criteria.
保存以便复习
保存以便复习
收藏此条目、标记为困难题,或将其加入复习集合。
Ques 19. What is OSPF Type 3 LSA (Summary LSA)?
Type 3 LSAs are used to advertise summarized routes from one area to another. They are generated by the Area Border Router (ABR).
保存以便复习
保存以便复习
收藏此条目、标记为困难题,或将其加入复习集合。
Ques 20. What is OSPF External LSA (Type 5 LSA)?
Type 5 LSAs represent external routes injected into OSPF. They are generated by Autonomous System Boundary Routers (ASBRs).
保存以便复习
保存以便复习
收藏此条目、标记为困难题,或将其加入复习集合。
Ques 21. Explain OSPF route summarization.
Route summarization in OSPF involves aggregating multiple routes into a single summarized route, reducing the size of the routing table.
保存以便复习
保存以便复习
收藏此条目、标记为困难题,或将其加入复习集合。
Ques 22. Explain OSPF router types.
OSPF routers can be designated as internal routers, area border routers (ABRs), autonomous system boundary routers (ASBRs), or backbone routers.
保存以便复习
保存以便复习
收藏此条目、标记为困难题,或将其加入复习集合。
Ques 23. Explain OSPF stub area characteristics.
In OSPF stub areas, routers do not receive external routes, reducing the LSDB size. The area relies on a default route for external destinations.
保存以便复习
保存以便复习
收藏此条目、标记为困难题,或将其加入复习集合。
Experienced / Expert level questions & answers
Ques 24. Explain OSPF LSA types and their functions.
OSPF LSAs (Link State Advertisements) include Router LSAs, Network LSAs, Summary LSAs, ASBR Summary LSAs, and External LSAs, each serving a specific purpose in the OSPF network.
保存以便复习
保存以便复习
收藏此条目、标记为困难题,或将其加入复习集合。
Ques 25. What is OSPF convergence time?
Convergence time is the duration it takes for OSPF routers to update their routing tables after a topology change. OSPF typically has fast convergence due to its incremental SPF algorithm.
保存以便复习
保存以便复习
收藏此条目、标记为困难题,或将其加入复习集合。
Ques 26. How does OSPF handle network convergence in the presence of a link failure?
OSPF quickly reacts to link failures by recalculating the SPF tree and updating routing tables. This fast convergence is facilitated by OSPF hello and dead interval timers.
保存以便复习
保存以便复习
收藏此条目、标记为困难题,或将其加入复习集合。
Ques 27. Explain OSPF virtual links.
Virtual links are used to connect non-backbone areas to the OSPF backbone area (Area 0) when a physical connection is not feasible.
保存以便复习
保存以便复习
收藏此条目、标记为困难题,或将其加入复习集合。
Ques 28. What is OSPF graceful restart?
OSPF graceful restart allows a router to temporarily suspend OSPF routing while still forwarding traffic. It is useful during software upgrades or restarts.
保存以便复习
保存以便复习
收藏此条目、标记为困难题,或将其加入复习集合。
Ques 29. Explain OSPF LSA flooding mechanism.
LSAs are flooded within an OSPF area to ensure all routers have the same LSDB. OSPF routers use reliable flooding to achieve this.
保存以便复习
保存以便复习
收藏此条目、标记为困难题,或将其加入复习集合。
Ques 30. What is the OSPF LSRefresh timer?
The LSRefresh timer ensures that OSPF routers refresh LSAs with their current age before flooding them. It helps prevent premature aging of LSAs.
保存以便复习
保存以便复习
收藏此条目、标记为困难题,或将其加入复习集合。
Most helpful rated by users: