Skip to content
CCNA 200-301 v1.1 reference — IP Connectivity

OSPF single-area configuration

Configure single-area OSPFv2: process ID, router ID, network statements or interface OSPF, passive interfaces, and adjacency verification.

Objective 3.4v1.1 exam target

OSPFv2 is a link-state IGP: routers flood link-state advertisements inside an area, build an identical topology map, and each computes shortest paths independently. Single-area OSPF commonly uses area 0 in examples, though any single area number is valid. The process ID is locally significant — it need not match between routers.

The router ID is a 32-bit dotted identifier — it may happen to equal a reachable interface address, but the identifier itself does not imply reachability. Selection order: explicit router-id → highest loopback IPv4 → highest up physical interface IPv4. The RID must be unique in the domain; change it and OSPF re-converges.

Single-area OSPFv2

Enable OSPF on the LAN and WAN interfaces — Privileged EXEC → Router + interface configuration

Cisco IOS / IOS XE

  • Know which interfaces should form adjacencies versus advertise their subnets passively.
configure terminal
router ospf 1
 router-id 1.1.1.1
 network 10.0.0.0 0.0.0.3 area 0
 network 192.168.10.0 0.0.0.255 area 0
 passive-interface gigabitethernet0/2
 end
Verify
show ip ospf neighbor
show ip protocols
show ip ospf interface brief
show ip route ospf
  • Neighbors reach FULL state.
  • Only intended interfaces are enabled for OSPF; passive ones are marked passive.
  • OSPF (O) routes install in the table.
  • Alternative: ip ospf 1 area 0 under each interface — simpler and more precise.
  • Wildcard masks on network statements are inverse masks (like ACLs), not subnet masks.

Changes device configuration.

Adjacency requirements

Network type doesn't have to match for adjacency to form — but mismatched DR expectations break the database.
Must matchIf mismatched
Hello and dead intervalsNeighbors never form — a fixed mismatch prevents adjacency, it does not create stable flapping
Area IDNo adjacency
Subnet/mask (broadcast)Stuck — masks must agree
AuthenticationPackets rejected
MTUAdjacency stalls in ExStart/Exchange
Area type flags (stub/NSSA)No adjacency

Network type doesn't have to match for adjacency to form — but mismatched DR expectations break the database.

$ show ip ospf neighbor (interpreted)
Neighbor ID Pri State Dead Time Address InterfaceRID, DR priority, state, timer, neighbor IP.
2.2.2.2 1 FULL/BDR 00:00:38 10.0.0.2 Gi0/1FULL = synchronized; BDR is its role on this segment.
3.3.3.3 1 FULL/DR 00:00:33 10.0.0.3 Gi0/1DR role belongs to the neighbor.
On this page

Related resources

Sources

Targets CCNA 200-301 v1.1 objectives. Supplemental blocks are labeled beyond exam scope.

Search guided lessons, transcript chapters, flashcards, CLI drills and cheat sheets

OSPF single-area configuration | CCNA Study