This is a draft cheat sheet. It is a work in progress and is not finished yet.
CLI Shortcuts
Ctrl+A |
Move Cursor to beginning of line |
Ctrl+E |
Move cursor to end of line |
Ctrl+F |
Move forward one character |
Ctrl+B |
Move backward one character |
Esc, F |
Move forward one word |
Esc, B |
Move backward one word |
Ctrl+U |
Erase line |
Ctrl+W |
Erase Word |
Ctrl+T |
Swap current character with the previous one |
Ctrl+K |
Erase all characters from cursor to end of line |
Ctrl+X |
Erase all characters from cursor to beginning of line |
Ctrl+L |
Reprint line |
Ctrl+R |
Redisplay line (starts new line with same cmd) |
Ctrl+P (down arrow) |
Display last command |
Ctrl+N (down arrow) |
Display previous commands |
Tab |
Complete partial command |
Ctrl+C |
Exit config mode |
Ctrl+Z |
Exit config mode return to priv exec mode |
Ctrl+Shift+6 |
Default Break Sequence |
VLAN Troubleshooting
show vlan |
show interface [status | switchport] |
show interface trunk |
show vtp status |
show vtp password |
Routing Troubleshooting
show ip route [bgp | ospf | static | eigrp | vrf] |
show ip bgp [summary | neighbors] |
clear ip bgp * [soft] |
debug ip bgp [...] |
show ip ospf [interface | neighbors] |
show ip ospf border-routers |
show ip ospf virtual-links |
debug ip ospf [...] |
show ip eigrp [interfaces | neighbors | topology | traffic] |
clear ip eigrp neighbors |
debug ip eigrp [packet | neighbors] |
|
|
Access List Troubleshooting
show access-lists [<number> | <name>] |
show ip access-lists [<number> | <name>] |
show ip access-lists interface <interface> |
show ip access-lists dynamic |
show ip interface <interface> |
show time-range [<name>] |
Spanning Tree Troubleshooting
show spanning-tree [summary | detail | root] |
show spanning-tree [<interface> | <vlan>] |
show spanning-tree mst |
NAT Troubleshooting
show ip nat translations [verbose] |
show ip nat statistics |
clear ip nat translations |
QoS Troubleshooting
show policy-map [<interface>] |
show <interface> |
show queue <interface> |
show mls qos |
IPSec Troubleshooting
show crypto isakmp sa |
show crypto isakmp policy |
show crypto ipsec sa |
show crypto ipsec transform-set |
clear crypto isakmp <connid> |
debug crypto [isakmp | ipsec] |
Zone-Based Firewall Troubleshooting
show zone security |
show zone-pair security |
show policy-map type inspect |
show class-map type inspect |
show parameter-map type inspect |
debug zone security events |
|