So I have been getting a lot of questions in regards to programming Cisco Routers and Cisco Switches. The following document is what I took down as notes when I had to program a Cisco Router running Cisco IOS. Most of it is applicable to cisco routers, but most commands will work with switches as well.
In the document below, you can see that the commands are split into two modes — enable mode and config terminal mode. Type the commands in according to the mode that you are using.
This Cisco IOS Command Cheat Sheet is great for advanced users or beginners. Any questions, please leave a comment!