Troubleshooting an issue with a switch I needed to disable a port.  Why not share my steps.

To disable a single or multiple ports we do the following

Log into your switch via console (in my case I SSH in using Putty)

When connected type: configure

Then issue the following command (note you can tab complete)

If you were to enable a disabled port you simply you use the enable command.

Before existing the console issue the following to save changes.

You can now exit form the console; the port you specified has been disabled