You can connect to the console port with a DB-9 serial cable. Configure your terminal for 9600-N-8-1. This should get you to the CLI where you can log in, fix the problem, and back up the configuration.
If you locked yourself out with a configuration command and you weren't able to save the configuration, a simple power-cycle will cause the switch to reboot with the last saved configuration.
Thanks for the reply. I was able to use Putty to get into the CLI. Now I have to find the cmd to backup and look at the config.