Cisco Shortcut Guide: Difference between revisions

From ITCwiki
Jump to navigation Jump to search
Line 25: Line 25:
== Clear the Configurations ==
== Clear the Configurations ==


Switch>enable
Switch>'''enable'''


Switch#erase startup-config
Switch#'''erase startup-config'''


Erasing the nvram filesystem will remove all configuration files! Continue? [confirm] <press enter to confirm>
Erasing the nvram filesystem will remove all configuration files! Continue? [confirm] <press enter to confirm>


Switch#delete flash:vlan.dat    ''(This step only needed for switches that have vlans added)''
Switch#'''delete flash:vlan.dat'''     ''(This step only needed for switches that have vlans added)''


Delete filename [vlan.dat]? <press enter to confirm>
Delete filename [vlan.dat]? <press enter to confirm>
Switch#'''reload'''

Revision as of 18:21, 13 April 2012

Basic Tips

  • Use the up arrow to bring up your last entered commands and the down arrow to go back.


  • Use the home key on your keyboard to bring your cursor to the beginning of the command you're typing. You can use the end key to go back to the end.


Do you want to get out of a long list without having to scroll through everything? (For example show run)

  • Instead of hitting the space bar repeatedly just type the letter q


Are you in a config mode and wish to issue a show command?

  • Just put the word do in front of your command
    • Router(config)#do show run


  • Hit the tab key to automatically complete a command you are typing.


  • To quickly cancel a ping use Ctrl-Shift-6


Clear the Configurations

Switch>enable

Switch#erase startup-config

Erasing the nvram filesystem will remove all configuration files! Continue? [confirm] <press enter to confirm>

Switch#delete flash:vlan.dat (This step only needed for switches that have vlans added)

Delete filename [vlan.dat]? <press enter to confirm>

Switch#reload