Cisco Shortcut Guide: Difference between revisions

From ITCwiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:




* Use the '''up''' arrow to bring up your last entered 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.  




Line 14: Line 14:
Are you in a config mode and wish to issue a show command?
Are you in a config mode and wish to issue a show command?
*Just put the word '''do''' in front of your command
*Just put the word '''do''' in front of your command
**Router(config)#do show run


Router(config)#do show run


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


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


*To quickly cancel a ping use '''Ctrl-Shift-6'''
*To quickly cancel a ping use '''Ctrl-Shift-6'''


== 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 if vlans have been configured)
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>

Revision as of 18:19, 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>