Topology
2.1.4.6 Packet Tracer - Navigating the IOS Objectives
Part 1: Establish Basic Connections, Access the CLI, and Explore Help
Part 2: Explore EXEC Modes
Part 3: Set the Clock
Background
In this activity, you will practice skills necessary for navigating the Cisco IOS, such as different user access modes, various configuration modes, and common commands used on a regular basis. You will also practice accessing the context-sensitive Help by configuring the clock command.
Part 1: Establish Basic Connections, Access the CLI, and Explore Help
In Part 1 of this activity, you will connect a PC to a switch using a console connection and explore various command modes and Help features.
Step 1: Connect PC1 to S1 using a console cable.
a. Click the Connections icon (the one that looks like a lightning bolt) in the lower left corner of the Packet Tracer window.
b. Select the light blue Console cable by clicking it. The mouse pointer will change to what appears to be a connector with a cable dangling from it.
c. Click PC1. A window displays an option for an RS-232 connection.
d. Drag the other end of the console connection to the S1 switch and click the switch to access the connection list.
e. Select the Console port to complete the connection.
Step 2: Establish a terminal session with S1.
a. Click PC1 and then select the Desktop tab.
b. Click the Terminal application icon. Verify that the Port Configuration default settings are correct.
What is the setting for bits per second?
9600
OK
d. The screen that appears may have several messages displayed. Somewhere on the screen there should be a Press RETURN to get started! message. Press ENTER.
What is the prompt displayed on the screen?
S1>
Step 3: Explore the IOS Help.
a. The IOS can provide help for commands depending on the level accessed. The prompt currently displayed is called User EXEC, and the device is waiting for a command. The most basic form of help is to type a question mark (? ______
S1> ?
Which command begins with the letter ‘C’?
connect
S1> t?
Which commands are displayed?
telnet terminal traceroute
te
S1> te?
Which commands are displayed?
telnet terminal
context-sensitive
Part 2: Explore EXEC Modes
In Part 2 of this activity, you will switch to privileged EXEC mode and issue additional commands.
Step 1: Enter privileged EXEC mode.
a. At the prompt, type the question mark (? ______
S1> ?
What information is displayed that describes the enable command?
Turn on privileged commands
Tab
S1> en
What displays after pressing the Tab key?
enable
What would happen if you typed te at the prompt?
There is more than one command that begins with the letters ‘te because ‘te’ does not provide enough characters to make the command unique. The characters will continue to display prompting the user for additional characters to make the command unique.
enable
It changes from S1> to S1#, which indicates privileged EXEC mode
S1# ?
One command starts with the letter ‘C’ in user EXEC mode. How many commands are displayed now that privileged EXEC mode is active? (Hint: you could type c? ______
5 - clear, clock, configure, connect, and copy
Step 2: Enter Global Configuration mode.
a. When in privileged EXEC mode, one of the commands starting with the letter ‘C’ is configure. Type either the full command or enough of the command to make it unique. Press the key to issue the command and press ENTER.
S1# configure
What is the message that is displayed?
Configuring from terminal, memory, or network [terminal]?
[terminal]
How does the prompt change?
S1(config)#
end
exit
Ctrl-Z
S1(config)# exit
S1#
Part 3: Set the Clock
Step 1: Use the clock command.
a. Use the clock command to further explore Help and command syntax. Type show clock at the privileged EXEC prompt.
S1# show clock
What information is displayed? What is the year that is displayed?
UTC Mon Mar 1 1993 preceded by the hours, minutes, and seconds since the device started. The year is 1993
S1# clock
What information is displayed?
% Incomplete command
S1# clock ?
What information is displayed?
set Set the time and date
S1# clock set ?
What information is being requested?
hh:mm:ss Current Time
clock set
% Incomplete command
clock set ?
S1# clock set 15:00:00 ?
The output returns a request for more information:
<1-31> Day of the month
MONTH Month of the year
f. Attempt to set the date to 01/31/2035 using the format requested. It may be necessary to request additional help using the context-sensitive Help to complete the process. When finished, issue the show clock command to display the clock setting. The resulting command output should display as:
S1# show clock
*15:0:4.869 UTC Tue Jan 31 2035
g. If you were not successful, try the following command to obtain the output above:
S1# clock set 15:00:00 31 Jan 2035
Step 2: Explore additional command messages.
a. The IOS provides various outputs for incorrect or incomplete commands. Continue to use the clock command to explore additional messages that may be encountered as you learn to use the IOS.
b. Issue the following command and record the messages:
S1# cl
What information was returned?
% Ambiguous command: "cl"
S1# clock
What information was returned?
% Incomplete command.
S1# clock set 25:00:00
What information was returned?
S1#clock set 25:00:00 ^ % Invalid input detected at '^' marker.
S1# clock set 15:00:00 32
What information was returned?
S1#clock set 15:00:00 32 ^ % Invalid input detected at '^' marker.