Cheatography
https://cheatography.com
Command-line interface commands and keyboard shortcuts for Cisco IOS
Modes
Level |
Mode |
Prompt |
1 |
User EXEC |
Device> |
2 |
Privileged EXEC |
Device# |
3 |
Global Config |
Device(config)# |
4a |
Interface Config |
Device(config-if)# |
4b |
Line Config |
Device(config-line) |
Keyboard Shortcuts
Up Arrow |
Automatically re-types last command |
Ctrl+Shift+6 |
Oh crap, stop! (Cancels whatever it's currently doing) |
Ctrl+C |
Exits config mode |
Ctrl+Z |
Applies current command & returns to priv. EXEC mode |
Ctrl+U |
Erases anything on current prompt line |
Tab |
Completes abbreviated command |
"Show" Commands
Command |
Information Displayed |
|
IOS version, memory capacity, etc. |
|
MAC address table |
|
routing table |
|
status, MAC, IP, etc. for Gigabit Ethernet 0/0 |
|
name, IP, status, etc. (all interfaces) |
Other Commands
Command |
From Mode |
Function |
|
global config |
used if switch won't take IPv6 address |
General Commands
Short Command |
Complete Command |
Function |
|
|
user EXEC > priv. EXEC |
|
|
priv. EXEC > global config |
|
|
global config > interface config |
|
|
global config > line config |
|
|
shows current config |
|
copy running-config startup-config
|
saves current config |
|
|
keeps router from trying to read bad cmds as host names |
|
|
MUST use after labs to reset router configs! |
|
|
MUST use after labs to reset router configs! |
|
|
Initial Configuration (Switches and Routers)
Command |
From Mode |
What It Does |
|
global config |
sets hostname to xyz |
|
global config |
sets encrypted password for priv. EXEC to xyz |
service password-encrypt
|
global config |
encrypts all passwords |
|
global config |
enters line config mode for console |
|
global config |
enters line config mode for 16 vty lines |
|
line config |
sets line password to xyz |
|
line config |
enables users to login |
|
global config |
enters interface config mode for vlan1 |
|
interface config |
sets IP address |
|
interface config |
turns on interface |
|
global config |
sets motd banner |
Router-Specific Configuration Commands
Command |
From Mode |
Function |
|
global config |
enters interface config for Gigabit Ethernet 0/1 |
|
interface config |
sets interface's IPv4 address |
|
interface config |
turns on the interface |
description description text
|
interface config |
used to document info about the interface |
|
interface config |
sets interface's IPv6 address |
ipv6 address IP/prefix link-local
|
interface config |
sets interface's IPv6 link-local address |
|
global config |
enables IPv6 routing |
|
Created By
Metadata
Favourited By
Comments
this slide look really good
awesome information
cannot download color version of Basic Cisco IOS Commands Cheat Sheet PDF. Any ideas. BW downloaded OK
Add a Comment
Related Cheat Sheets
More Cheat Sheets by Tamaranth