I have cisco 2950 series 24 port switch.
I have format flash directory of this switch. unintentionally now pls help me out what should i do for restoring ios of that switch.
If your switch is in switch: mode then you can make use of the following link to upload the valid ios image back on to the flash
If your switch is in normal working condition and in normal switch prompt then you can make use of tftp copy to upload the ios back on the flash.