Passive interfaces explicitly allow the network to be advertised, but the router prevents the forming of neighbor relationships on that interface. Passive interfaces are included in the OSPF route table. Passive interfaces do not send or receive hello packets. OSPF adjacencies can not be formed on a passive interface.
An option exists to default all interfaces to passive mode.
Use the passive-interface command in router configuration command mode to configure an interface as passive.