You are on page 1of 2

Basic Cisco IOS Commands Cheat Sheet

by River L. (Tamaranth) via cheatography.com/42882/cs/12851/

Modes Other Commands

Level Mode Prompt Comm​and From Mode Func​tion

1 User EXEC Device> sdm pre dual def global config used if switch won't take IPv6
address
2 Privileged EXEC Device#

3 Global Config Device​(co​nfig)#


General Commands
4a Interface Config Device​(co​nfi​g-if)#
Short Complete Command Func​tion
4b Line Config Device​(co​nfi​g-line)
Command

Keyboard Shortcuts en enable user EXEC > priv.


EXEC
Up Arrow Automa​tically re-types last command
conf t config terminal priv. EXEC > global
Ctrl+Shift+6 Oh crap, stop! (Cancels whatever it's currently doing) config
Ctrl+C Exits config mode int inter​face global config > interface
Ctrl+Z Applies current command & returns to priv. EXEC mode config

Ctrl+U Erases anything on current prompt line li line global config > line
config
Tab Completes abbrev​iated command
sh run show runnin​g- shows current config

"​Sho​w" Commands c​onfig

Comm​and Info​rmation Displa​yed cop r s copy runnin​g- saves current config


c​onfig startu​p-
show version IOS version, memory capacity, etc.
c​onfig
show mac address-table MAC address table
no ip dom lo no ip domain-lookup keeps router from trying
show ip route routing table
to read bad cmds as
show interface g0/0 status, MAC, IP, etc. for Gigabit host names
Ethernet 0/0 era star [Tab] erase startu​p- MUST use after labs
show ip interface brief name, IP, status, etc. (all interf​aces) c​onfig to reset router
configs!

del vlan.d​at delete vlan.dat MUST use after labs


to reset router
configs!

By River L. (Tamaranth) Published 30th September, 2017. Sponsored by CrosswordCheats.com


cheatography.com/tamaranth/ Last updated 21st February, 2019. Learn to solve cryptic crosswords!
Page 1 of 2. http://crosswordcheats.com
Basic Cisco IOS Commands Cheat Sheet
by River L. (Tamaranth) via cheatography.com/42882/cs/12851/

Initial Config​uration (Switches and Routers) Router​-Sp​ecific Config​uration Commands

Comm​and From Mode What It Does Comm​and From Mode Func​tion

hostname xyz global config sets hostname to int​erface g0/1 global config enters
xyz interface

enable secret xyz global config sets encrypted config for

password for priv. Gigabit


Ethernet
EXEC to xyz
0/1
service global config encrypts all
ip address IP/prefix interface config sets
passwo​rd-​enc​rypt passwords
interf​ace's
line console 0 global config enters line config IPv4
mode for console address

line vty 0 15 global config enters line config no shut interface config turns on
mode for 16 vty the
lines interface
pas​sword xyz line config sets line password des​cri​ption descr​iption text interface config used to
to xyz document

log​in line config enables users to info about


login the
interface
int vlan 1 global config enters interface
config mode for ipv6 address IP/prefix interface config sets

vlan1 interf​ace's
IPv6
ip address [IP] [subnet] interface config sets IP address
address
no shut interface config turns on interface ipv6 address IP/prefix link-local interface config sets
banner motd #Text Here# global config sets motd banner interf​ace's
IPv6 link-
local
address

ipv6 unicast-routing global config enables


IPv6
routing

By River L. (Tamaranth) Published 30th September, 2017. Sponsored by CrosswordCheats.com


cheatography.com/tamaranth/ Last updated 21st February, 2019. Learn to solve cryptic crosswords!
Page 2 of 2. http://crosswordcheats.com

You might also like