|
Level
|
Mode
|
Prompt
|
|
1
|
user EXEC
|
Switch>
|
|
2
|
Privileged EXEC
|
Switch#
|
|
3
|
Global Config
|
Switch(config)#
|
|
4a
|
Interface Config
|
Switch(config-if)#
|
|
4b
|
Line Config
|
Switch(config-line)#
|
|
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
|
|
Command
|
Information Displayed
|
show version |
IOS version, memory capacity, etc.
|
show mac-address table |
MAC address table
|
show ip route |
routing table
|
show interface g0/0 |
status, MAC, IP, etc. for GigaitEthernet 0/0
|
show ip interface brief |
name, IP, status, etc. (all interfaces)
|
|
Short Command
|
Complete Command
|
Function
|
en |
enable |
user EXEC > priv. EXEC
|
conf t |
config terminal |
priv. EXEC > global config
|
int |
interface |
global config > interface config
|
li |
line |
global config > line config
|
sh run |
show running-config |
shows current config
|
cop r s |
copy running-config startup-config |
saves current config
|
no ip dom lo |
no ip domain-lookup |
keeps router from trying to read bad commands as host names
|
era star [Tab] |
erase startup-config |
Resets Config
|
del vlan.dat |
delete vlan.dat |
Reset VLAN configs
|
|
Command
|
From Mode
|
What It Does
|
hostname xyz |
global config
|
sets hostname to xyz
|
enable secret xyz |
global config
|
sets encrypted password for priv. EXEC to xyz
|
service password-encrypt |
global config
|
encrypts all passwords
|
line console 0 |
global config
|
enters line mode for console
|
line vty 0 15 |
global config
|
enters line config mode for 16 vty lines
|
password xyz |
line config
|
sets line password to xyz
|
login |
line config
|
enables users to login
|
int vlan 1 |
global config
|
enters interface config mode for vlan 1
|
ip address [IP] [Subnet] |
interface config
|
sets IP address
|
no shut |
interface config
|
turns on interface
|
banner motd #Text Here# |
global config
|
sets motd banner
|
|
Command
|
From Mode
|
Function
|
interface g0/1 |
global config
|
enters interface config for GigabitEthernet 0/1
|
ip address IP/prefix |
interface config
|
sets interface's IPv4 address
|
no shut |
interface config
|
turns on the interface
|
description description text |
interface config
|
used to document info about the interface
|
ipv6 address IP/prefix |
interface config
|
sets interface's IPv6 address
|
|
`ipv6 address IP/prefix link-local
|
interface config
|
sets interface's IPv6 link-local address
|
ipv6 unicast-routing |
global config
|
enables IPv6 routing
|
|
Command
|
From Mode
|
Function
|
|
sdm pre dual def
|
global config
|
used if switch won't take IPv6 address
|
No comments yet.
Cheatography n. The art of mapping complex subjects into clear, instantly navigable reference guides.