Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
1
00:00:00,886 --> 00:00:03,156
>> Working with the Cisco IOS.
2
00:00:03,816 --> 00:00:05,926
Can I side tangent?
3
00:00:05,926 --> 00:00:08,106
[laughs] I know you're like,
you can't side tangent
4
00:00:08,106 --> 00:00:09,716
until you have something to side tangent from.
5
00:00:09,716 --> 00:00:10,746
You haven't even started.
6
00:00:10,746 --> 00:00:16,656
I know, I know but I just have this thought
and I-- the topic is kind of around the--
7
00:00:16,656 --> 00:00:20,336
you know I always get the question, people are
saying, well, how do I get into the Cisco career
8
00:00:20,336 --> 00:00:24,086
or how do I open doors or how do I-- you
know, how do I be successful in this career?
9
00:00:24,086 --> 00:00:29,156
So I have this thought in my-- I think
I've got an answer to that in a nutshell.
10
00:00:29,326 --> 00:00:34,656
So-- so today is November 27th, 2012.
11
00:00:35,166 --> 00:00:37,606
It is kind of the Christmas season in Arizona.
12
00:00:37,606 --> 00:00:41,646
It's, you know, 63 degrees outside,
freezing temperature and I'm sick.
13
00:00:41,936 --> 00:00:43,766
It always happens, and nothing like flu.
14
00:00:43,766 --> 00:00:48,976
It's just the stuffy head and your nose,
congestion, scratchy throat, you know, coughing.
15
00:00:49,336 --> 00:00:52,286
You know I'm like a NyQuil
commercial waiting to happen.
16
00:00:52,526 --> 00:00:57,366
And so-- and you know this morning I wake
up I'm like-- I'm not recording, no way.
17
00:00:57,366 --> 00:00:58,566
You know I'm not feeling well.
18
00:00:58,566 --> 00:01:00,966
I'm just going to make some
slides, you know, create--
19
00:01:00,966 --> 00:01:03,426
maybe create some labs, going to
do some-- some flow of the course.
20
00:01:03,426 --> 00:01:09,236
So about 15 minutes ago, I'm walking out in the
kitchen making some tea and my wife goes "Wow,
21
00:01:09,236 --> 00:01:11,246
you must be rough, you know,
you don't even like tea,"
22
00:01:11,336 --> 00:01:13,196
and then I'm like, "I know,
I'm going to record."
23
00:01:13,476 --> 00:01:14,606
What? What?
24
00:01:14,716 --> 00:01:17,556
What? I thought you're not-- and I know, I know.
25
00:01:17,556 --> 00:01:21,996
I just finished the slide for working with the
Cisco IOS and I'm so excited to talk about it,
26
00:01:21,996 --> 00:01:24,166
I can't even focus on what's coming next.
27
00:01:24,166 --> 00:01:27,586
I can't-- and you know like I'm looking at the
blank white screen and I'm like I can't even--
28
00:01:27,856 --> 00:01:31,636
I can't even do stuff on it because I'm
thinking so much about things I want
29
00:01:31,636 --> 00:01:33,676
to say and this day I got to record.
30
00:01:33,676 --> 00:01:34,886
So now here I am.
31
00:01:34,966 --> 00:01:43,146
I got my cup of tea, it's hot,
and it's helping me record this
32
00:01:43,146 --> 00:01:46,216
and so you're going okay, what's your point?
33
00:01:46,216 --> 00:01:48,736
You know we've established Jeremy's
kind of odd, a little freaky.
34
00:01:49,076 --> 00:01:50,506
What's the point?
35
00:01:50,506 --> 00:01:52,176
Okay, so here's my point.
36
00:01:52,406 --> 00:01:57,266
This is now 15 years of training for me
which is weird to be able to say that
37
00:01:57,266 --> 00:01:59,416
and I've gone through a lot of technology.
38
00:01:59,416 --> 00:02:00,476
I didn't start in Cisco.
39
00:02:00,476 --> 00:02:04,286
I started in Microsoft and Novell and then
actually even before that, in college,
40
00:02:04,526 --> 00:02:09,196
computer programming, computer science
was my degree and I hated them.
41
00:02:09,316 --> 00:02:12,736
You know, I hated computer
programming when I was in college.
42
00:02:12,736 --> 00:02:17,286
I was like-- so much so that I got out of
college and I went to Pizza Hut because I was
43
00:02:17,286 --> 00:02:21,226
so convinced that I didn't like computers
that I was like, "I'm going to work
44
00:02:21,226 --> 00:02:25,386
in the pizza industry and further myself there,"
and then I realized I didn't like pizza either.
45
00:02:25,386 --> 00:02:31,696
So nonetheless every technology that I've
run into always when I start into it,
46
00:02:31,696 --> 00:02:36,336
I'm frustrated, I don't get it, I read it
and I'm like I don't get it and I listen
47
00:02:36,336 --> 00:02:38,586
to it again, I'm like I still don't get it.
48
00:02:38,796 --> 00:02:42,266
You know and I reach these points from the--
you reach these decision points where like okay,
49
00:02:42,876 --> 00:02:47,236
I either push through this frustration until
I really get it and maybe it's listening
50
00:02:47,236 --> 00:02:50,326
to a nugget again, reading it from a
different book, Googling a different source,
51
00:02:50,326 --> 00:02:52,436
posting to a forum and helping somebody unders--
52
00:02:52,436 --> 00:02:55,566
you know, explain it to you or
talking to a friend, whatever.
53
00:02:55,926 --> 00:02:59,266
You reach a point where you either say, "I'm
going to push through until I get this,"
54
00:02:59,416 --> 00:03:02,486
or I'm just going to be like, "Ah,
whatever, I'll move on to the next thing."
55
00:03:03,386 --> 00:03:09,026
The more of those, "ah, whatever" moments you
have, the less passion you will have towards
56
00:03:09,026 --> 00:03:12,906
that technology, you might say-- you
might [inaudible] why do you care?
57
00:03:13,016 --> 00:03:16,976
Well, because the more passion you develop
for something, the better and better
58
00:03:16,976 --> 00:03:19,456
and better you're going to get
at it to the point to, you know,
59
00:03:19,456 --> 00:03:20,846
now I'm like, "Well, how do I get a career?"
60
00:03:21,096 --> 00:03:23,876
To the point where somebody
will be crazy not to hire you.
61
00:03:23,876 --> 00:03:26,046
I mean I've-- I now own a company.
62
00:03:26,046 --> 00:03:29,736
I've interviewed people to where, you know,
that some people will come in and they're like,
63
00:03:29,736 --> 00:03:32,506
"Yeah, I've gotten some experience
in this field."
64
00:03:32,926 --> 00:03:36,396
I'm like so, you know, describe a DHCP server
and they'll-- you know textbook and well,
65
00:03:36,396 --> 00:03:41,276
a DHCP server is a server that hands
out IP addresses to clients and--
66
00:03:41,396 --> 00:03:44,886
you know and then I'm like, okay, you got
the right answer but where are you at?
67
00:03:44,886 --> 00:03:48,026
[laughs] You know, I'm like you are--
like are you excited to work here?
68
00:03:48,186 --> 00:03:50,306
Are you-- are you excited about this technology?
69
00:03:50,306 --> 00:03:54,476
And then, you know talk to another guy
who's like, "Oh man, oh man, I just--
70
00:03:54,476 --> 00:03:59,326
I just finished my course at, you know, the
community college or whatever and then like--
71
00:03:59,326 --> 00:04:02,876
and oh man, and I think I-- you
know, I haven't even done this
72
00:04:02,876 --> 00:04:05,266
yet but I really have a good idea.
73
00:04:05,266 --> 00:04:08,046
You know based on what you've told
me that we can design it this way."
74
00:04:08,046 --> 00:04:11,866
And you know I'm like, "Bro, you
are on board," because I know--
75
00:04:11,866 --> 00:04:17,156
I know, you know, one person is going to be
looking at, "Okay, well, it's about 5 o'clock
76
00:04:17,206 --> 00:04:19,236
in the afternoon, I'm done, you know.
77
00:04:19,236 --> 00:04:20,836
All right, see you, see you for today."
78
00:04:20,866 --> 00:04:24,406
And then I've got another guy who's like,
"Man, it's 5 o'clock, I'm going home,
79
00:04:24,406 --> 00:04:28,956
spend a little time with my family and then 10
o'clock I'm waking back up or I'm jumping back
80
00:04:28,956 --> 00:04:31,956
in and I'm going to, you know, finish
this network diagram or whatever."
81
00:04:31,956 --> 00:04:35,016
So when it's like, "Well, how
do I open doors in Cisco?"
82
00:04:35,016 --> 00:04:37,746
I know it's kind of like
well, it's the generic answer
83
00:04:37,746 --> 00:04:43,646
but there's no replacing just a genuine
goodness, you know, to where you're just good
84
00:04:43,646 --> 00:04:46,696
at the technology and you're
really excited about it
85
00:04:46,696 --> 00:04:49,436
and you can apply that principle to anything.
86
00:04:49,436 --> 00:04:53,196
You know, I'm talking technology now but,
you know, take your marriage, you know.
87
00:04:53,196 --> 00:04:56,316
You know, I am not wife certified
but if I spend--
88
00:04:56,316 --> 00:05:00,866
the more time I spend trying to figure out my
wife, the better and better the marriage get
89
00:05:00,866 --> 00:05:05,276
or your kids or, you know, fill in, you
know, life circumstance and the more--
90
00:05:05,616 --> 00:05:08,776
you know every life circumstance is
frustrating and you have that decision.
91
00:05:08,776 --> 00:05:11,986
Do I walk away and just be like,
"I don't get it," you know.
92
00:05:11,986 --> 00:05:15,246
Or do I really push through and
become a master of that technology?
93
00:05:15,246 --> 00:05:19,026
Anyway, that's how you're
successful in this career.
94
00:05:19,026 --> 00:05:22,626
I know it's not a-- well, you know, call
this guy and he'll get you in but that will--
95
00:05:22,716 --> 00:05:24,606
I guarantee you, that will open doors.
96
00:05:24,756 --> 00:05:31,426
So, working with the Cisco IOS, this
is-- and you know, what a great intro.
97
00:05:31,426 --> 00:05:33,976
I'm almost, you know, I'm so excited.
98
00:05:33,976 --> 00:05:34,986
I'm kind of like shaking.
99
00:05:34,986 --> 00:05:38,256
I'm like how do I even get
into the IOS in transition?
100
00:05:38,516 --> 00:05:42,546
What a good intro into the foundation
software of everything Cisco.
101
00:05:43,216 --> 00:05:46,866
So imagine for a moment that you
had never seen Microsoft Windows.
102
00:05:47,216 --> 00:05:51,026
You know this-- that we would have to have an
introduction saying, okay, well this is Windows,
103
00:05:51,026 --> 00:05:54,316
this is a task bar, this is
how you minimize and maximize
104
00:05:54,316 --> 00:05:56,486
and open a program, all those kind of things.
105
00:05:56,656 --> 00:06:01,816
This is what that is for Cisco, you know,
essentially IOS is the Cisco operating system.
106
00:06:01,816 --> 00:06:03,716
So we're going to go through
and get familiar with it.
107
00:06:04,886 --> 00:06:08,286
Well, let's start off with
defining the Cisco IOS.
108
00:06:08,836 --> 00:06:11,686
IOS stands for Internetwork Operating System.
109
00:06:12,176 --> 00:06:16,296
It is the operating system that has
become the standard in the world today.
110
00:06:16,296 --> 00:06:21,516
Now, you might look at for instance let's
take Windows and then let's take Linux
111
00:06:21,516 --> 00:06:28,756
or McIntosh OS X. So Windows right now, you
know I'm talking end of 2012, things may change
112
00:06:29,066 --> 00:06:34,126
but Windows has a 93 percent market
share in businesses in America.
113
00:06:34,426 --> 00:06:38,586
You know now-- now Apple and McIntosh
is kind of creating this ripple effect
114
00:06:38,586 --> 00:06:41,506
to where they're like, "Oh, you're-- you've
got to get on OS X," and you're like, "Oh,
115
00:06:41,506 --> 00:06:45,656
but the fact remains OS X
today still only has a five
116
00:06:45,656 --> 00:06:48,726
to six percent market share
in businesses in America."
117
00:06:48,726 --> 00:06:52,016
Why? Well, because McIntosh,
while amazingly cool,
118
00:06:52,016 --> 00:06:55,526
I love the McIntosh operating
system, nobody knows it.
119
00:06:55,796 --> 00:07:00,166
It's kind of like you are really hitting a
learning curve if you are familiar with Windows
120
00:07:00,166 --> 00:07:03,556
and then you come over to McIntosh and you're
like, you know, "Where is my IP config?"
121
00:07:03,606 --> 00:07:06,236
Well, I guess I'm talking techie,
you know, like "Where is my programs?
122
00:07:06,236 --> 00:07:07,126
How do I get there?
123
00:07:07,126 --> 00:07:10,656
How come when I save this file, it's not
compatible when I e-mail it to that guy?"
124
00:07:10,656 --> 00:07:15,886
I mean like all of those things hit people
and frustration escalates really fast.
125
00:07:15,886 --> 00:07:22,616
Now Cisco has created the IOS which is a command
line operating system that is very well known
126
00:07:22,616 --> 00:07:26,976
in the industry as in if you learn-- you
know there's a lot of vendors out there.
127
00:07:26,976 --> 00:07:34,256
Let me-- either Cisco, there's-- let's just say
Foundry which actually is now bought by Brocade.
128
00:07:34,256 --> 00:07:37,546
There is-- well, I'm just drawing
out some vendors, 3Com, HP.
129
00:07:37,546 --> 00:07:39,816
I think those two merged and whatever.
130
00:07:39,816 --> 00:07:44,926
The politics of companies beside there's a
lot of people who create networking stuff.
131
00:07:44,926 --> 00:07:48,986
I'll even throw Juniper in-- into that mix.
132
00:07:48,986 --> 00:07:51,666
Now, this is the only nugget where we
will mention these kinds of companies
133
00:07:51,666 --> 00:07:53,886
and then you are banned from
mentioning them in the future.
134
00:07:54,216 --> 00:07:57,006
But there're all kinds of
companies out there and all of them
135
00:07:57,006 --> 00:08:01,106
when they create their operating system
for interfacing with their device,
136
00:08:01,106 --> 00:08:06,826
you will find for the most part, it
is very similar to the Cisco IOS.
137
00:08:07,086 --> 00:08:12,916
Why? Well, in the same sense that Linux,
you know or McIntosh, you know people know
138
00:08:12,916 --> 00:08:17,736
if they just go way off and start creating
their own world that people are going to walk in
139
00:08:17,736 --> 00:08:21,876
and it's too radical of a change to where
no matter how cool the operating system is
140
00:08:21,876 --> 00:08:24,866
or how cool the feature is, people
are going to immediately like, "Whoa,
141
00:08:24,866 --> 00:08:27,496
I'm not going to go there
unless there's a very"--
142
00:08:27,496 --> 00:08:33,426
I mean unless you create a feature that is so
cool and so irreplicable that people are like--
143
00:08:33,426 --> 00:08:35,726
they're coming to you because of that feature.
144
00:08:35,726 --> 00:08:38,346
I mean people aren't going to go there.
145
00:08:38,346 --> 00:08:44,776
So learning how to work with the IOS is huge,
not only for working with Cisco but for working
146
00:08:44,776 --> 00:08:47,446
with any networking equipments in the industry.
147
00:08:47,666 --> 00:08:49,936
So this software, and that's the look and feel.
148
00:08:49,936 --> 00:08:53,746
You kind of see a view of it there that's
kind of-- that's what the IOS looks like.
149
00:08:53,746 --> 00:08:56,826
It's consistent through nearly
all Cisco devices.
150
00:08:56,826 --> 00:08:59,436
Now I say nearly all because
Cisco has other stuff
151
00:08:59,436 --> 00:09:03,216
like for instance Cisco ASA
Firewalls would be one.
152
00:09:03,486 --> 00:09:07,406
They cannot use the IOS on there 'cause
that would be a security vulnerability.
153
00:09:07,616 --> 00:09:11,436
If they found a security hole in the IOS,
then it would also be true of their firewall.
154
00:09:11,436 --> 00:09:15,186
So they created their own
operating system through the ASA
155
00:09:15,186 --> 00:09:21,006
which you will find them described as IOS like
to where it's like the IOS, it feels like it
156
00:09:21,006 --> 00:09:22,716
but there're some differences that are in there.
157
00:09:22,716 --> 00:09:25,186
Same thing, you know, as you
get into Nexus equipment.
158
00:09:25,186 --> 00:09:29,516
I mean there're different families but they
all kind of have that same look and feel.
159
00:09:29,736 --> 00:09:34,086
Cisco's goal is that you learn it
once and then use it many times.
160
00:09:34,086 --> 00:09:39,536
So Cisco knows that the hardware that
you buy can be replicated by anyone.
161
00:09:39,746 --> 00:09:43,856
Everybody buys the same chips, same-- now
of course you could say well, you know,
162
00:09:43,856 --> 00:09:49,506
there's certain vendors that say well, okay, but
hardware wise, people can all buy the same stuff
163
00:09:49,506 --> 00:09:50,906
within a couple of years of each other.
164
00:09:50,906 --> 00:09:54,516
So Cisco really differentiates
itself through its software
165
00:09:54,616 --> 00:09:59,216
and Cisco will describe themselves much
counter and counter to most people's belief,
166
00:09:59,216 --> 00:10:00,826
they will say, "We are a software company.
167
00:10:01,146 --> 00:10:06,556
We are not-- our primary focus is not producing
hardware 'cause hardware can be produced
168
00:10:06,556 --> 00:10:06,926
by anyone."
169
00:10:07,496 --> 00:10:12,546
Now the IOS and learning the command line
is more powerful than any graphic interface,
170
00:10:12,546 --> 00:10:16,996
which is tough when you're first getting
started 'cause it's a learning curve especially
171
00:10:16,996 --> 00:10:21,666
if you come from a graphic interface background
and you're not used to typing in commands
172
00:10:21,666 --> 00:10:23,026
to do this kind of configuration.
173
00:10:23,026 --> 00:10:27,976
It's tough to move away from that world but
once you learn it, you're kind of like, wow.
174
00:10:28,166 --> 00:10:33,066
You know, you reach the point where-- even if
you have a point and click GUI for instance,
175
00:10:33,066 --> 00:10:38,846
there are things now-- Cisco has
the SDM GUI to manage devices.
176
00:10:38,846 --> 00:10:41,846
That can accomplish almost--
well, most major things.
177
00:10:41,846 --> 00:10:46,626
But I just don't use it at all
not because it's a bad interface
178
00:10:46,626 --> 00:10:50,926
but because I find myself facing a learning
curve again to where I'm like, okay,
179
00:10:51,146 --> 00:10:55,256
I know if I'm in the command line I would type
config T, interface that, do this, do this,
180
00:10:55,256 --> 00:10:59,106
do this and I'm done, whereas here
I'm going, "Where is that again?
181
00:10:59,106 --> 00:11:00,246
You know, is it in this Window?
182
00:11:00,246 --> 00:11:01,116
No, no, okay."
183
00:11:01,116 --> 00:11:04,756
So you know, people will obviously
gravitate to whatever they know.
184
00:11:05,706 --> 00:11:11,536
To learn the Cisco IOS, there's no replacing
seeing it and doing it and actually interacting
185
00:11:11,536 --> 00:11:13,416
with the operating system itself.
186
00:11:13,416 --> 00:11:17,116
So that's what we're going to do for the rest
of the nugget, it's just kind of work in there.
187
00:11:17,116 --> 00:11:18,766
So this is a review slide.
188
00:11:18,766 --> 00:11:21,876
This is what the whole last nugget was
about, so I won't go through it all again
189
00:11:21,876 --> 00:11:23,856
but in essence this is what I've done.
190
00:11:23,856 --> 00:11:28,316
Grabbed the console cable, plugged it into
the serial port of my PC, grabbed that end,
191
00:11:28,316 --> 00:11:32,836
connect it to the console port of the
switch, booted up my terminal program
192
00:11:32,836 --> 00:11:38,246
which I'm actually using Tera Term, but any one
of those will do, and then set the serial port
193
00:11:38,246 --> 00:11:39,726
to the settings and now we're good.
194
00:11:39,726 --> 00:11:43,096
Now I'm actually using Tera Term,
which is my nice black window.
195
00:11:43,096 --> 00:11:46,456
And I reach down here and
plug in-- plug in the switch.
196
00:11:47,226 --> 00:11:51,336
Couple items of notes, switches, while
we're waiting for this guy to boot,
197
00:11:51,336 --> 00:11:54,086
switches don't usually have power switches.
198
00:11:54,226 --> 00:11:58,716
Essentially if you plug it in, it is on and
working, whereas routers on the other hand,
199
00:11:59,086 --> 00:12:01,966
usually do have power switches so you
can turn them on and off and that kind
200
00:12:01,966 --> 00:12:03,406
of thing without disconnecting the power.
201
00:12:03,966 --> 00:12:12,486
Also, I'm using right now a Cisco Catalyst
3550 Switch which is a phenomenal lab switch.
202
00:12:12,746 --> 00:12:14,776
You can get them now fairly inexpensive
203
00:12:14,776 --> 00:12:18,826
because this switches a layer
two and a layer three switch.
204
00:12:18,886 --> 00:12:21,696
Now, we'll talk about layer three
switching a little bit later.
205
00:12:21,776 --> 00:12:25,806
It's actually not officially part of this series
but it's so valuable that I want to bring it
206
00:12:25,806 --> 00:12:29,496
in 'cause you're going to
run into it everywhere.
207
00:12:29,496 --> 00:12:32,896
And so, it can do routing
and switching together.
208
00:12:32,896 --> 00:12:34,556
So, what a great device.
209
00:12:34,556 --> 00:12:39,016
So right now, what's happening is let's just
think of this as its power on self test,
210
00:12:39,016 --> 00:12:41,026
you know, just like your computer
where it's like checking memory.
211
00:12:41,426 --> 00:12:45,186
We saw this in the last nugget, it's
taking that IOS, that's the image,
212
00:12:45,186 --> 00:12:49,616
there is your file name right there
and it's copying it over to memory.
213
00:12:49,616 --> 00:12:54,406
It's decompressing that guy from flash into RAM.
214
00:12:55,566 --> 00:12:59,356
Now once that process completes,
then it's going to go through
215
00:12:59,356 --> 00:13:00,966
and actually start running the IOS.
216
00:13:00,966 --> 00:13:04,306
It's going to look for any
configuration file that it has.
217
00:13:04,306 --> 00:13:07,576
If-- you know, to see if this device
has been previously configured,
218
00:13:07,816 --> 00:13:09,346
and if so we'll apply that.
219
00:13:09,676 --> 00:13:12,076
But eventually it's going to end at either--
220
00:13:12,256 --> 00:13:17,546
either number one, a prompt where you can just
start typing in commands or it's going to end
221
00:13:17,546 --> 00:13:23,326
in a question that will say, "Do you
want to enter initial config dialogue?"
222
00:13:23,986 --> 00:13:30,296
That question, first off I will say
means you have no configuration,
223
00:13:30,456 --> 00:13:36,806
like this device has been erased or it's brand
new and it's never been configured before.
224
00:13:36,926 --> 00:13:43,156
Second thing I'll say about that is when
you see that question, always answer no.
225
00:13:44,356 --> 00:13:47,016
Now a little side note as this comes up.
226
00:13:47,016 --> 00:13:52,376
This is the model number of the switch I
have, and it's actually a 24-port power, PWR.
227
00:13:52,376 --> 00:13:59,046
That means it's inline power, as in if I
plug-in IP phones or wireless access points
228
00:13:59,046 --> 00:14:02,556
or video camera, they can
actually get their power,
229
00:14:02,556 --> 00:14:05,766
their electricity from the
Ethernet cable on this device.
230
00:14:05,766 --> 00:14:06,686
It's really, really cool.
231
00:14:06,736 --> 00:14:09,786
Now, here's-- this is great.
232
00:14:09,786 --> 00:14:13,286
So here's the question, I said you
always want answer no to that question
233
00:14:13,506 --> 00:14:18,136
and all of a sudden you see [inaudible]
like whoa, what just happened there?
234
00:14:18,136 --> 00:14:22,836
What those are are status messages or
some people will call them syslog messages
235
00:14:22,836 --> 00:14:24,976
that are coming through letting you know, "Hey,
236
00:14:25,056 --> 00:14:27,896
these are things that are happening
in your software right now."
237
00:14:27,896 --> 00:14:29,156
It's kind of like a log file.
238
00:14:29,436 --> 00:14:34,146
Now, if you're not used to those, well, I'll say
get used to those, they'll happen all the time,
239
00:14:34,386 --> 00:14:36,216
but initially they may frustrate you.
240
00:14:36,216 --> 00:14:38,786
They may be like well, you know,
I'm supposed to be typing up here
241
00:14:38,786 --> 00:14:40,916
but my cursor is blinking
right here, what do I do?
242
00:14:41,266 --> 00:14:44,406
Well, usually if you hit the tab
key, now it's not going to work
243
00:14:44,406 --> 00:14:47,466
at this point 'cause it's asking me
a question, but hitting the tab key
244
00:14:47,466 --> 00:14:51,326
on the keyboard will repaint
whatever you were typing.
245
00:14:51,326 --> 00:14:55,506
So if this cut what you were typing in half,
hitting the tab key will fix that for you,
246
00:14:55,506 --> 00:14:56,606
and I'll explain that more later.
247
00:14:56,606 --> 00:14:59,866
But for now I'm just going to hit the enter
key 'cause I know it's going to keep asking me
248
00:14:59,866 --> 00:15:02,596
that question until I either say yes or no.
249
00:15:02,946 --> 00:15:06,946
So I'll type in no, always
answer no in that case.
250
00:15:07,156 --> 00:15:10,446
No. You might be thinking, what is that?
251
00:15:10,446 --> 00:15:11,976
What if I would answer yes?
252
00:15:11,976 --> 00:15:17,106
Well, what that is, is kind of an initial setup
wizard that Cisco has created from moons ago.
253
00:15:17,106 --> 00:15:20,206
I mean it's going to walk you
through configuring protocols
254
00:15:20,206 --> 00:15:23,886
that just don't exist anymore, things
that we just don't use anymore.
255
00:15:24,046 --> 00:15:28,136
It will walk you through
configuring like IPX/XPX, AppleTalk,
256
00:15:28,136 --> 00:15:30,786
I mean things that just aren't
normal for us to use.
257
00:15:32,076 --> 00:15:35,796
Instead, we want to configure
the switch or router, you know,
258
00:15:35,796 --> 00:15:39,296
'cause they both use these same
commands and same configuration.
259
00:15:39,656 --> 00:15:44,606
Configure the switch or the router manually
using the different modes that are there,
260
00:15:44,766 --> 00:15:47,616
and that's the big-- the big
topics that I want to talk about.
261
00:15:47,616 --> 00:15:50,726
So, these are the modes of
configuration of Cisco IOS.
262
00:15:50,726 --> 00:15:55,116
But before we even dive into that, let
me go back to the-- back to the switch.
263
00:15:55,906 --> 00:15:56,806
My window closed.
264
00:15:56,806 --> 00:16:00,776
So I'm back in the switch so this is, you
know, after I've hit enter a couple of times,
265
00:16:00,776 --> 00:16:04,076
it comes up to this prompt
which is considered user mode.
266
00:16:05,256 --> 00:16:07,996
In user mode, you can do some limited commands.
267
00:16:07,996 --> 00:16:12,416
You can work with the switch, you know,
and view some of the configuration
268
00:16:12,416 --> 00:16:14,356
but you can't even view all of it, it's just--
269
00:16:14,356 --> 00:16:19,936
it's a very limited mode for just basic
reconnaissance like let's see what's going on.
270
00:16:19,936 --> 00:16:23,516
So before we start navigating to the
different modes, let's get familiar, okay.
271
00:16:23,856 --> 00:16:25,826
I'm sitting here, what do I type?
272
00:16:26,176 --> 00:16:27,106
How do I type it?
273
00:16:27,616 --> 00:16:31,156
Well that-- that leads me to
I would say the biggest thing
274
00:16:31,156 --> 00:16:34,996
that made Cisco famous is their help system.
275
00:16:35,296 --> 00:16:41,036
At any point, no matter where you are in the
configuration, you can hit the question mark
276
00:16:41,036 --> 00:16:44,746
on the keyboard and it will give you a list
of the commands that you're able to type in.
277
00:16:44,866 --> 00:16:48,726
So I'll go, okay, well I'm
in user mode, what do I do?
278
00:16:48,796 --> 00:16:51,736
I hit question mark, I'm like, oh, well
these are all things that I'm able to do.
279
00:16:51,736 --> 00:16:53,566
Oh, look, I can ping something.
280
00:16:53,566 --> 00:16:58,756
I can make sure that it's online
or I can-- I can show something.
281
00:16:58,756 --> 00:17:05,816
I can view some kind of configuration from this
device or I can SSH-- start an SSH session to--
282
00:17:05,816 --> 00:17:07,746
I mean these are all things
we haven't talked about yet
283
00:17:07,746 --> 00:17:09,736
but these are the commands
that you're able to do.
284
00:17:09,736 --> 00:17:12,666
Now you might say, okay, well-- okay,
maybe I want to ping something so I type
285
00:17:12,666 --> 00:17:15,836
in ping and I go, okay, is that it?
286
00:17:16,596 --> 00:17:21,046
Well, at anytime you can do ping and
then do, you know, space question mark
287
00:17:21,166 --> 00:17:24,476
and it will give you the
commands that relate to ping.
288
00:17:24,806 --> 00:17:27,946
So let's say, okay, well you
can either type in a word.
289
00:17:27,946 --> 00:17:33,246
Now anytime and here's-- here's a good rule for
you, anytime you see something in all capitals
290
00:17:33,516 --> 00:17:37,416
in the help menu, that means it's a
variable, like type something in there.
291
00:17:37,416 --> 00:17:41,556
You don't actually type in word in all capitals,
they're saying what do you want to put in?
292
00:17:41,556 --> 00:17:43,196
You ping the destination address or host name.
293
00:17:43,196 --> 00:17:47,326
So maybe I want to say ping
4.2.2.2 as an IP address
294
00:17:47,326 --> 00:17:50,536
or ping google.com, you know,
would be something.
295
00:17:50,536 --> 00:17:52,406
So it's saying, you know,
we can type anything there.
296
00:17:52,666 --> 00:17:56,106
Or it says you can either type
an IP, which would be fine.
297
00:17:56,156 --> 00:17:59,636
I can type in ping IP and I go,
okay, well what comes after that?
298
00:17:59,836 --> 00:18:01,096
Hit the question mark and it says, okay,
299
00:18:01,096 --> 00:18:04,816
well type in whatever address
you want to type in now.
300
00:18:05,106 --> 00:18:08,776
Now you might say, "Well, couldn't I
have done that by just typing it here?
301
00:18:08,856 --> 00:18:10,996
I mean do I have to type an IP as well?"
302
00:18:11,276 --> 00:18:14,826
Well no, sometimes there will be multiple
ways of accomplishing the same thing
303
00:18:14,826 --> 00:18:17,156
in the Cisco IOS and this is an example.
304
00:18:17,386 --> 00:18:23,936
Ping and then IP address or name is the same
thing as ping IP in the IP address or the name.
305
00:18:24,196 --> 00:18:25,806
But notice you can also go different directions.
306
00:18:25,806 --> 00:18:30,116
I could say ping IPv6 and then
it says, okay, well, what IPv6--
307
00:18:30,236 --> 00:18:33,966
that's TCP/IP version 6,
the next version of TCP/IP.
308
00:18:34,086 --> 00:18:36,696
What TCP/IP version 6 address
do you want to ping?
309
00:18:36,936 --> 00:18:38,986
Or, you know, the list goes on and on.
310
00:18:39,266 --> 00:18:45,376
So, let me first off say, there is no
shame in using the question mark at all,
311
00:18:45,496 --> 00:18:49,236
whether you're in production or
even on the certification exam.
312
00:18:49,516 --> 00:18:54,006
You will have simulations where the
question mark is absolutely valid and a lot
313
00:18:54,006 --> 00:18:58,686
of times Cisco wants you to go that
direction because there are literally millions
314
00:18:58,836 --> 00:19:01,856
of combinations of commands in the Cisco IOS.
315
00:19:01,856 --> 00:19:05,786
Don't let that discourage you, let that
encourage you because you have a question mark
316
00:19:05,786 --> 00:19:07,476
that will really walk you through it.
317
00:19:07,476 --> 00:19:11,306
You know in Windows-- in Windows
if you are doing something,
318
00:19:11,306 --> 00:19:13,036
most of the time they have a Wizard, right?
319
00:19:13,216 --> 00:19:15,426
You open it up, it's like, okay,
you're going to install this program.
320
00:19:15,696 --> 00:19:17,276
What-- where do you want to install?
321
00:19:17,276 --> 00:19:20,626
You put in C colon backslash program
files and then you hit next, right?
322
00:19:20,626 --> 00:19:22,056
And then, oh, what options do you want?
323
00:19:22,166 --> 00:19:25,916
Next. And then, you know, whatever,
you know it's kind of like next, next.
324
00:19:25,916 --> 00:19:29,586
Your people say it all the time, next,
next, next, next, finish and you're done.
325
00:19:29,746 --> 00:19:34,216
Well, think of the question mark as
your next command to where you're going.
326
00:19:34,216 --> 00:19:38,446
Okay, well I want to, you know, now this is,
you know, I want to do something with Crypto,
327
00:19:38,446 --> 00:19:43,816
you know, the encryption-related commands up
there and I go, well, you know, what do I do?
328
00:19:43,816 --> 00:19:45,906
Well, here's your next button, I just hit next.
329
00:19:45,906 --> 00:19:49,826
It says, okay, well I need to type in key,
you know, there's not much else I can do here.
330
00:19:49,826 --> 00:19:52,916
Next. And then it says, okay,
well do you want that in?
331
00:19:52,916 --> 00:19:54,136
So, it's asking me these options.
332
00:19:54,136 --> 00:19:56,956
Now obviously, you have to know
why you're doing something.
333
00:19:56,956 --> 00:19:59,676
You can't just say, "Well, I want to do
something with encryption and do that."
334
00:19:59,676 --> 00:20:02,996
You have to know what this command
is for or why you're doing it
335
00:20:03,246 --> 00:20:07,786
but you always have a question mark or
a next button to walk you through it.
336
00:20:07,906 --> 00:20:13,936
Now, also right along with this is the tab key.
337
00:20:14,316 --> 00:20:19,016
Now I mentioned that the tab key can
kind of repaint what you're typing
338
00:20:19,016 --> 00:20:21,486
if you ever get interrupted by
those messages, which is true,
339
00:20:21,486 --> 00:20:24,756
but it will also finish any
partially typed command.
340
00:20:25,036 --> 00:20:25,996
So let's just look at this.
341
00:20:25,996 --> 00:20:30,456
I see-- I see two commands that start with
D. Actually I forgot to show you something.
342
00:20:30,456 --> 00:20:32,646
I can type in D question mark.
343
00:20:32,646 --> 00:20:37,556
Notice no space at all and the IOS is like,
"Oh, you just want to know what command start
344
00:20:37,556 --> 00:20:39,656
with D," and it will filter
down to just those two.
345
00:20:39,656 --> 00:20:41,906
Now I'm going to hit the tab key, watch this.
346
00:20:42,386 --> 00:20:44,836
What just happened there?
347
00:20:45,546 --> 00:20:47,796
It just said, okay, he hit tab which--
348
00:20:47,896 --> 00:20:51,146
which really means finish the
command that I've started typing.
349
00:20:51,366 --> 00:20:56,666
But now the Cisco IOS is saying, "Well, both of
my D-Command start with DIS, so I can finish it
350
00:20:56,716 --> 00:20:59,816
that far but now I don't know
which direction you want to go.
351
00:20:59,816 --> 00:21:02,106
Do you want to disable or
do you want to disconnect?"
352
00:21:02,426 --> 00:21:06,926
So, as soon as I type in that fourth
character, let's say I put a C there,
353
00:21:07,746 --> 00:21:09,916
it now knows I want to disconnect.
354
00:21:09,916 --> 00:21:14,366
So I can hit the tab key and
it finishes that command.
355
00:21:14,716 --> 00:21:17,586
You will start seeing people that
have a lot of experience in Cisco
356
00:21:17,716 --> 00:21:19,976
that that tab key is like their best friend.
357
00:21:19,976 --> 00:21:23,736
They're just constantly, you know, they're--
I'm just going to type a few things real quick,
358
00:21:23,736 --> 00:21:27,516
you know, copy, running config
to start up config--
359
00:21:27,516 --> 00:21:31,506
I mean it just becomes like second nature
to you in the commands that you're doing
360
00:21:31,506 --> 00:21:33,996
to just say, okay, let me hit that tab key.
361
00:21:33,996 --> 00:21:35,906
Now-- now let me also mention this.
362
00:21:35,906 --> 00:21:38,656
Ignore the commands I'm typing, I'm just kind
of showing you how to work with this here.
363
00:21:39,576 --> 00:21:42,656
I'm going to do a disable,
take me back to that user mode.
364
00:21:43,056 --> 00:21:46,876
What was I going to say?
365
00:21:46,876 --> 00:21:48,966
The tab key is also optional.
366
00:21:49,376 --> 00:21:54,636
So let's say I want to-- well,
let me get-- let me get back here.
367
00:21:55,006 --> 00:21:59,706
I want to disable, right?
368
00:22:00,156 --> 00:22:04,656
Well I know, you know, I'm going to type in
DIS which it's still saying, okay, wait a sec.
369
00:22:04,796 --> 00:22:08,376
There're still two commands I don't
know, but now as soon as I type in A,
370
00:22:08,956 --> 00:22:10,796
does it know which command I want to use?
371
00:22:11,376 --> 00:22:14,246
Yeah, it does because disconnect
doesn't have an A there.
372
00:22:14,246 --> 00:22:18,446
So, if I just hit the enter key
there, it executes that command.
373
00:22:19,266 --> 00:22:22,856
Okay, rule across all Cisco IOS.
374
00:22:23,156 --> 00:22:29,416
You can use a shortcut of any command
as long as you type enough characters
375
00:22:29,416 --> 00:22:31,366
for it to be uniquely recognized.
376
00:22:31,796 --> 00:22:36,466
Okay, so for example one of the big
commands you will always type is enable.
377
00:22:37,056 --> 00:22:38,736
Enable is actually the command.
378
00:22:39,436 --> 00:22:40,126
Where's my pen?
379
00:22:41,156 --> 00:22:45,026
Enable is the command that allows you to
move from user mode up to privileged mode.
380
00:22:45,216 --> 00:22:48,076
That's one of the first commands
that we're going to discuss.
381
00:22:48,076 --> 00:22:52,576
You will find almost-- hardly anybody
actually types in the enable command.
382
00:22:52,706 --> 00:22:58,146
Almost everybody will just get in, they will go
EN because that's the shortest version of enable
383
00:22:58,146 --> 00:22:59,846
that they can type and still
allowed to be valid.
384
00:23:00,066 --> 00:23:03,126
Or, you know, disable is actually
a command that's rarely used
385
00:23:03,126 --> 00:23:04,866
but disable moves you back to user mode.
386
00:23:04,866 --> 00:23:09,356
It's kind of like why would I ever
want to deescalate my privileges?
387
00:23:09,356 --> 00:23:10,636
I want to always escalate, you know.
388
00:23:10,886 --> 00:23:12,386
Anyway, well, maybe you do.
389
00:23:12,386 --> 00:23:14,946
Well, you know, what if you
don't want to leave it logged in?
390
00:23:15,056 --> 00:23:17,866
Well, most people will just type in
exit, you know, and drop back out.
391
00:23:17,986 --> 00:23:20,836
So they're now back in the-- back in that mode.
392
00:23:21,166 --> 00:23:24,496
So, any command can be shortcutted
that way, okay.
393
00:23:24,856 --> 00:23:28,276
So, now let's talk about the modes themselves.
394
00:23:29,616 --> 00:23:33,836
Knowing the modes of your Cisco
devices is almost as important
395
00:23:33,836 --> 00:23:35,596
as knowing the commands themselves.
396
00:23:36,286 --> 00:23:40,126
Actually, let me change this thing and I'm
going to revise my statement right there.
397
00:23:40,646 --> 00:23:46,676
Knowing the modes of your Cisco device is
more important than knowing what commands
398
00:23:46,676 --> 00:23:48,566
to type themselves, that's a bold statement.
399
00:23:48,566 --> 00:23:49,726
Think of it this way.
400
00:23:49,866 --> 00:23:53,966
Have you ever-- you guys remember the game Myst?
401
00:23:54,686 --> 00:23:56,446
Oh, I despise that game.
402
00:23:56,446 --> 00:24:01,876
It was when computer graphics where it's first
starting to get really good and essentially
403
00:24:01,876 --> 00:24:06,576
with Myst, you would be put in all these
different puzzle scenarios like you would walk
404
00:24:06,576 --> 00:24:13,056
into a room and you know in this room, all these
different gadgets do things like if I click
405
00:24:13,056 --> 00:24:16,926
on that part of the screen which you know
spins the little timer and then I click
406
00:24:16,926 --> 00:24:21,206
on the notebook to open it up and look inside of
the notebook, then I'm going to find the piece
407
00:24:21,206 --> 00:24:23,426
of paper that only appears
if the timer is spinning.
408
00:24:23,686 --> 00:24:27,336
Where if I chose to do it
when the moons were aligned,
409
00:24:27,556 --> 00:24:29,776
I would then progress to the next level of Myst.
410
00:24:29,776 --> 00:24:32,796
It was one of those kinds of games
where you just spend hours staring
411
00:24:32,796 --> 00:24:35,716
at the same screen trying to figure
out what area of the screen to click
412
00:24:35,716 --> 00:24:37,836
on at what time to make something happen.
413
00:24:38,126 --> 00:24:45,026
Well, in the same way, think of these modes
of the Cisco IOS like the areas of the screen.
414
00:24:45,286 --> 00:24:50,196
When I'm in user mode, I have a
certain set of commands that I can type
415
00:24:50,196 --> 00:24:53,236
in that-- and you saw them matter of fact.
416
00:24:53,236 --> 00:24:57,236
When you first get into switch, this little
right angle bracket right there lets you know
417
00:24:57,236 --> 00:25:01,886
I'm in user mode and I hit the question mark
and, okay, you get a feel that that's it
418
00:25:01,886 --> 00:25:03,776
by the way, that's all the
commands you can type in.
419
00:25:03,776 --> 00:25:06,056
Oh, actually sometimes-- forgive me,
420
00:25:06,056 --> 00:25:09,476
sometimes I've been doing this
long enough that I assume things.
421
00:25:09,826 --> 00:25:16,926
When you see a more, you can either scroll line
by line by pressing the enter key like that
422
00:25:17,596 --> 00:25:20,576
or you can scroll a page at a
time by pressing the spacebar
423
00:25:20,706 --> 00:25:22,896
which in this case scrolls the rest of the way.
424
00:25:23,276 --> 00:25:25,506
Now if you see a more, the enter key
425
00:25:25,506 --> 00:25:27,876
and the spacebar is the only ones
that kind of move you around.
426
00:25:28,006 --> 00:25:31,926
If you press any other key like sometimes
I'm like, okay, I've seen enough,
427
00:25:31,926 --> 00:25:34,446
I'll hit the Q key, it just
stops the output right there.
428
00:25:34,546 --> 00:25:39,606
Now, I hit Q but I could also go in
and hit M or any key except space
429
00:25:39,606 --> 00:25:42,536
or the enter key will stop that up.
430
00:25:42,536 --> 00:25:45,026
Okay, so you get the feel, right?
431
00:25:45,026 --> 00:25:47,906
These are all the commands
that are in user mode.
432
00:25:48,146 --> 00:25:52,996
Now, as soon as I type in enable,
I'm now moved into a privilege mode.
433
00:25:53,376 --> 00:25:56,876
I know I am because I'm looking
at that pound symbol on my device.
434
00:25:57,106 --> 00:26:00,636
That tells me I'm in privilege
mode which says I now have access
435
00:26:00,636 --> 00:26:02,836
to all the functionality of this device.
436
00:26:02,836 --> 00:26:06,526
There're no restrictions on what I
can do anymore, I'm now escalated.
437
00:26:06,526 --> 00:26:11,586
Now, you might say well, what is--
you want a password protect that?
438
00:26:11,756 --> 00:26:14,716
Well, absolutely, but this is
a device with no configuration
439
00:26:14,716 --> 00:26:16,456
so there is no password yet, right?
440
00:26:16,586 --> 00:26:18,306
So now watch what happens.
441
00:26:18,606 --> 00:26:23,506
I hit the question mark and I go, okay,
well there's some and hit the spacebar.
442
00:26:24,016 --> 00:26:27,406
Good grief, and there's some more and--
443
00:26:27,406 --> 00:26:30,586
I mean, wow, can you see the difference
between user mode and privileged mode?
444
00:26:30,586 --> 00:26:33,606
Again, going back to that Myst,
it's like one mode I'm in a room
445
00:26:33,606 --> 00:26:37,026
with a couple little buttons
that I can push and look around.
446
00:26:37,026 --> 00:26:42,346
In another room in Myst, I'm in this
gigantic galaxy where anything is possible
447
00:26:42,516 --> 00:26:45,966
and remembering that each one of these
things, you know, when I type in show
448
00:26:46,106 --> 00:26:51,176
and hit the question mark, each one of these has
a whole giant subset of commands that could go
449
00:26:51,176 --> 00:26:53,896
in there and each one of those
to have a whole giant subset.
450
00:26:53,896 --> 00:26:57,376
Again like I type in show IP and
you know hit the question mark,
451
00:26:57,376 --> 00:26:59,436
it's like good grief, you know.
452
00:26:59,436 --> 00:27:03,766
And like each time you do that, it's like
walking into a new room with Myst where you have
453
00:27:03,766 --> 00:27:05,636
to kind of figure out what to do.
454
00:27:05,636 --> 00:27:10,586
But the point is, the reason I said
knowing what mode to be in is more valuable
455
00:27:10,586 --> 00:27:14,686
than knowing what command to type is because
given enough time, you can kind of poke
456
00:27:14,686 --> 00:27:18,156
around in the mode and kind
of be like oh, okay, I see.
457
00:27:18,156 --> 00:27:21,046
If I do this and this and, you know,
as long as you're in the right mode
458
00:27:21,046 --> 00:27:23,896
to start off with, okay, that makes sense, okay.
459
00:27:24,226 --> 00:27:28,446
Now don't let-- when you see that
gargantuous amount of commands, don't--
460
00:27:28,446 --> 00:27:30,426
again, don't let that scare you away.
461
00:27:31,316 --> 00:27:36,476
In your Cisco career, you will always only
know a subset of commands that there are--
462
00:27:36,476 --> 00:27:40,106
like I said, there're millions of
combinations of commands in the Cisco IOS.
463
00:27:40,106 --> 00:27:44,336
There are some core commands that will get you
going and then there's some peripheral commands
464
00:27:44,336 --> 00:27:46,686
that those are the ones that
reference books are made for, you know,
465
00:27:46,686 --> 00:27:47,866
you'll look them up when you need them.
466
00:27:47,866 --> 00:27:50,766
So, two modes that we've talked about so far.
467
00:27:51,606 --> 00:27:57,896
User mode allows limited visibility of the IOS.
468
00:27:57,896 --> 00:28:02,306
You know I can do some-- this is meant for
a help desk technician to come in there
469
00:28:02,486 --> 00:28:06,336
and say "Oh, look it's running," or "Oh,
look I can ping it from this device."
470
00:28:06,336 --> 00:28:08,446
And that must mean that it's working or, "Ooh,
471
00:28:08,446 --> 00:28:11,146
I can't ping it from this
device, so it must not be."
472
00:28:11,646 --> 00:28:16,166
Once you move to privileged
mode, now you have full options.
473
00:28:16,516 --> 00:28:20,686
This is where the admin, a
true Cisco admin is engaged.
474
00:28:21,886 --> 00:28:27,156
Now in the privileged mode itself, you know,
we're sitting here from that pound symbol,
475
00:28:27,316 --> 00:28:28,716
there's a lot of stuff that you can do.
476
00:28:29,166 --> 00:28:30,146
I mean, there's a lot.
477
00:28:30,346 --> 00:28:35,136
But from this-- from this mode itself,
you can't really configure anything.
478
00:28:35,576 --> 00:28:42,266
This is all, you know, kind of working with the
IOS like you can do some ping commands you know
479
00:28:42,266 --> 00:28:47,856
and go that way or you could go,
you know, do some show commands,
480
00:28:47,856 --> 00:28:52,516
do a show running configuration and see, well,
here's how my device is configured and I can--
481
00:28:52,696 --> 00:28:56,026
you know, you can kind of go through and
get a lot of information from the switch,
482
00:28:56,026 --> 00:28:58,616
get all the information from the
switch but you can't change anything.
483
00:28:58,956 --> 00:29:02,796
To change something, I have to start
moving into the configuration mode.
484
00:29:03,696 --> 00:29:10,756
The configuration mode always starts with
global, meaning I move from user to privileged,
485
00:29:10,936 --> 00:29:15,866
from privileged to global and then I can
either do some config there or move into one
486
00:29:15,866 --> 00:29:19,066
of the hundreds of subconfiguration
modes that I have.
487
00:29:19,066 --> 00:29:20,186
So let me give you an example.
488
00:29:20,556 --> 00:29:22,586
I type in, and here's the command by the way.
489
00:29:22,976 --> 00:29:27,646
To move in the global configuration
mode, I type in configure terminal.
490
00:29:28,846 --> 00:29:33,136
In a nutshell that means I am
configuring my device from the terminal,
491
00:29:33,326 --> 00:29:34,706
you know, that's why I'm doing that.
492
00:29:34,706 --> 00:29:37,656
You can configure that device
from all kinds of sources.
493
00:29:37,656 --> 00:29:42,056
I can copy configurations from other places or
do it remotely, you know, all that [inaudible]
494
00:29:42,056 --> 00:29:44,076
but I am configuring it from my terminal.
495
00:29:44,076 --> 00:29:47,186
That's the most common place
that you configure it from.
496
00:29:47,416 --> 00:29:50,416
Now I've just moved, and you can
see the prompt changed to config.
497
00:29:50,416 --> 00:29:52,816
I am now sitting in global configuration mode.
498
00:29:52,816 --> 00:29:57,456
Things that I change here are
global to the whole device.
499
00:29:57,766 --> 00:30:01,266
I mean things like the name of the
device, like I can type in host name,
500
00:30:01,346 --> 00:30:02,646
you know this is a global option.
501
00:30:02,646 --> 00:30:06,576
And by the way I'm just-- this nugget, I'm just
about the modes, I'm not about the commands.
502
00:30:06,576 --> 00:30:13,796
I'm just using these commands to demonstrate the
mode, so I can type in host name Jeremy needs
503
00:30:14,026 --> 00:30:18,626
to cough [laughs] and I'll be
pausing shortly to do that and you--
504
00:30:18,626 --> 00:30:19,976
oh, man, I even went beyond that.
505
00:30:20,186 --> 00:30:26,466
So, Jeremy needs to cough now
becomes the name of this device.
506
00:30:26,676 --> 00:30:29,376
It's a global change that
affects the whole thing.
507
00:30:29,616 --> 00:30:35,256
Or for example, sending a password to
protect this transition, setting a password
508
00:30:35,256 --> 00:30:38,086
to keep people from going from
user mode to privileged mode just
509
00:30:38,086 --> 00:30:40,636
by typing in a command is a global change.
510
00:30:40,636 --> 00:30:42,486
So all of those kind of things,
and there's a lot
511
00:30:42,486 --> 00:30:45,056
of them can be done from
global configuration mode.
512
00:30:45,566 --> 00:30:49,666
But then from there, and I noticed this is
where I brought this little cheat sheet in here,
513
00:30:50,136 --> 00:30:54,626
I can move into any one of
the subconfiguration modes.
514
00:30:54,626 --> 00:30:59,576
So for example, this device, this
switch has a whole bunch of interfaces.
515
00:30:59,706 --> 00:31:02,016
Hang with me for a second, I will show you.
516
00:31:02,016 --> 00:31:06,626
And actually I'm going to-- I want to
show you something-- oh, perfect, perfect.
517
00:31:06,626 --> 00:31:09,716
So, I've got this pound symbol, right?
518
00:31:09,996 --> 00:31:12,596
And now my cursor is blinking
here, so I'm going to do a show--
519
00:31:12,596 --> 00:31:15,216
whoa, wait a sec, that doesn't feel right.
520
00:31:15,216 --> 00:31:20,976
You know, I'm typing my show command right
here but it's at the end of a status message.
521
00:31:20,976 --> 00:31:22,336
What do I do?
522
00:31:22,336 --> 00:31:22,936
Tab key, right?
523
00:31:23,396 --> 00:31:28,496
Tab. Moves me down to the next line, gives me a
good prompt again and now I'm typing my command.
524
00:31:28,496 --> 00:31:31,976
Okay, so I'm going to do
a show IP interface brief.
525
00:31:32,956 --> 00:31:37,726
By the way, that's my all time favorite command
in all of Cisco, and I'm able to see all
526
00:31:37,726 --> 00:31:39,886
of the interfaces that this device has.
527
00:31:40,096 --> 00:31:44,446
Now-- and I'm going to stop saying
this, but we will discuss all of that.
528
00:31:44,446 --> 00:31:48,356
You know, what does this mean, what's
the zero slash whatever, you know,
529
00:31:48,516 --> 00:31:50,506
all of that to be discussed, just
talking about modes right now.
530
00:31:50,846 --> 00:31:54,056
But let's just say I wanted to
configure just that interface.
531
00:31:54,056 --> 00:31:56,896
That interface connects to a key
server and I want to make sure
532
00:31:56,896 --> 00:31:59,276
that it's working the right way
or whatever the case may be.
533
00:31:59,276 --> 00:32:03,276
So okay, I want to set up that
interface, here's what I do.
534
00:32:03,476 --> 00:32:09,326
I'm going to go into global config, so
I'll type in config T. And by the way,
535
00:32:09,326 --> 00:32:12,766
let me just show you that
again, I can type in cough.
536
00:32:13,096 --> 00:32:16,346
Oh, I'm so-- I'm so into the
tab key I just hit it naturally.
537
00:32:16,466 --> 00:32:20,086
Cough T and that will do the same thing,
that's a nice shortcut to do there.
538
00:32:20,396 --> 00:32:25,166
And then I can say, well, I actually want-- I
don't want to do anything global to this device.
539
00:32:25,166 --> 00:32:32,496
I want to just do that one interface, so I'll
type in interface FastEthernet0/1 and hit enter.
540
00:32:32,706 --> 00:32:36,236
Notice every single time I'm
doing this, my prompt is changing.
541
00:32:36,536 --> 00:32:40,016
Let's say okay-- okay, you've
now moved from kind of global--
542
00:32:40,016 --> 00:32:43,566
there's a global sense configuration
mode into an interface.
543
00:32:43,566 --> 00:32:47,926
So now all the commands that you type, you've
entered another room in that Myst video game,
544
00:32:48,136 --> 00:32:51,856
all the commands that you type
affect just that interface.
545
00:32:51,856 --> 00:32:57,986
So you'll see commands like I want to set
the speed of that interface to 100 or I want
546
00:32:57,986 --> 00:33:01,876
to set the duplex of that
interface to full duplex, you know,
547
00:33:01,876 --> 00:33:05,036
and I can start doing my
interface configurations from here
548
00:33:05,036 --> 00:33:06,486
but everything always affects this.
549
00:33:06,486 --> 00:33:07,816
Now look back at this chart.
550
00:33:08,076 --> 00:33:13,186
Notice that once I'm in the
interface configuration mode,
551
00:33:13,266 --> 00:33:17,146
I can always move back to global.
552
00:33:17,526 --> 00:33:20,616
Well, how do I do that?
553
00:33:20,616 --> 00:33:26,716
I got exit, so I can be in the interface
configuration mode, type in exit and bam,
554
00:33:26,716 --> 00:33:28,486
I'm back out to the global configuration mode.
555
00:33:28,886 --> 00:33:29,736
Now here is the key.
556
00:33:30,066 --> 00:33:31,806
Remember, this is like the
different rooms of Myst.
557
00:33:31,806 --> 00:33:36,006
The little widget, the timer that you spun
under the interface isn't going to work
558
00:33:36,376 --> 00:33:41,076
from global for-- so for example, I type
in speed and hit the question mark--
559
00:33:41,536 --> 00:33:45,906
not that key, I hit speed and hit
question mark and it's going--
560
00:33:45,906 --> 00:33:48,946
I don't know what you're talking about.
561
00:33:48,946 --> 00:33:50,286
Sorry, total invalid command.
562
00:33:50,346 --> 00:33:52,526
Well, wait, wait a sec, what about duplex?
563
00:33:52,526 --> 00:33:55,466
Duplex question mark-- nope,
sorry totally wrong command.
564
00:33:55,796 --> 00:33:56,876
Ooh, do you see why?
565
00:33:56,876 --> 00:34:00,426
I said knowing the modes is more valuable
because you can kind of reason your way
566
00:34:00,426 --> 00:34:03,666
through it if you know what mode
to be in but if you're in global,
567
00:34:03,666 --> 00:34:07,416
you won't even get the commands that
you need for that individual interface.
568
00:34:07,416 --> 00:34:12,446
So, the commands that are in the interface don't
work in global and the commands for instance
569
00:34:12,446 --> 00:34:15,446
when I typed in-- remember back
here, yeah, let me back up.
570
00:34:15,846 --> 00:34:20,156
I typed in show IP interface
brief, I was in privileged mode.
571
00:34:20,476 --> 00:34:24,936
So the commands that I type from privileged
mode, if I type in show IP interface brief,
572
00:34:24,936 --> 00:34:27,696
it's like oh I'm sorry, you're off now.
573
00:34:27,696 --> 00:34:32,846
Now notice even this, Cisco is trying to guide
me, it's going, "Hey, you went off right here."
574
00:34:33,046 --> 00:34:35,976
It says invalid input detected
here and you're going, well, why,
575
00:34:35,976 --> 00:34:38,136
that's how you spell show,
I mean it seems right.
576
00:34:38,316 --> 00:34:40,956
Well, what it's saying is in
global configuration mode,
577
00:34:41,436 --> 00:34:45,026
there's no commands that
start with anything SHO.
578
00:34:45,056 --> 00:34:49,226
If I hit S question mark, you notice there's
a whole bunch of commands but there's only--
579
00:34:49,486 --> 00:34:53,356
I can see-- let's see, I'm looking
for SH, there right there, shutdown.
580
00:34:53,666 --> 00:34:57,926
So I have this shutdown which is it's saying,
okay, that was valid, but as soon as you went
581
00:34:57,926 --> 00:35:03,306
into the O in global configuration mode, I
don't have any commands that start with SHO.
582
00:35:03,476 --> 00:35:09,396
Now, if I go into the interface,
interface 0/1 and type in S question mark,
583
00:35:09,776 --> 00:35:15,236
notice totally different set of commands
than what I had in global configuration mode.
584
00:35:15,236 --> 00:35:16,066
Are you seeing it?
585
00:35:16,136 --> 00:35:17,656
Are you seeing-- are you seeing the mode?
586
00:35:17,856 --> 00:35:24,186
Now that is just two of the modes, that's global
and that's interface config but literally,
587
00:35:24,306 --> 00:35:28,756
you know, we've got line config, router config
and this is just-- these are just examples,
588
00:35:28,756 --> 00:35:32,696
this goes on to the hundreds of modes.
589
00:35:33,806 --> 00:35:38,476
Each one dedicated to configuring
some aspect of your Cisco device.
590
00:35:39,216 --> 00:35:43,946
Now, last thing I want to show you here
is-- notice I was sitting in these modes.
591
00:35:44,256 --> 00:35:48,496
I can type in exit to move back
one level at a time, you know,
592
00:35:48,496 --> 00:35:50,536
I got to-- it's getting just ugly.
593
00:35:51,706 --> 00:35:57,416
I can type in exit and move back one
level at a time, so let me go back here.
594
00:35:57,886 --> 00:36:03,026
I'm in interface config, I can exit to
global, exit back to privileged and then exit
595
00:36:03,026 --> 00:36:06,246
out completely and now I'm
back-- back in user mode.
596
00:36:06,466 --> 00:36:11,476
I'm going to type in enable, go back
into global, go under FastEthernet0/1.
597
00:36:11,856 --> 00:36:15,836
I can also do what I would call a bailout.
598
00:36:16,186 --> 00:36:17,626
You can do it one of two ways.
599
00:36:17,626 --> 00:36:21,406
I can type in end and notice I'm dropped--
600
00:36:21,406 --> 00:36:26,086
I'd skipped right past global and go all the way
back to configuration mode or privileged mode,
601
00:36:26,206 --> 00:36:31,736
all the way back to the base, or I
can be in interface FastEthernet0/1
602
00:36:31,946 --> 00:36:36,236
and hit control Z, and that
will also bail me out.
603
00:36:36,236 --> 00:36:41,876
Now I actually like control Z better because no
matter where I'm at, I could be in the middle
604
00:36:41,876 --> 00:36:45,276
of typing a command, I could be in
interface FastEthernet0/1 and type in--
605
00:36:45,556 --> 00:36:49,066
well, the description of this
interface is connection to--
606
00:36:49,066 --> 00:36:51,156
and I'm like I don't even want
to be here, control Z, bam.
607
00:36:51,676 --> 00:36:55,026
It's like you're done at any point,
whereas if I would type in end,
608
00:36:55,026 --> 00:36:56,576
it would think that's my description.
609
00:36:56,576 --> 00:37:01,366
So control Z is the ultimate, at any
point, you bail out kind of command.
610
00:37:02,576 --> 00:37:06,396
So there it is, that's the
welcome to the world of Cisco.
611
00:37:06,396 --> 00:37:10,846
Like I said, if this were Windows, this would
have been like, okay, that's the start button,
612
00:37:11,066 --> 00:37:12,786
that's the control panel, you know.
613
00:37:12,786 --> 00:37:16,896
We aren't really saying what the control
panel does or what the start button is for
614
00:37:17,166 --> 00:37:20,926
but you kind of get the idea of just
how to move around and navigate.
615
00:37:20,996 --> 00:37:23,536
So here's what I want you to do with this.
616
00:37:23,536 --> 00:37:28,146
I would like you-- before you dive
into the next nugget, if you can, well,
617
00:37:28,146 --> 00:37:32,706
if you have some lab equipment, just
any Cisco device will do, get in there,
618
00:37:32,706 --> 00:37:36,776
start navigating into user mode, into
privileged mode, into global config.
619
00:37:36,956 --> 00:37:39,086
Start seeing what other modes there are.
620
00:37:39,186 --> 00:37:43,336
Like for instance, you saw on that graphic
there was line mode or router mode.
621
00:37:43,336 --> 00:37:45,316
You might look at that and
say, well, what are those?
622
00:37:45,316 --> 00:37:48,446
You know, start gaining a little
curiosity of like what are some
623
00:37:48,446 --> 00:37:50,706
of the things that I can do from these modes?
624
00:37:50,706 --> 00:37:53,706
Don't worry if it's lab equipment,
now don't do it on production,
625
00:37:53,706 --> 00:37:55,746
but if it's lab equipment,
you can't hurt anything.
626
00:37:55,746 --> 00:37:59,316
You can just simply reboot the
device and it erases everything
627
00:37:59,316 --> 00:38:01,286
that you did back to the beginning.
628
00:38:01,836 --> 00:38:06,866
So get that familiar and play around with
that and then dive into the next nugget
629
00:38:06,866 --> 00:38:10,376
where we're going to start getting into
the configuration of the switch itself.
630
00:38:10,376 --> 00:38:13,886
For now I hope this has been informative for
you and I'd like to thank you for viewing.
64702
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.