User EXEC mode
Router>
“en” (“enable”) => Privileged EXEC mode
Privileged EXEC mode
Router#
“sh run” (“show running-config”) , “sh start” (“show startup-config”)
Press spacebar to reveal more details
“sh ip int bri” (“show ip interface brief”)
“copy run start” (“copy running-config startup-config”), “wr (“write memory”)
“conf t” (“configure terminal”) => Global Configuration mode
Global Configuration mode
Router(config)#
enable secret [password]
Interface Configuration mode
Router(config-if)#
“int g0/0” (“interface gigabitEthernet 0/0”)
“ip add [Link] [Link]” (“ip address [Link] [Link]”)
“desc ## to SW 1 ##” (“description ## to SW 1 ##”)
“no shut” (“no shutdown”)
Add “do” in front of the command to use privileged command like “show…” in config
mode.
Press TAB to autocomplete the command with the closest matching characters like if
you type “sh” and then press TAB key, it will give you full command “show”.
“CTRL + A” will move the cursor to the start of the line.
show interfaces status (only can run in switch)
int range g0/2, f0/3 – 24
description ## not in use ##
shutdown
do show interfaces status
end
copy running-config startup-config
show startup-config