P12 - Rizki Fachrozy - Navigating the IOS


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.

Navigating the IOS 01

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
c. Click OK.
d. The screen that appears may have several messages displayed. Someewhere on the screen there should be a Press RETURN to get started!

Navigating the IOS 02

What is the prompt displayed on the screen? 

Navigating the IOS 03


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 (?) at the prompt to display a list of commands.
S1> ? W
hich command begins with the letter ‘C’?  Connect
b. At the prompt, type t and then a question mark (?). S1> t?
Which commands are displayed?   telnet

Navigating the IOS 04

At the prompt, type te and then a question mark (?). S1> te?

Navigating the IOS 05

Which commands are displayed? Telnet Terminal


Part 2: Explore EXEC Modes
In Part 2 of this activity, you will switch to privileged EXEC mode and issue additional commands.

a. At the prompt, type the question mark (?). S1> ?
What information is displayed that describes the enable command?

Navigating the IOS 06

b. Type en and press the Tab key. S1> en<Tab>
What displays after pressing the Tab key?

Navigating the IOS 07

What would happen if you typed te<Tab> at the prompt? 
karena "te" memiliki lebih dari 1 perintah sehingga huruf "te" tidak memiliki karakter yang cukup untuk membuat perintah unik. dan karakter "te" akan terus ditampilkan sampai user menambahkan karakter tambahan untuk membuat perintah unik.

c. Enter the enable command and press ENTER. How does the prompt change?
"Nama_Host>" S1> berubah menjadi "Nama_Host#" S1# yang menandakan mode EXEC menjadi istimewa, juga bisa disebut mode khusus privasi. (Rizki. 2020. :) ) kalau salah maaf ya ;).

d. When prompted, type the question mark (?). S1# ? Mode hak istimewa

Navigating the IOS 08


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 <Tab>  key to issue the command and press ENTER.   S1# configure
What is the message that is displayed?

Navigating the IOS 09

b. Press Enter to accept the default parameter that is enclosed in brackets [terminal]. How does the prompt change?

Navigating the IOS 10

c. This is called global configuration mode. This mode will be explored further in upcoming activities and labs. For now, return to privileged EXEC mode by typing end, exit, or Ctrl-Z.
S1(config)# exit
S1#

Navigating the IOS 11


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?

Navigating the IOS 12

b. Use the context-sensitive Help and the clock command to set the time on the switch to the current time. Enter the command clock and press ENTER.
S1# clock[Enter]        What information is displayed?

Navigating the IOS 13

c. The “% Incomplete command” message is returned by the IOS. This indicates that the clock command needs more parameters. Any time more information is needed, help can be provided by typing a space after the command and the question mark (?).
S1# clock ?        What information is displayed?

Navigating the IOS 14

d. Set the clock using the clock set command. Proceed through the command one step at a time.
S1# clock set ?        What information is being requested?

Navigating the IOS 15

e. Based on the information requested by issuing the clock set ? command, enter a time of 3:00 p.m. by using the 24-hour format of 15:00:00. Check to see if more parameters are needed.
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

Navigating the IOS 16

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

Navigating the IOS 17

g. If you were not successful, try the following command to obtain the output above:
S1# clock set 15:00:00 31 Jan 2035

Navigating the IOS 18


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? 
S1# clock What information was returned?
S1# clock set 25:00:00 What information was returned?
S1# clock set 15:00:00 32 What information was returned?

Navigating the IOS 19
Navigating the IOS 20
Navigating the IOS 21


0 Comments:

Post a Comment