Pcornel
Networking · Network & Protocols › OSPF Protocol Reference

OSPF Network Types Deep Reference

Cheat sheet · https://pcornel.dk/topic.php?topic=224

Back to the Topic

Answer

OSPF network type is an interface-level behavior model that affects Hellos, neighbor formation and whether a DR/BDR election is used.

Remember

Network type must match the actual topology and peer expectations. An interface being IP-reachable does not prove OSPF network-type compatibility.

First checks

  • show ip ospf interface <interface> — Network Type
  • show ip ospf neighbor — DR/BDR or none

Commands

show ip ospf interface
ip ospf network non-broadcast
show ip ospf interface GigabitEthernet0/0
show ip ospf database router
show ip ospf database network
ip routing
ip ospf mtu-ignore
ip ospf network broadcast

Verify in this order

network type → hello/DR behaviour → adjacency → LSAs

Where it usually breaks

underlay/interface reachability → protocol adjacency/session → received/originated state → policy → best path/RIB → FIB/adjacency → traffic path

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=224

Confirmation

Confirm action

Continue?