2.3.7 Packet Tracer – Navigation du IOS (Version de l’instructeur – Packet Tracer optionnel)
Instructor Note: Red font color or green highlights indicate text that appears in the instructor copy only.
Topologie

Objectifs
- Part 1: Basic Connections, Accessing the CLI and Exploring Help
- Part 2: Exploring EXEC Modes
- Part 3: Setting the Clock
Contexte / Scénario
Dans cette activité, vous pratiquerez les compétences nécessaires pour naviguer dans le Cisco IOS, y compris les différents modes d’accès utilisateur, les différents modes de configuration et les commandes courantes que vous utilisez régulièrement. Vous pratiquez également l’accès à l’Aide contextuelle en configurant la commande clock.
Instructions
Partie 1: Connexions de base, accès au CLI et exploration de l’aide
Étape 1: Connecter PC1 à S1 en utilisant un câble de console.
- a. Cliquez sur l’icône Connections (celui qui ressemble à un éclair) dans le coin inférieur gauche de la fenêtre Packet Tracer.
- b. Sélectionnez le câble de console bleu clair en cliquant dessus. Le pointeur de la souris changera en ce qui semble être un connecteur avec un câble qui pend.
- c. Cliquez sur PC1. Une fenêtre affiche une option pour une connexion RS-232.
- d. Faites glisser l’autre extrémité de la connexion de la console vers le commutateur S1 et cliquez sur le commutateur pour afficher la liste des connexions.
- e. Sélectionnez le port Console pour terminer la connexion.
Instructions:
1:

2:

3:

Étape 2: Établir une session de terminal avec S1.
a. Cliquez sur PC1, puis sélectionnez l’onglet Desktop.
b. Cliquez sur l’icône d’application Terminal; vérifiez que les paramètres par défaut de Port Configuration sont corrects.
Quel est le paramètre en bits par seconde?
9600
c. Cliquez sur OK.
d. L’écran qui s’affiche peut avoir plusieurs messages affichés. Quelque part sur l’écran, il devrait y avoir un message Press RETURN to get started!. Appuyez sur ENTER.
Quel est l’invite affichée à l’écran?
S1>
Étape 3: Explorer l’Aide du IOS.
a. Le IOS peut fournir une aide pour les commandes selon le niveau auquel on y accède. L’invite actuellement affichée est appelée User EXEC et le dispositif attend une commande. La forme la plus basique d’aide est de taper un point d’interrogation (?) à l’invite pour afficher une liste de commandes.
S1> ?
Which command begins with the letter ‘C’?
connect
b. À l’invite, tapez t, suivi d’un point d’interrogation (?).
S1> t?
Quelles commandes sont affichées?
telnet terminal traceroute
c. At the prompt, type te, followed by a question mark (?).
S1> te?
Which commands are displayed?
telnet terminal
This type of help is known as context-sensitive Help, providing more information as the commands are expanded.
Partie 2: Exploration des modes EXEC
In Part 2 of this activity, you 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
b. Type en and press the Tab key.
S1> en
What displays after pressing the Tab key?
enable
This is called command completion or tab completion. When part of a command is typed, the Tab key can be used to complete the partial command. If the characters typed are enough to make the command unique, as in the case with the enable command, the remaining portion is displayed.
What would happen if you were to type te and press Tab 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.
c. Enter the enable command and press ENTER.
How does the prompt change?
It changes from S1> to S1#, which indicates privileged EXEC mode.
d. When prompted, type the question mark (?).
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? to list just the commands beginning with ‘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 Tab key to issue the command and press ENTER.
S1# configure
What is the message that is displayed?
Configuring from terminal, memory, or network [terminal]?
b. Press Enter to accept the default parameter that is enclosed in brackets [terminal].
How does the prompt change?
S1(config)#
c. This is called global configuration mode. This mode will be explored further in upcoming activities and labs. For now exit back to Privileged EXEC mode by typing end, exit or Ctrl-Z.
S1(config)# exit S1#
Partie 3: Réglage de l’horloge
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.
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
What information is displayed?
% Incomplete command
c. The % Incomplete command message is returned by the IOS indicating that the clock command needs further 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?
set Set the time and date
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?
hh:mm:ss Current Time
What would have been displayed if only the clock set command had been entered, and no request for help was made by using the question mark?
% Incomplete command
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 further parameters are needed.
S1# clock set 15:00:00 ?
The output returns the 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 as experienced in earlier sections. 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 (tab)
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.