Cisco Shortcut Guide: Difference between revisions
No edit summary |
No edit summary |
||
Line 8: | Line 8: | ||
|}<br><br><br><br><br><br><br> | |}<br><br><br><br><br><br><br> | ||
{|border="1" cellpadding="5" cellspacing="0" align="left" | |||
| | |||
Do you want to get out of a long list without having to scroll through everything? (For example ''show run'') | 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''' | *Instead of hitting the space bar repeatedly just type the letter '''q''' | ||
Line 20: | Line 23: | ||
**Router(config)#'''line con 0''' | **Router(config)#'''line con 0''' | ||
**Router(config-line)#'''logg syn''' | **Router(config-line)#'''logg syn''' | ||
|}<br><br><br><br><br><br><br><br><br><br><br> | |||
{|border="1" cellpadding="5" cellspacing="0" align="left" | |||
| | |||
*Hit the '''tab''' key to automatically complete a command you are typing. | *Hit the '''tab''' key to automatically complete a command you are typing. | ||
Line 27: | Line 32: | ||
*To quickly cancel a ping use '''Ctrl-Shift-6''' | *To quickly cancel a ping use '''Ctrl-Shift-6''' | ||
|}<br><br><br><br><br><br><br> | |||
Revision as of 13:39, 22 April 2012
Basic Tips
|
Do you want to get out of a long list without having to scroll through everything? (For example show run)
|
|
The following examples will have full versions of common commands next to the shortest versions(These will not necessarily work on all versions of routers or switches).
Clear the Configurations
Switch>enable
Switch#erase startup-config Switch#delete flash:vlan.dat (This step only needed for switches that have vlans added) Switch#reload |
Switch>en
Switch#er s Switch#del vlan.dat Switch#rel |
Assign Addresses
Router#configuration terminal
Router(config)#interface fastethernet 0/0 Router(config-if)#ip address 192.168.1.1 255.255.255.0 Router(config-if)#no shutdown Router(config-if)#interface serial 0/0/0 Router(config-if)#ip address 192.168.2.1 255.255.255.0 Router(config-if)#clock rate 64000 Router(config-if)#end Router#show ip interfaces brief |
Router#conf t
Router(config)#int f0/0 Router(config-if)#ip add 192.168.1.1 255.255.255.0 Router(config-if)#n sh Router(config-if)#int s0/0/0 Router(config-if)#ip add 192.168.2.1 255.255.255.0 Router(config-if)#cl r 64000 Router(config-if)#end Router#sh ip int bri |