hello my name is Jason Johnson welcome to the Cisco netacad CCNA introduction
to networks video series this video is going to be packet tracer lab to point
1.4.6 navigating the iOS so we're gonna do
three parts in this lab we're going to establish basic connections access the
command line interface Explorer help part 2 we're going to explore exact
modes and in part 3 we're going to set the clock so the background for this lab
we're going to practice skills necessary for navigating the Cisco IOS such as a
different user access modes various configuration modes common commands and
we're also going to practice acts accessing the context-sensitive help by
configuring the clock command so in step one we're going to connect the PC 1 to s
1 using a console cable so step one a we're going to click the connections
icon and that's the one that looks like a lightning bolt down here on the bottom
left hand side of packet tracer and we're gonna go ahead and click that and
that's gonna give us our different options for different connections and
you can see you can scroll over here I've got it on the side of my screen
here so we can see the instructions and packet tracer we have the console
connection we have copper straight through we have copper crossover one of
the things you want to do with packet tracer is become familiar with which
connections you have access to down here so this one we're going to have the
console so it's asking us to connect the console so we're going to select the
light blue console cable by clicking it and then if we move up here you'll
notice I've got a little bit of an icon there that shows it looks like maybe an
rj11 or an rj45 connector like an end of a cable so what we're gonna do is we're
going to click on PC one to begin with and in the real world you would be
plugging that into the back of the computer we are going to connect that to
the rs-232 now the rs-232 is is a calm pork connection on older
computers most newer computers are going to have a USB connection and you're
going to be using a USB console cable however in this case with packet tracer
we're going to use rs-232 and then we're going to connect to the switch and we're
going to plug that into the console port on the switch if you want to know what
those actually look like I'm gonna pause here for a second I'll put up images of
each one
now what we're gonna do in step two we've connected our table in step two
we're going to establish a terminal session with with switch 1 so we're
going to click on PC 1 and that's going to open up the dialog box here for us
and then we're going to click on desktop then we're going to click on terminal
and this is going to be our terminal software here and the first question
it's asking us here is what is the setting four bits per second and the
answer to that bits per second is 9600 and you do not want to change that we're
going to leave that on 9600 data bits is gonna be 8 none one and none we're gonna
click OK we're going to get the screen for the switch and that's going to come
up this is going to be our switch information we're gonna have press
return to get started we're gonna press return and it's gonna say what is the
prompt displayed on the screen what does the prompt displayed on the screen and
that is going to be the s-1 and greater than sign we're gonna see that right
there that's what's that's you should be your answer for step two D for step
three we're going to explore the iOS help ok for step three we're going to
explore the iOS help the iOS can provide help for commands depending on the level
accessed the prompt come the prompt currently displayed is called user exec
so we're in user exec right now on our switch and the device is waiting for
some type of command to be put in so the most basic form of help is the type of a
question mark and what it's going to give us is a list of commands and what
they do so the first question is there which command begins with the letter C
or capital C we're gonna do case-sensitive here
so which one commit starts with the letter C and that is connect if we look
right here that's the first one that starts with the letter C that's connect
so step 3 be at the prompt type T and then a question mark and what's that
going to give us that's gonna say that we've got three commands telnet terminal
and traceroute telnet terminal and traceroute and in step 3 C at the prompt
type te that's te and did a question mark and then what are we gonna get now
we only have two commands that show up telnet and terminal telnet and terminal
but because we have narrowed it down to only
those commands that begin with T and E so we've eliminated the traceroute
command because traceroute starts with tr so that type of help is known as
context-sensitive help it provides more information as the commands are expanded
part 2 we're going to explore exact modes and we are currently in user exec
mode and now we're going to move into privileged exec mode what information is
displayed that describes the enable command so if we look down here for the
naval command it says that turn turn on privilege to commands so what we're
going to type in is en and with Cisco routers and Cisco switches are with the
iOS you only need to type in enough information so that it is not ambiguous
or in other words that the operating system can figure out what you're trying
to type so if we just typed in C at this point we only need to connect because
there's only one C command if we try to type in just e there's two e commands
there's an enable and there's an exit so by typing in E in we only we get a
unique command which is enable and so we only have to type in en so we're going
to type now there's two different ways to do this or there's a few different
ways to do this we can just type E and and press enter and you're going to get
used to doing that working with iOS but if we press the tab key that's going to
finish out the command for us and the tab key is what's helpful for when we're
typing in commands and we want to finish them out and we have to type something
else at the end of it that the tab key is helpful for us on that so we typed
Ian and tab and what displays after pressing the tab key and that's the
award enable so that's called the command completion or tab completion so
when part of the command is type 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 of an able or again the remaining portion of the command is
displayed so what would happen if you type te in tab so what happens if we
type te in tab we don't get anything do we because we have two different
commands they're both telnet and terminal so it is not a unique enough
command but if we type te elen tab we would get telnet so the answer to the
question on step one B is there's more than one command
begins with the letters te because we have both telnet and terminal so it
doesn't provide enough information for the operating system so the characters
will continue to display prompting user for additional characters now one step
one see we need to enter the enable command so we're gonna back off there
we're gonna in them enter the enable command and I'm just gonna type E and
and press Enter now the question here is on step C enter
the enable command and press Enter how does the prompt change if you'll notice
there it goes from s1 greater than sign to s1 pound sign or as some of you know
that's the hashtag for some of the younger users that's known as a pound
sign but now it's also known as a hashtag so it changed from a greater
than sign to a hashtag so when prompted type the question mark and now we get a
whole different set of commands so if we press Enter key we're gonna be able to
go one line at a time and if I press the spacebar it's going to display
everything that's there okay on step one d when prompted type the question mark
well so one command starts with the letter C and user exec mode how many
commands are displayed now that a privileged exec mode is active so if you
just type C and your question mark you're gonna show five clear o'clock
configure connect and copy so the answer to that question is five now moving on a
step to inter global configuration mode so when we're in privileged exec mode
one of the commands starting with the letter C is configure so type either the
full command or enough of the command to make it unique so if we type if we look
at our C commands here we have Co in we have connect and we have configure that
start with Co in so if we look at our two unique so Co in here we cannot touch
type in Co in because those are both start with Co in but we can type conf so
if we type conf we should be able to get in so on step two a says type type conf
and type tab and we're gonna get the word configure so what is the message
that that is displayed and if we type configure space question mark we get to
see the commands that are underneath configure there so step two beat press
ENTER to accept the default parameters enclosed in brackets for terminal so how
does the prompt change so we're going to type configure
we're gonna press ENTER and it's gonna give us a prompt or a response here and
it's gonna say configuring from terminal memory or network so it's asking us a
question here so it's saying do we need to configure from terminal memory or
network and we're gonna do from terminal and whatever is in brackets here is
going to be our default we don't need to type anything if we want what's in the
brackets so we're just gonna press ENTER and that's gonna that's gonna choose the
terminal option this mode will be explored in other activities later on or
other labs and so for now we're going to return to the privileged exec mode by
typing in the exit or control-z any one of those work but currently
right now you're gonna see how does the prop change we're showing s1 and D to
highlight their config pound sign so by looking at our prompt we can tell where
we are in the operating system so we're just going to type exit here and that's
going to take us back out to exec mode and we should be at the s-1 prompt sign
now for part 3 we're going to set the clock on this switch so using the clock
command we're gonna explore the help in the command syntax so type show clock at
the privileged exec prompt so we're gonna type show and using our newly
learned techniques here so we're gonna type SH tab and since show was a unique
so I can I don't have to type the whole thing I can just do set SH tab and I can
type CL for clock now I'm gonna show you another trick here too that's not on
this lab if I just type SH space CL since it's unique I don't have to type
out show I can just type SH space CL press ENTER and I get into my clock come
in okay for part 3 set the clock we've done step one use the clock command and
we've done show clock and for step B we're gonna use the context-sensitive
help and we're gonna type clock and we're gonna type enter so we're gonna
type clock and we're gonna press ENTER and what command shows up or what what
response did we get and that's the question to step be there and that's %
incomplete command in other words the % in complete command message is returned
by the iOS that indicates that the clock command needs more parameters it doesn't
have enough information so any any time more information is needed help can be
provided by typing a space after the command and the question mark
so we're gonna type in clock and the question mark now again we could just
type in CLO and question mark and it still works because CLO is unique enough
so we hit when we type CLO question mark we get set set the time and date for
step D we're gonna set the clock using a clock set command and we're gonna
proceed through the command one step at a time so we're gonna type in clock now
we could just type in CLO but I'm gonna type in just clock so it's following
along with the lab we're gonna type set space question mark and it's gonna say
what information is being requested so the information that's being requested
is H H : mm : s s and in space and current time
so what would happen or what would have been displayed if only the clock set
command had been entered so let's just so let's just do that let's so let's
just do clock set and see what happens so we're just gonna type clock set and
we're gonna get the incomplete command on there so for step e based on the
information requested by issuing the clock set command so we're gonna say
clock set question mark so based on that we need hours : minutes : seconds space
current time is our current time so we're going to enter a time of 3 p.m. by
using the 24-hour format which is 1500 there's you say 12 you know 13 14 1500
we're gonna check to see if the more parameters are needed so we're gonna
type in clock set space 15 colon zero zero colon zero zero space question mark
and it does require more information it's saying we need the day of the month
1 through 31 and the month of the year for step F we're going to attempt to set
the date to 130 120 35 using the format requested so it may be necessary to
request additional help when we're finished we're gonna issue the show
clock command to display the clock setting the resulting command output
should be this right here and if you're not sure how to do it just follow this
step right here we're going to type in clock set 1500 : 0 0 : 0 0 30 one space
January 20 35 so we're just going to type that in here we're gonna type in
clock and I'm just gonna type in clo because that's see if I type in CL I've
got 2cl commands but if i type clo that's
unique enough and then I'm going to type set 15 colon zero zero colon zero zero
space three one for our month or excuse me for our day of the month space
January or JN for our month space twenty thirty five and we're gonna press enter
now you don't see anything happen there but if we type our show clock command
we're gonna get this right here it's gonna show us our clock which should
match this example right here now for step two we're going to explore
additional command messages the iOS provides various outputs for incorrect
or incomplete commands so we're going to continue to use the clock command to
explore additional messages that you might encounter as you're learning to
use the iOS so we are still at our privileged exec mode here so we're going
to issue the command and record the messages so let's type in CL and press
enter and what do we get you got % ambiguous command : CL
ambiguous command CL that just means that CL was not unique enough so now
we're gonna type in clock in command and we got the in complete command % in
complete command because we didn't finish out it needs more information now
we're going to type in clock set 25 colon zero zero colon zero zero and what
do we get we're going to get invalid input detected at this marker right here
and it's it's pretty good at telling us exactly where it messed up so right here
or at least where it's first started to go where it first started to mess up or
could not figure out what you wanted to do so it's at the two right here and the
reason it is is because there's not a 2500 and there's not a 2500 in the clock
and we only have 24 hours in a day so if the 2 here it's it's saying it's it's
invalid input there so on the next one here we're going to type in clock set 15
colon zero zero colon zero zero space 32 and we're also going to get here an
invalid input detected at the marker because we don't have 32 days of the
month we only have 31 and so it's going to give us
an invalid input detected at that marker okay well this has been the packet
tracer lab two point one point four point six my name is Jason Johnson I
hope this was helpful for you if you have any questions on the material
presented in this lab then just leave a comment below and I'll get back with you
as quick as possible thank you and I hope you have a great day