New here? Start with our CCNA Foundations skill path to build a solid networking base.

CCNP
Intermediate

OSPF Single Area + Verification

Overview

Configure OSPF single area, understand neighbor relationships, LSA flooding, and SPF calculations.

Prerequisites

IP routing basics, subnetting, understanding of link-state vs distance-vector protocols

Topology

Five routers in Area 0. Mix of point-to-point and broadcast networks. Multiple paths for ECMP demonstration.

OSPF
Routing
Link State
IGP

Lab Steps

Step 1Enable OSPF on all routers

Configure OSPF process 1, advertise networks into Area 0.

Checklist:

  • OSPF process started
  • Networks advertised
  • Router IDs configured
Step 2Verify neighbor adjacencies
Step 3Examine OSPF database
Step 4Verify routing table

Configurations

Basic OSPF Configuration
R1
R1cisco
router ospf 1
 router-id 1.1.1.1
 network 10.0.0.0 0.0.0.255 area 0
 network 192.168.1.0 0.0.0.255 area 0
 passive-interface Loopback0

Verification

Verify OSPF neighbors

Commandscisco
show ip ospf neighbor
show ip ospf interface brief

Expected Output:

Outputcisco
Neighbor ID     Pri   State        Dead Time   Address         Interface
2.2.2.2          1   FULL/BDR     00:00:35    10.0.1.2        Gi0/0

Check OSPF database and routes

Commandscisco
show ip ospf database
show ip route ospf

Expected Output:

Outputcisco
O        10.2.0.0/24 [110/2] via 10.0.1.2, 00:05:23, GigabitEthernet0/0

Common Issues