Basic Cisco IOS Commands Cheat Sheet
by River L. (Tamaranth) via [Link]/42882/cs/12851/
Modes "Show" Commands (cont)
Level Mode Prompt show ip interface brief name, IP, status, etc. (all interf‐
1 User EXEC Device> aces)
2 Privileged EXEC Device#
Other Commands
3 Global Config Device(config)#
Command From Mode Function
4a Interface Config Device(config-if)#
sdm pre dual def global config used if switch won't take
4b Line Config Device(config-line)
IPv6 address
Keyboard Shortcuts
General Commands
Up Arrow Automatically re-types last command
Short Complete Command Function
Ctrl+Shift+6 Oh crap, stop! (Cancels whatever it's currently doing) Command
Ctrl+C Exits config mode en enable user
Ctrl+Z Applies current command & returns to priv. EXEC EXEC >
mode priv.
Ctrl+U Erases anything on current prompt line EXEC
Tab Completes abbreviated command conf t config terminal priv.
EXEC >
"Show" Commands global
config
Command Information Displayed
int interface global
show version IOS version, memory capacity, etc.
config >
show mac address-table MAC address table interface
show ip route routing table config
show interface g0/0 status, MAC, IP, etc. for Gigabit li line global
Ethernet 0/0 config >
line
config
sh run show running-config shows
current
config
cop r s copy running-config startup-co saves
nfig current
config
no ip dom lo no ip domain-lookup keeps
router
from
trying to
read
bad
cmds as
host
names
By River L. (Tamaranth) Published 30th September, 2017. Sponsored by [Link]
[Link]/tamaranth/ Last updated 21st February, 2019. Everyone has a novel in them. Finish
Page 1 of 2. Yours!
[Link]
Basic Cisco IOS Commands Cheat Sheet
by River L. (Tamaranth) via [Link]/42882/cs/12851/
General Commands (cont) Initial Configuration (Switches and Routers) (cont)
era star [Tab] erase startup-conf MUST use after banner motd #Text Here# global config sets motd banner
ig labs to reset
router configs! Router-Specific Configuration Commands
del [Link] delete [Link] MUST use after Command From Mode Function
labs to reset
interface g0/1 global config enters
router configs!
interface
config for
Initial Configuration (Switches and Routers)
Gigabit
Command From Mode What It Does Ethernet
hostname xyz global config sets hostname 0/1
to xyz ip address IP/prefix interface config sets
enable secret xyz global config sets encrypted interf‐
password for ace's
priv. EXEC to IPv4
xyz address
service password-encry global config encrypts all no shut interface config turns on
pt passwords the
interface
line console 0 global config enters line
config mode description description text interface config used to
for console document
info
line vty 0 15 global config enters line
about the
config mode
interface
for 16 vty lines
ipv6 address IP/prefix interface config sets
password xyz line config sets line
interf‐
password to
ace's
xyz
IPv6
login line config enables users address
to login
ipv6 address IP/prefix link-local interface config sets
int vlan 1 global config enters interf‐
interface config ace's
mode for vlan1 IPv6 link-
ip address [IP] [subnet] interface config sets IP address local
no shut interface config turns on address
interface ipv6 unicast-routing global config enables
IPv6
routing
By River L. (Tamaranth) Published 30th September, 2017. Sponsored by [Link]
[Link]/tamaranth/ Last updated 21st February, 2019. Everyone has a novel in them. Finish
Page 2 of 2. Yours!
[Link]