OSPF Reference
Free reference guide: OSPF Reference
About OSPF Reference
The OSPF Reference is a searchable quick-reference covering Open Shortest Path First (OSPF) routing protocol commands and concepts for Cisco IOS. It includes basic configuration (router ospf, network statements, passive-interface), area types (backbone Area 0, stub, totally stubby, NSSA, virtual link), LSA types 1 through 5, adjacency formation, and route redistribution.
Designed for network engineers, CCNA/CCNP candidates, and infrastructure teams, this reference provides copy-ready Cisco IOS syntax with real-world configuration examples for each OSPF feature.
All content is organized into six categories -- Basic Config, Areas, LSA, Adjacency, Redistribution, and Tuning -- so you can quickly locate the exact command you need during lab work, troubleshooting, or exam preparation.
Key Features
- Complete OSPF router configuration commands with Cisco IOS syntax and examples
- Area type reference covering backbone, stub, totally stubby, NSSA, and virtual links
- LSA type breakdown: Router (Type 1), Network (Type 2), Summary (Type 3), External (Type 5)
- DR/BDR election rules, Hello/Dead intervals, and OSPF state machine walkthrough
- Route redistribution commands for static, connected, and BGP routes into OSPF
- SPF and LSA timer tuning with throttle parameter explanations
- BFD integration for sub-second failure detection alongside OSPF
- Filterable by category with instant keyword search across all 26 entries
Frequently Asked Questions
What OSPF topics does this reference cover?
This reference covers OSPF process setup (router ospf, router-id), network statements, passive-interface, all area types (backbone, stub, totally stubby, NSSA, virtual link), LSA types 1-5, DR/BDR election, adjacency states, authentication, route redistribution, default route origination, area summarization, cost manipulation, SPF/LSA timers, and BFD integration.
Is the syntax based on Cisco IOS?
Yes. All command examples use Cisco IOS/IOS-XE syntax. The concepts (area types, LSA types, adjacency states) are vendor-neutral OSPF fundamentals, but the configuration commands shown are Cisco-specific.
What is the difference between stub, totally stubby, and NSSA areas?
A stub area blocks Type 5 (external) LSAs and uses a default route from the ABR. A totally stubby area additionally blocks Type 3 (summary) LSAs. An NSSA allows limited external routes via Type 7 LSAs, which the ABR converts to Type 5 for the backbone.
How does the DR/BDR election work in OSPF?
On multi-access networks, the router with the highest OSPF priority becomes the Designated Router (DR). The second highest becomes the Backup DR (BDR). Priority 0 means the router will not participate in the election. The election is non-preemptive once complete.
What are the OSPF adjacency states?
OSPF adjacency progresses through: Down, Init, 2-Way (DR/BDR election occurs here), ExStart, Exchange, Loading, and Full. The Full state means the Link-State Databases are fully synchronized between neighbors.
How do I tune OSPF SPF timers?
Use "timers throttle spf <initial-delay> <hold-time> <max-wait>" under the OSPF process. For example, "timers throttle spf 50 200 5000" sets a 50ms initial delay, 200ms hold time, and 5000ms maximum wait between SPF calculations.
Can I use this reference for CCNA/CCNP exam preparation?
Absolutely. The reference covers all OSPF topics tested on CCNA 200-301 and CCNP ENCOR 350-401, including multi-area OSPF, LSA types, area types, route summarization, and redistribution. Each entry includes concise explanations with exam-relevant examples.
Is this OSPF reference free to use?
Yes, completely free with no account required. All content loads in your browser with no server calls. It is part of liminfo.com's collection of free networking and developer reference tools.