CLI For Networking
CLI For Networking
RJ45
USB Mini-B
How to connect to a Cisco device? (Console port)
How to connect to a Cisco device? (Console port)
Rollover cable 1・ ・1
2・ ・2
3・ ・3
4・ ・4
5・ ・5
6・ ・6
7・ ・7
8・ ・8
Terminal Emulator (PuTTy)
putty.org
Cisco IOS CLI
User EXEC Mode
Router>
●
User EXEC mode is very limited.
●
Users can look at some things, but can’t make any changes to the configuration.
●
Also called ‘user mode’
Privileged EXEC Mode
Router>enable
Router#
●
Provides complete access to view the device’s configuration, restart the device,
etc.
●
Cannot change the configuration, but can change the time on the device, save
the configuration file, etc.
Cisco IOS CLI
User EXEC Mode Privileged EXEC Mode
Router>en
Router>enable
Router#
Router>en
Router#
Cisco IOS CLI
Router>e
% Ambiguous command: “e”
Router>
Router>e?
enable exit
Router>e
Global Configuration Mode
enable password
●
Passwords are case-sensitive.
enable password
enable password
●
The password does not display as you type it (for
security purposes).
enable password
running-config / startup-config
●
There are two separate configuration files kept on the device at
once.
●
Running-config = the current, active configuration file on the
device. As you enter commands in the CLI, you edit the active
configuration.
●
Startup-config = the configuration file that will be loaded upon
restart of the device.
show running-config / show startup-config
Saving the configuration
Saving the configuration
service password-encryption
service password-encryption
enable secret
5 = MD5 encryption
NOT used
canceling commands
service password-encryption
Router>enable
##used to enter privileged EXEC mode
Router#configure terminal
##used to enter global configuration mode
Router(config)#service password-encryption
##encrypts the enable password (and other passwords)
Router(config)#do privileged-exec-level-command
##executes a privileged-exec level command from global
configuration mode
Command Review
Router(config)#no command
##removes the command
Router#show running-config
##displays the current, active configurtion file
Router#show startup-config
##displays the saved configuration file which will be loaded if the
device is restarted
Command Review
Router#write
##saves the configuration
Router#write memory
##saves the configuration
What kind of cable is used to connect to a Cisco device via the RJ45 console port?
a) Rollover cable
b) Crossover cable
c) USB cable
Quiz Question 1
a) Rollover cable
A rollover cable is used to connect to the RJ45 console port on a Cisco
device.
Quiz Question 2
You type enable to enter privileged exec mode on your Cisco router, however the
password you enter is not accepted. What could be the problem?
What is the most secure method to protect access to privileged EXEC mode?
If both the enable password and the enable secret command are configured, what
will happen when you use enable to enter privileged EXEC mode?
You enter the conf t command to enter global configuration mode. What is the full-
length version of the command?
a) configuration time
b) configure terminal
c) configuration terminal
Supplementary Materials
●
Review flash cards (link in the description)
●
Packet Tracer lab