IP class is generally specified for air-filled equipment- control cubicles, air-filled cable boxes etc. For Oil filled equipment, it is not relevant as edison123 explained. In transformers with a breather, dust will not get in as there is a unique oil seal in the breather whereby breathed-in air will bubble through the oil.