Passive interfaces explicitly allows the network to be advertised, but prevents it from forming neighbor relationships on that interface. Passive interfaces are included in the OSPF route table. They 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.