OSPF

Common OSPF Passive Interface Mistakes

Classic OSPF passive-interface mistakes: making uplinks passive by accident, leaving user VLANs active, and using passive-default without exclusions. Here are the fixes.
Common OSPF Passive Interface Mistakes
In: OSPF

Mistake 2: Forgetting to Make User VLANs Passive

Problem: User-facing VLANs send OSPF Hellos

Impact:

  • Security risk (rogue routers can join)
  • Wasted resources

Fix:

router ospf 1
 passive-interface vlan 10
 passive-interface vlan 20

Or use default:

router ospf 1
 passive-interface default
 no passive-interface gi0/0  ← Uplink only

Mistake 3: Using passive-default Without Exclusions

Problem:

router ospf 1
 passive-interface default
 ! (Forgot to exclude uplinks)

Impact: ALL interfaces passive, no neighbors

Fix:

router ospf 1
 no passive-interface gi0/0
 no passive-interface gi0/1

Verification

R1# show ip protocols | include Passive
  Passive Interface(s):
    Vlan10
    Vlan20
    Loopback0

Should see: User VLANs, loopbacks
Should NOT see: Uplinks to other OSPF routers

Summary

Never make uplinks passive
Always make user VLANs passive
Always make loopbacks passive
Use passive-default on edge routers

Next: Subnet Mask Mismatch (Article 25)

Internal Links:

Written by
More from Ping Labz
Great! You’ve successfully signed up.
Welcome back! You've successfully signed in.
You've successfully subscribed to Ping Labz.
Your link has expired.
Success! Check your email for magic link to sign-in.
Success! Your billing info has been updated.
Your billing was not updated.