Cisco Shortcut Guide: Difference between revisions

From ITCwiki
Jump to navigation Jump to search
(Created page with "== Basic Tips == Do you want to bring up a previously entered command? * Use the '''up''' arrow to bring up your last used commands and the '''down''' arrow to go back. Do yo...")
 
No edit summary
Line 1: Line 1:
== Basic Tips ==
== Basic Tips ==


Do you want to bring up a previously entered command?
 
* Use the '''up''' arrow to bring up your last used commands and the '''down''' arrow to go back.
* Use the '''up''' arrow to bring up your last entered commands and the '''down''' arrow to go back.




Do you want to go straight to the beginning of a command you're typing?
* 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.
* 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.


Line 17: Line 16:


Router(config)#do show run
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 if vlans have been configured)
Delete filename [vlan.dat]? <press enter to confirm>

Revision as of 18:15, 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 if vlans have been configured) Delete filename [vlan.dat]? <press enter to confirm>