If you will disable interface on cisco switch you can use :

Interface fa0/0
Shutdown

If you will disable interface begin 0 until 24 you can use :

interface range f0/1-24
Shutdown