Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
1
00:00:03,040 --> 00:00:06,710
This is a free, complete course for the CCNA.
2
00:00:06,710 --> 00:00:10,138
If you like these videos, please subscribe\n
3
00:00:10,138 --> 00:00:14,480
Also, please like and leave a comment, and\n
4
00:00:17,640 --> 00:00:23,289
In this video we’re going to begin a series\n
5
00:00:23,289 --> 00:00:27,730
It’s the only dynamic routing protocol that\n
6
00:00:27,730 --> 00:00:33,230
the CCNA, so we’re going to go quite in\n
7
00:00:33,229 --> 00:00:37,729
brief overview given for RIP and EIGRP.
8
00:00:37,729 --> 00:00:43,119
OSPF is topic 3.4 of the CCNA exam, which\n
9
00:00:43,119 --> 00:00:49,709
and verify single area OSPFv2’, with the\n
10
00:00:49,710 --> 00:00:52,670
point-to-point, broadcast, and router ID.
11
00:00:52,670 --> 00:00:55,640
We’ll cover all of these topics and more.
12
00:00:55,640 --> 00:01:00,570
This first video, however, will focus on some\nbasics of OSPF.
13
00:01:00,570 --> 00:01:05,280
Consider this a high-level introduction to\n
14
00:01:05,280 --> 00:01:10,468
then in later lectures we will go lower down\n
15
00:01:10,468 --> 00:01:14,959
So, let’s see what we’ll cover in this\nvideo.
16
00:01:14,959 --> 00:01:18,699
First I’ll introduce some of the basic operations\nof OSPF.
17
00:01:18,700 --> 00:01:24,009
This will be just a quick introduction, in\n
18
00:01:24,009 --> 00:01:28,640
Then I’ll talk about OSPF areas, which is\n
19
00:01:28,640 --> 00:01:32,009
networks into smaller sections.
20
00:01:32,009 --> 00:01:38,810
Finally I’ll show you some basic OSPF configurations,\n
21
00:01:38,810 --> 00:01:42,760
Watch until the end of the video’s quiz\n
22
00:01:44,718 --> 00:01:47,928
ExSim is a set of practice exams for the CCNA.
23
00:01:47,929 --> 00:01:53,921
I used them myself when studying for my CCNA,\n
24
00:01:53,921 --> 00:01:57,030
really think ExSim is an essential study tool.
25
00:01:57,030 --> 00:02:00,099
If you want to get ExSim, follow the link\n
26
00:02:00,099 --> 00:02:04,828
Okay, let’s get started with OSPF.
27
00:02:04,828 --> 00:02:09,949
First up, here’s the same chart of the different\n
28
00:02:09,949 --> 00:02:13,319
Remember that OSPF is a Link State dynamic\nrouting protocol.
29
00:02:13,319 --> 00:02:17,650
You’ll see in this video that it functions\n
30
00:02:17,650 --> 00:02:21,280
routing protocols RIP and EIGRP.
31
00:02:21,280 --> 00:02:26,590
To review, distance vector protocols use ‘routing\n
32
00:02:26,590 --> 00:02:30,939
about the routes they know and their metric\n
33
00:02:30,939 --> 00:02:36,189
However, the routers don’t have a complete\n
34
00:02:36,189 --> 00:02:41,250
their neighboring routers tell them to determine\n
35
00:02:41,250 --> 00:02:44,469
Now let’s review how link state protocols\nfunction.
36
00:02:44,469 --> 00:02:49,080
Here’s another slide I showed you in Day\n24’s video.
37
00:02:49,080 --> 00:02:53,380
When using a link state routing protocol,\n
38
00:02:54,939 --> 00:03:00,569
To allow this, each router advertises information\n
39
00:03:02,430 --> 00:03:06,540
These advertisements are passed along to other\n
40
00:03:06,539 --> 00:03:09,319
develop the same map of the network.
41
00:03:09,319 --> 00:03:13,829
This is important, all routers have the same\n
42
00:03:13,830 --> 00:03:20,170
Then, each router independently uses this\n
43
00:03:20,169 --> 00:03:24,289
Due to this process, Link state protocols\n
44
00:03:26,060 --> 00:03:28,500
It’s more demanding on the router.
45
00:03:28,500 --> 00:03:32,939
However, link state protocols tend to be faster\n
46
00:03:35,150 --> 00:03:38,319
So that’s a quick review of link state routing\nprotocols.
47
00:03:38,319 --> 00:03:42,519
Now we’ll start to go in depth about how\n
48
00:03:42,520 --> 00:03:47,689
of what all this means, and see how different\n
49
00:03:48,689 --> 00:03:53,370
So, let’s get started with OSPF.
50
00:03:53,370 --> 00:03:56,680
OSPF stands for ‘Open Shortest Path First’.
51
00:03:56,680 --> 00:04:01,710
The OSPF protocol uses the ‘shortest path\n
52
00:04:04,490 --> 00:04:08,330
Another name for the algorithm is ‘Dijsktra’s\n
53
00:04:11,020 --> 00:04:13,680
There are three versions of OSPF.
54
00:04:13,680 --> 00:04:15,710
Version 1 was released in 1989.
55
00:04:15,710 --> 00:04:19,430
It’s old and not in use anymore.
56
00:04:19,430 --> 00:04:24,860
Version 2 was released in 1998, and this is\n
57
00:04:26,209 --> 00:04:28,370
Take a look at the exam topics again.
58
00:04:28,370 --> 00:04:33,550
The version of OSPF in the exam topics list\n
59
00:04:33,550 --> 00:04:37,300
these videos I will be talking about version\n2.
60
00:04:37,300 --> 00:04:42,079
There is also OSPF version 3, which was developed\nfor IPv6.
61
00:04:42,079 --> 00:04:46,788
It can also be used for IPv4, but version\n
62
00:04:46,788 --> 00:04:51,800
Okay, now a couple general points about OSPF.
63
00:04:51,800 --> 00:04:56,471
Routers store information about the network\n
64
00:04:56,471 --> 00:05:01,009
are organized in a structure called the LSDB\n
65
00:05:01,009 --> 00:05:05,540
LSA and LSDB are two important terms for OSPF.
66
00:05:05,540 --> 00:05:10,330
I’ll talk more about them throughout these\nvideos on OSPF.
67
00:05:10,329 --> 00:05:15,389
Routers will flood LSAs until all routers\n
68
00:05:15,389 --> 00:05:17,460
network, meaning the same LSDB.
69
00:05:17,459 --> 00:05:22,149
So, those are two more important terms, ‘flood’\nand ‘area’.
70
00:05:22,149 --> 00:05:26,469
You already know the term flood, switches\n
71
00:05:28,209 --> 00:05:33,778
In the case of OSPF, it means they send the\n
72
00:05:33,778 --> 00:05:38,129
OSPF ‘areas’ are a unique aspect of OSPF,\n
73
00:05:40,999 --> 00:05:45,581
Let me briefly elaborate on the last two points\n
74
00:05:46,581 --> 00:05:51,569
So, let’s say this network of four routers\nis running OSPF.
75
00:05:51,569 --> 00:05:56,039
All of these routers are OSPF neighbors, they\n
76
00:05:57,249 --> 00:06:01,680
Then, OSPF is enabled on R4’s G1/0 interface.
77
00:06:01,680 --> 00:06:06,400
So, R4 needs to tell the other routers about\n
78
00:06:06,399 --> 00:06:12,228
So, R4 creates an LSA to tell its neighbors\n
79
00:06:12,228 --> 00:06:18,038
An OSPF LSA contains more information than\n
80
00:06:18,038 --> 00:06:23,199
of the basic information in an LSA is the\nRID, the router ID.
81
00:06:23,199 --> 00:06:28,689
For this demonstration, R4’s router ID is\n4.4.4.4.
82
00:06:28,689 --> 00:06:34,720
None of its physical interfaces have an IP\n
83
00:06:34,720 --> 00:06:41,919
interface with the IP address 4.4.4.4 or the\n
84
00:06:41,918 --> 00:06:47,269
The network on the G1/0 interface is, of course,\n
85
00:06:52,050 --> 00:06:57,689
I’ll talk more about OSPF’s metric, called\n
86
00:07:01,199 --> 00:07:06,060
The LSA is then flooded throughout the network\n
87
00:07:08,379 --> 00:07:11,930
This results in all routers in the OSPF area\n
88
00:07:11,930 --> 00:07:19,559
The LSDB is like this, containing LSAs for\n
89
00:07:19,559 --> 00:07:25,099
Now that OSPF has been activated on R4’s\n
90
00:07:26,098 --> 00:07:31,278
I’m going to repeat this many times I’m\n
91
00:07:31,278 --> 00:07:34,959
for all routers in the OSPF area.
92
00:07:34,959 --> 00:07:41,079
Each router then uses the SPF algorithm, Dijkstra’s\n
93
00:07:43,338 --> 00:07:47,620
Remember, each of these routers has a complete\n
94
00:07:47,620 --> 00:07:53,439
So, for example, you and I looking at this\n
95
00:07:53,439 --> 00:07:58,259
192.168.4.0/24 is this route via G1/0.
96
00:07:58,269 --> 00:08:03,378
Well, R2 is basically looking at the same\n
97
00:08:03,379 --> 00:08:06,039
traffic via G1/0 is the best route.
98
00:08:06,038 --> 00:08:11,028
It’s not looking at a visual diagram like\n
99
00:08:12,050 --> 00:08:17,949
Finally, note that each individual LSA has\n
100
00:08:17,949 --> 00:08:25,169
The LSA will be flooded again after the timer\n
101
00:08:26,509 --> 00:08:31,710
In OSPF, there are three main steps in the\n
102
00:08:31,709 --> 00:08:35,500
best route to each destination in the network.
103
00:08:35,500 --> 00:08:40,000
Step 1 is to become neighbors with other routers\n
104
00:08:40,000 --> 00:08:45,250
In the network in the previous slide, for\n
105
00:08:47,350 --> 00:08:52,209
Step 2 is to exchange LSAs with neighbor routers,\n
106
00:08:52,208 --> 00:08:57,379
Then, each router independently calculates\n
107
00:08:59,860 --> 00:09:02,839
I will cover these steps in depth in the next\nlecture.
108
00:09:02,839 --> 00:09:06,270
Just keep in mind this basic process of OSPF.
109
00:09:06,269 --> 00:09:13,679
Let’s move on to another fundamental concept\n
110
00:09:15,240 --> 00:09:19,159
OSPF uses areas to divide up the network.
111
00:09:19,159 --> 00:09:25,990
However, small networks can be single-area\n
112
00:09:25,990 --> 00:09:30,430
For example, this network with four routers\nis a small network.
113
00:09:30,429 --> 00:09:35,039
When configuring OSPF in a network like this\n
114
00:09:35,039 --> 00:09:38,919
there won’t be any degradation of network\nperformance.
115
00:09:38,919 --> 00:09:44,229
In larger networks, however, a single-area\n
116
00:09:44,230 --> 00:09:50,310
For example, if the OSPF network had 500 routers\n
117
00:09:50,309 --> 00:09:56,189
and just a few subnets, using just a single\n
118
00:09:56,190 --> 00:10:00,230
You should divide a large network like that\n
119
00:10:00,230 --> 00:10:05,300
Now, what are some of the negative effects\n
120
00:10:05,299 --> 00:10:12,258
Well, for example the SPF algorithm takes\n
121
00:10:12,259 --> 00:10:18,110
It also requires exponentially more processing\n
122
00:10:18,110 --> 00:10:23,360
Each router sharing a single, huge link state\n
123
00:10:24,589 --> 00:10:29,560
On top of that, every small change on the\n
124
00:10:29,559 --> 00:10:34,579
activated, would caused LSAs to be flooded\n
125
00:10:34,580 --> 00:10:38,149
would have to do the SPF calculation again.
126
00:10:38,149 --> 00:10:43,419
By dividing a large OSPF network into several\n
127
00:10:45,149 --> 00:10:50,289
Checking the exam topics once more, notice\n
128
00:10:50,289 --> 00:10:55,319
So, I will only give a brief overview of OSPF\n
129
00:10:57,589 --> 00:11:02,220
I’m not going to make a diagram with 500\n
130
00:11:03,980 --> 00:11:07,819
It’s possible to make this one large, single-area\nnetwork.
131
00:11:07,818 --> 00:11:12,990
All interfaces on all routers are assigned\n
132
00:11:12,990 --> 00:11:18,350
You’ll see soon that area 0 is of special\n
133
00:11:20,350 --> 00:11:25,230
Now, instead of one large area I’ll show\n
134
00:11:28,269 --> 00:11:33,000
Now, there are some rules and terminology\n
135
00:11:36,589 --> 00:11:43,399
It’s a set of routers and links that share\n
136
00:11:43,399 --> 00:11:46,528
Looking at this diagram once more, how many\nareas are there?
137
00:11:46,528 --> 00:11:50,778
Area 0, Area 1, Area 2, and Area 3.
138
00:11:53,179 --> 00:11:56,359
Each of these areas maintains a unique LSDB.
139
00:11:56,360 --> 00:12:02,829
Next, the backbone area (which is area 0)\n
140
00:12:04,600 --> 00:12:07,949
Let’s check that network diagram again.
141
00:12:07,948 --> 00:12:14,979
Notice that area 1, area 2, and area 3 all\n
142
00:12:14,980 --> 00:12:19,009
This kind of network design, for example,\n
143
00:12:19,009 --> 00:12:23,110
Notice that area 1 is not connected to area\n
144
00:12:23,110 --> 00:12:25,230
It is only connected to area 2.
145
00:12:28,440 --> 00:12:33,279
Next up, routers with all interfaces in the\n
146
00:12:33,278 --> 00:12:36,778
So, in this diagram which routers are internal\nrouters?
147
00:12:36,778 --> 00:12:42,509
If all of the router’s interfaces are in\n
148
00:12:42,509 --> 00:12:45,919
This router here is internal to area 0.
149
00:12:45,919 --> 00:12:48,889
These routers are internal routers in area\n1.
150
00:12:48,889 --> 00:12:52,759
Same for these routers in area 2, and these\nrouters in area 3.
151
00:12:52,759 --> 00:13:00,039
So, those are internal routers, routers with\n
152
00:13:00,039 --> 00:13:05,319
Next up, routers with interfaces in multiple\n
153
00:13:05,320 --> 00:13:09,399
because they are the border between different\nOSPF areas.
154
00:13:09,399 --> 00:13:13,000
In this network, which routers are ABRs?
155
00:13:13,000 --> 00:13:17,669
This router, connected to area 0 and area\n1, is an ABR.
156
00:13:17,669 --> 00:13:22,139
This router, connected to area 0 and area\n2, is also an ABR.
157
00:13:22,139 --> 00:13:26,909
And this router, connected to area 0 and area\n3, is an ABR.
158
00:13:26,909 --> 00:13:33,139
So remember that ABRs, Area Border Routers,\n
159
00:13:34,179 --> 00:13:36,559
One more bit of information about ABRs.
160
00:13:36,559 --> 00:13:41,779
ABRs maintain a separate LSDB for each area\n
161
00:13:41,779 --> 00:13:46,360
It is recommend that you connect an ABR to\na maximum of 2 areas.
162
00:13:46,360 --> 00:13:49,919
Connecting an ABR to 3+ areas can overburden\nthe router.
163
00:13:49,919 --> 00:13:55,799
So, a design like I show here is good OSPF\n
164
00:13:58,039 --> 00:14:03,448
Next, routers connected to the backbone area,\n
165
00:14:05,278 --> 00:14:07,938
This includes area border routers, by the\nway.
166
00:14:07,938 --> 00:14:12,068
So, which routers in this network are backbone\nrouters?
167
00:14:12,068 --> 00:14:17,649
Of course, this router is connected only to\n
168
00:14:17,649 --> 00:14:22,940
It is a backbone router and an internal router,\n
169
00:14:22,940 --> 00:14:27,399
This router is also a backbone router, on\ntop of being an ABR.
170
00:14:27,399 --> 00:14:30,049
Same for this router, and this router.
171
00:14:30,049 --> 00:14:35,500
They are both backbone routers and area border\nrouters, ABRs.
172
00:14:35,500 --> 00:14:40,149
Next term, an ‘intra-area route’ is a\n
173
00:14:41,740 --> 00:14:46,778
For example, from a router in area 1 to a\n
174
00:14:49,539 --> 00:14:54,519
For example, if this router learns a route\n
175
00:14:54,519 --> 00:14:58,278
route, because the destination is in the same\n
176
00:15:00,600 --> 00:15:06,100
An ‘interarea route’ is a route to a destination\n
177
00:15:06,100 --> 00:15:11,550
For example, if a router in area 1 learns\n
178
00:15:15,659 --> 00:15:21,149
If this router in area 1 learns a route to\n
179
00:15:22,839 --> 00:15:26,959
The router and the destination are in two\ndifferent OSPF areas.
180
00:15:26,958 --> 00:15:32,479
So, those are some important OSPF terms regarding\nOSPF areas.
181
00:15:32,480 --> 00:15:36,769
Make sure you learn and understand these,\n
182
00:15:36,769 --> 00:15:43,399
Area, backbone area, internal router, area\n
183
00:15:43,399 --> 00:15:47,289
route, and interarea route, remember those\nterms.
184
00:15:47,289 --> 00:15:52,419
Next up, let’s cover a few additional rules\nabout OSPF areas.
185
00:15:52,419 --> 00:15:55,849
First up, OSPF areas should be ‘contiguous’.
186
00:15:57,179 --> 00:16:01,939
It means that each individual area should\n
187
00:16:01,940 --> 00:16:05,750
It’s easier to demonstrate with the network\ndiagram.
188
00:16:05,750 --> 00:16:09,370
So, this network satisfies that rule.
189
00:16:10,568 --> 00:16:15,219
Now let’s look at what it means to be non-contiguous.
190
00:16:17,789 --> 00:16:23,528
Instead of all being connected, half of area\n
191
00:16:23,528 --> 00:16:27,600
This kind of network design is not allowed\n
192
00:16:27,600 --> 00:16:31,470
So, instead of having area 1 split up and\n
193
00:16:31,470 --> 00:16:36,470
you should make this section on the right\n
194
00:16:36,470 --> 00:16:41,940
Now all of the areas are contiguous and OSPF\n
195
00:16:41,940 --> 00:16:47,830
Next rule, all OSPF areas must have at least\n
196
00:16:47,830 --> 00:16:51,329
I actually already mentioned this, but it’s\nworth repeating.
197
00:16:51,328 --> 00:16:54,078
Let’s look at the network diagram again.
198
00:16:54,078 --> 00:17:01,258
So, notice that area 1 has an ABR connected\n
199
00:17:01,259 --> 00:17:07,459
connected to both area 2 and area 0, and area\n
200
00:17:08,909 --> 00:17:12,209
This is correct OSPF network design.
201
00:17:12,209 --> 00:17:17,230
As I showed you before, a network like this\n
202
00:17:17,230 --> 00:17:24,058
problems, because area 1 does not have an\n
203
00:17:24,058 --> 00:17:29,319
One more rule, OSPF interfaces in the same\n
204
00:17:29,319 --> 00:17:33,129
If they’re not in the same area, they won’t\n
205
00:17:33,130 --> 00:17:36,210
information about the networks they know about.
206
00:17:36,210 --> 00:17:40,069
In a future video I will go more in detail\n
207
00:17:40,069 --> 00:17:43,849
to become OSPF neighbors, but for now let’s\n
208
00:17:47,190 --> 00:17:53,580
In this example, these three routers all have\n
209
00:17:55,538 --> 00:18:02,379
This router also has an interface in the 192.168.1.0/29\n
210
00:18:03,509 --> 00:18:08,940
Even though all four interfaces are in the\n
211
00:18:08,940 --> 00:18:13,570
area 1 router will not become OSPF neighbors\nwith the others.
212
00:18:13,569 --> 00:18:20,279
This time, the area 1 ABR’s interface in\n
213
00:18:21,640 --> 00:18:25,190
So, all four routers will become OSPF neighbors.
214
00:18:25,190 --> 00:18:28,600
Here’s a summary of those three rules.
215
00:18:28,599 --> 00:18:32,659
Of course, I will cover many more points about\n
216
00:18:32,660 --> 00:18:37,960
I will go in depth about OSPF neighbors, OSPF\n
217
00:18:37,960 --> 00:18:44,679
But now let’s cover some basic OSPF configurations\n
218
00:18:44,679 --> 00:18:48,930
So let’s use the same network topology that\n
219
00:18:50,940 --> 00:18:55,950
Although it’s important that you understand\n
220
00:18:55,950 --> 00:19:01,150
the CCNA you only have to configure single-area\n
221
00:19:03,319 --> 00:19:10,769
I’ve already configured R2, R3, and R4,\n
222
00:19:10,769 --> 00:19:15,450
Here is the basic OSPF configuration, let’s\nwalk through it.
223
00:19:15,450 --> 00:19:20,890
First up, to enter OSPF configuration mode\n
224
00:19:23,150 --> 00:19:28,100
A router can run multiple OSPF processes at\n
225
00:19:30,730 --> 00:19:34,940
Typically you’ll just use a single OSPF\n
226
00:19:37,058 --> 00:19:43,359
If you remember the EIGRP configuration, you\n
227
00:19:44,359 --> 00:19:49,479
For EIGRP routers to become neighbors, their\n
228
00:19:49,480 --> 00:19:53,250
However, the OSPF process ID is different.
229
00:19:53,250 --> 00:19:56,880
The OSPF process ID is locally significant.
230
00:19:56,880 --> 00:20:01,420
Routers with different process IDs can become\nOSPF neighbors.
231
00:20:01,420 --> 00:20:08,019
Usually I just use process ID 1, but you\n
232
00:20:08,019 --> 00:20:15,029
process ID 2 on R2, and they would still become\n
233
00:20:15,029 --> 00:20:18,648
Note that this process ID is totally unrelated\nto the area.
234
00:20:18,648 --> 00:20:22,009
You’ll see next that the area is configured\nseparately.
235
00:20:22,009 --> 00:20:27,548
So, next I attempted to use the network command\n
236
00:20:27,548 --> 00:20:31,889
Note that OSPF uses wildcard masks just like\nin EIGRP.
237
00:20:31,890 --> 00:20:35,570
If you need to review them, go back and watch\nDay 25’s video.
238
00:20:35,569 --> 00:20:38,389
Basically, it’s an inverse subnet mask.
239
00:20:38,390 --> 00:20:43,790
Anyway, I tried to use that command but then\n
240
00:20:43,789 --> 00:20:49,299
That’s because the OSPF network command\n
241
00:20:49,299 --> 00:20:54,639
So I activated OSPF on all of these interfaces,\nin area 0.
242
00:20:54,640 --> 00:20:59,750
Once again, for the CCNA you only need to\n
243
00:21:02,079 --> 00:21:06,759
For single area OSPF it’s actually possible\n
244
00:21:10,210 --> 00:21:14,160
Before moving on, let me review the function\n
245
00:21:17,079 --> 00:21:21,408
The network commands tells OSPF to look for\n
246
00:21:21,409 --> 00:21:26,550
in the range specified in the network command,\n
247
00:21:29,079 --> 00:21:35,089
For example, in the first network command\n
248
00:21:37,500 --> 00:21:45,630
R1’s G0/0 interface has an IP address of\n
249
00:21:45,630 --> 00:21:51,950
So, OSPF will be activated on G0/0 in area\n0.
250
00:21:51,950 --> 00:21:56,659
When OSPF is activated on the interface, the\n
251
00:21:56,659 --> 00:22:00,250
with other OSPF-activated neighbor routers.
252
00:22:00,250 --> 00:22:04,880
In this case, R1 will become OSPF neighbors\nwith R2 and R3.
253
00:22:04,880 --> 00:22:08,370
I’ll explain that process in depth in the\nnext video.
254
00:22:08,369 --> 00:22:13,329
So, just remember that the NETWORK command\n
255
00:22:15,519 --> 00:22:18,930
It doesn’t tell the router ‘advertise\nthese networks’.
256
00:22:18,930 --> 00:22:23,149
But we already covered that in the last video,\n
257
00:22:26,440 --> 00:22:29,558
First up, the PASSIVE-INTERFACE command.
258
00:22:29,558 --> 00:22:35,230
You already know this command from RIP and\n
259
00:22:35,230 --> 00:22:39,750
The passive-interface command tells the router\n
260
00:22:42,180 --> 00:22:47,160
OSPF uses hello messages to tell other routers\n
261
00:22:48,909 --> 00:22:53,220
However, the router will continue to send\n
262
00:22:53,220 --> 00:22:55,519
subnet configured on the interface.
263
00:22:55,519 --> 00:23:01,789
So, although R1 won’t send hellos out of\n
264
00:23:01,789 --> 00:23:08,460
still tell its other neighbors about the 172.16.1.0/28\nnetwork.
265
00:23:08,460 --> 00:23:12,240
You should always use this command on interfaces\n
266
00:23:12,240 --> 00:23:17,099
It’s a waste to continuously send hello\n
267
00:23:18,450 --> 00:23:26,850
So, that’s the PASSIVE-INTERFACE command,\n
268
00:23:26,849 --> 00:23:31,289
Next up let’s see how to advertise a default\n
269
00:23:32,289 --> 00:23:36,450
So, I’ve added an Internet connection to\nR1.
270
00:23:36,450 --> 00:23:41,259
Then I configured a default route on R1, and\n
271
00:23:44,329 --> 00:23:47,000
Here is that information in the routing table of\nR1.
272
00:23:47,000 --> 00:23:54,240
Feel free to pause here if you want to check\n
273
00:23:54,359 --> 00:23:58,798
Just like I showed you in RIP, the command\n
274
00:23:58,798 --> 00:24:01,759
DEFAULT-INFORMATION ORIGINATE.
275
00:24:01,759 --> 00:24:05,849
In OSPF this will cause the router to create\n
276
00:24:05,849 --> 00:24:11,599
I checked R2’s routing table, and you can\n
277
00:24:12,778 --> 00:24:15,970
R3 and R4 would also do the same.
278
00:24:15,970 --> 00:24:22,669
Now let’s take a look at the SHOW IP PROTOCOLS\n
279
00:24:22,669 --> 00:24:25,470
check out some other commands as well.
280
00:24:25,470 --> 00:24:28,548
Up top it says ‘routing protocol is ospf\n1’.
281
00:24:28,548 --> 00:24:32,690
1 is the process ID I configured earlier.
282
00:24:32,690 --> 00:24:37,650
OSPF also uses a router ID, and the router\n
283
00:24:41,269 --> 00:24:46,349
Here is the order of priority when determining\n
284
00:24:46,349 --> 00:24:51,990
First up, if you manually configure the router\n
285
00:24:51,990 --> 00:24:57,140
If you don’t manually configure the router\n
286
00:24:59,640 --> 00:25:04,350
If the router has no loopback interfaces with\n
287
00:25:04,349 --> 00:25:07,288
physical interface will become the router\nID.
288
00:25:07,288 --> 00:25:13,869
Currently R1’s router ID is 172.16.1.14,\n
289
00:25:13,869 --> 00:25:18,259
router ID, and I also haven’t configured\n
290
00:25:18,259 --> 00:25:22,240
Let’s see how to manually configure the\nrouter ID.
291
00:25:22,240 --> 00:25:26,940
From OSPF configuration mode, use the ROUTER-ID\ncommand.
292
00:25:26,940 --> 00:25:33,529
This is a little different from EIGRP, in\n
293
00:25:36,460 --> 00:25:43,579
So, I entered a router ID of 1.1.1.1, but\n
294
00:25:43,579 --> 00:25:49,079
Reload or use ‘clear ip ospf process’\n
295
00:25:49,079 --> 00:25:57,949
So currently, the router ID is still 172.16.1.14,\n
296
00:25:57,950 --> 00:26:02,960
reload the router or use that command to clear\n
297
00:26:02,960 --> 00:26:10,308
I did that, from privileged exec mode I used\n
298
00:26:10,308 --> 00:26:14,389
This basically resets OSPF on the router.
299
00:26:14,390 --> 00:26:18,929
This is a bad idea in a real network, and\n
300
00:26:18,929 --> 00:26:23,788
for a short time and won’t be able to forward\n
301
00:26:23,788 --> 00:26:27,019
In a lab like this, however, it’s not a\nproblem.
302
00:26:27,019 --> 00:26:31,029
As a side note, notice the ‘no’ in square\nbrackets.
303
00:26:31,029 --> 00:26:35,970
When you see this after entering a command,\n
304
00:26:35,970 --> 00:26:41,700
If you just press enter, the router will assume\n
305
00:26:41,700 --> 00:26:44,850
However I typed ‘yes’, so it was cleared.
306
00:26:44,849 --> 00:26:53,039
Then I did SHOW IP PROTOCOLS again and you\n
307
00:26:53,039 --> 00:26:55,609
Now let’s look at the rest of the command.
308
00:26:55,609 --> 00:26:59,779
Take a look here, ‘It is an autonomous system\nboundary router’.
309
00:26:59,779 --> 00:27:06,730
An autonomous system boundary router, or ASBR,\n
310
00:27:08,539 --> 00:27:11,349
R1 is connected to the Internet.
311
00:27:11,349 --> 00:27:16,898
By using the DEFAULT-INFORMATION ORIGINATE\n
312
00:27:16,898 --> 00:27:19,109
OSPF network to the Internet.
313
00:27:19,109 --> 00:27:23,908
So, that’s why we see this output here on\nR1.
314
00:27:23,909 --> 00:27:26,820
Next up, number of areas in this router is\n1.
315
00:27:31,690 --> 00:27:36,210
These are three different types of OSPF areas,\n
316
00:27:36,210 --> 00:27:40,740
types for the CCNA, just wanted to point out\n
317
00:27:40,740 --> 00:27:45,240
router is in, just one because this is single-area\nOSPF.
318
00:27:49,069 --> 00:27:56,769
Unlike EIGRP, OSPF doesn’t support unequal-cost\n
319
00:27:56,769 --> 00:28:00,200
over a maximum of 4 paths by default.
320
00:28:00,200 --> 00:28:05,409
To change the maximum number of paths, use\n
321
00:28:07,798 --> 00:28:10,400
Here I changed the number to 8.
322
00:28:10,400 --> 00:28:14,669
The ‘routing for networks’ section shows\n
323
00:28:14,669 --> 00:28:20,860
To repeat myself, this only determines which\n
324
00:28:20,859 --> 00:28:24,689
tell OSPF to flood LSAs for these specific\nnetworks.
325
00:28:24,690 --> 00:28:30,730
Here’s the passive interface we configured,\n
326
00:28:30,730 --> 00:28:37,028
Notice the router IDs, I configured these\n
327
00:28:37,028 --> 00:28:39,619
their IP addresses became the router IDs.
328
00:28:39,619 --> 00:28:46,659
Finally, down here OSPF’s AD is displayed,\n
329
00:28:46,660 --> 00:28:51,670
If you want to change it, the command is the\n
330
00:28:51,670 --> 00:28:56,400
From OSPF configuration mode, just use the\ncommand DISTANCE.
331
00:28:56,400 --> 00:29:02,639
For example, I changed it to 85, so OSPF routes\n
332
00:29:04,569 --> 00:29:08,538
We covered a lot of information, but lots\n
333
00:29:08,538 --> 00:29:11,259
learned about RIP and EIGRP.
334
00:29:11,259 --> 00:29:14,500
Of course, there was plenty of new information\ntoo.
335
00:29:14,500 --> 00:29:17,109
Before moving on to the quiz, let’s review\nwhat we covered.
336
00:29:17,109 --> 00:29:23,699
I gave a basic overview of OSPF operations,\n
337
00:29:23,700 --> 00:29:25,788
we will cover in more depth later.
338
00:29:29,089 --> 00:29:34,629
Although the CCNA only requires you to configure\n
339
00:29:37,140 --> 00:29:42,769
Make sure to remember those basic OSPF rules\n
340
00:29:42,769 --> 00:29:46,659
autonomous system boundary router, ASBR.
341
00:29:46,659 --> 00:29:50,010
Finally we looked at some basic OSPF configurations.
342
00:29:50,009 --> 00:29:55,390
Most of these were the same as in RIP and\n
343
00:29:55,390 --> 00:29:59,300
Make sure to watch until the end of the quiz\n
344
00:29:59,299 --> 00:30:05,829
CCNA, the best practice exams for the CCNA\n
345
00:30:05,829 --> 00:30:09,869
If you want to get Boson ExSim, follow the\n
346
00:30:13,089 --> 00:30:16,500
Which of the following statements about OSPF\nare not true?
347
00:30:17,619 --> 00:30:25,639
A, In multi-area OSPF networks, all non-backbone\n
348
00:30:25,640 --> 00:30:30,059
B, Single-area OSPF must use area 0.
349
00:30:30,058 --> 00:30:36,028
C, Two OSPF routers with different process\n
350
00:30:36,028 --> 00:30:41,038
D, The OSPF area must be specified in the\nnetwork command.
351
00:30:41,038 --> 00:30:48,650
E, An ASBR connects the internal OSPF network\n
352
00:30:48,650 --> 00:30:53,759
And F, The OSPF process ID must match the\narea number.
353
00:30:53,759 --> 00:30:58,929
Pause the video to think about the answers,\nselect two.
354
00:30:58,929 --> 00:31:05,570
The answers are B and F. Although it is common\n
355
00:31:05,569 --> 00:31:07,990
you can actually use any area.
356
00:31:07,990 --> 00:31:11,460
And the OSPF process ID does not have to match\nthe area number.
357
00:31:11,460 --> 00:31:17,620
In fact, in multi-area OSPF there will be\n
358
00:31:17,619 --> 00:31:21,869
so it’s impossible to match the process\nID to all area IDs.
359
00:31:21,869 --> 00:31:23,548
The other statements are all true.
360
00:31:27,138 --> 00:31:33,229
You want to activate OSPF on R1’s G0/1 and\n
361
00:31:33,230 --> 00:31:43,278
G0/1’s IP address is 10.0.12.1/28, and G0/2’s\n
362
00:31:43,278 --> 00:31:46,798
Which of the following commands should you\nuse on R1?
363
00:31:46,798 --> 00:31:54,279
Here are the commands, A, B, C, and D. Pause\n
364
00:31:59,400 --> 00:32:07,419
The answer is C, NETWORK 10.0.12.0 0.0.1.255\narea 0.
365
00:32:07,419 --> 00:32:11,530
This is the only option that contains both\n
366
00:32:11,529 --> 00:32:14,389
one that activates OSPF on both interfaces.
367
00:32:18,000 --> 00:32:21,159
Answer the following questions about the OSPF\nnetwork below.
368
00:32:21,159 --> 00:32:24,309
1, How many backbone routers are there?
369
00:32:27,390 --> 00:32:30,649
And 3, How many ASBRs are there?
370
00:32:30,648 --> 00:32:37,619
Pause the video now to answer each of these\nquestions.
371
00:32:37,619 --> 00:32:40,339
Okay let’s check each of them.
372
00:32:40,339 --> 00:32:42,649
How many backbone routers are there?
373
00:32:44,278 --> 00:32:48,009
These 4 routers are backbone routers because\n
374
00:32:54,579 --> 00:33:00,750
These 3 routers have interfaces in 2 separate\n
375
00:33:00,750 --> 00:33:04,000
Finally, how many ASBRs are there?
376
00:33:04,000 --> 00:33:09,730
Just one, This router here connects the OSPF\n
377
00:33:09,730 --> 00:33:12,159
a default route into the OSPF domain.
378
00:33:16,319 --> 00:33:20,668
Which of the following commands will make\nR1 an OSPF ASBR?
379
00:33:21,750 --> 00:33:32,980
A, B, C, and D. Pause the video to look at\n
380
00:33:32,980 --> 00:33:38,139
The correct answer is B, which first configures\n
381
00:33:38,138 --> 00:33:42,638
OSPF using the DEFAULT-INFORMATION ORIGINATE\ncommand.
382
00:33:42,638 --> 00:33:49,269
Option A simply configures two network commands\n
383
00:33:49,269 --> 00:33:54,519
Option C activates OSPF on ALL interfaces\n
384
00:33:58,470 --> 00:34:00,210
Option D is not a real command.
385
00:34:04,200 --> 00:34:08,300
Which command can be used to manually configure\n
386
00:34:09,818 --> 00:34:21,769
A, B, C, and D. Pause the video to examine\n
387
00:34:21,769 --> 00:34:29,579
The correct answer is A, ROUTER-ID 1.1.1.1,\n
388
00:34:29,579 --> 00:34:36,210
The command to manually configure the EIGRP\n
389
00:34:39,019 --> 00:34:42,789
Option C configures an IP address on a loopback\ninterface.
390
00:34:42,789 --> 00:34:47,679
If the router ID isn’t manually configured\n
391
00:34:47,679 --> 00:34:51,610
ID, but it’s different than manually configuring\nthe router ID.
392
00:34:51,610 --> 00:34:58,099
That’s all for the quiz, now let’s do\n
393
00:34:58,099 --> 00:35:03,409
Okay, here's today's Boson ExSim practice\nquestion.
394
00:35:03,409 --> 00:35:06,269
You administer the OSPF network above.
395
00:35:06,269 --> 00:35:10,349
You issue the DEFAULT-INFORMATION ORIGINATE\ncommand on RouterA.
396
00:35:10,349 --> 00:35:12,519
Which of the following statements are true?
397
00:35:14,489 --> 00:35:18,309
A, OSPF will advertise RouterA's gateway of\nlast resort.
398
00:35:18,309 --> 00:35:22,159
B, RouterA will become the OSPF ABR.
399
00:35:22,159 --> 00:35:26,639
C, OSPF will summarize all of RouterA's directly\n
400
00:35:26,639 --> 00:35:30,949
D, RouterA will become the OSPF ASBR.
401
00:35:30,949 --> 00:35:35,169
And E, OSPF will redistribute all of RouterA's\n
402
00:35:35,170 --> 00:35:44,300
Okay, so pause the video here to think about\nyour answer.
403
00:35:44,300 --> 00:35:46,150
Okay, so let's check the answer.
404
00:35:48,269 --> 00:35:52,409
We used the DEFAULT-INFORMATION ORIGINATE\n
405
00:35:52,409 --> 00:35:55,358
as well as the previous video on RIP and EIGRP.
406
00:35:55,358 --> 00:36:01,739
So, what this command does is it advertises\n
407
00:36:04,588 --> 00:36:07,730
So that means A is one of the correct options.
408
00:36:07,730 --> 00:36:12,409
OSPF will advertise RouterA's gateway of last\n
409
00:36:12,409 --> 00:36:18,489
Okay, next, it's either B or D, is the second\ncorrect choice.
410
00:36:18,489 --> 00:36:25,419
Will RouterA become the OSPF ABR, or will\n
411
00:36:25,420 --> 00:36:28,019
So, an ABR is an Area Border Router.
412
00:36:28,019 --> 00:36:34,259
It is an OSPF router that has interfaces in\n
413
00:36:34,260 --> 00:36:36,869
backbone area, and one other area.
414
00:36:36,869 --> 00:36:42,990
Now, an ASBR, Autonomous System Boundary Router,\n
415
00:36:42,989 --> 00:36:46,489
external network, outside of the OSPF domain.
416
00:36:46,489 --> 00:36:52,519
And it shares information into the OSPF domain\n
417
00:36:52,519 --> 00:36:58,920
So that makes D the correct answer, because\n
418
00:36:58,920 --> 00:37:04,460
the Internet, for example, and RouterA advertises\n
419
00:37:05,719 --> 00:37:08,739
Click on 'show answer' down here.
420
00:37:10,949 --> 00:37:14,449
So this is Boson's explanation of this question.
421
00:37:14,449 --> 00:37:19,899
Not only why A and D are the correct options,\n
422
00:37:19,900 --> 00:37:24,780
So, pause the video here if you want to read\n
423
00:37:24,780 --> 00:37:29,990
In addition to Boson's explanation, there\n
424
00:37:29,989 --> 00:37:33,059
OSPF Command Reference: default-information\noriginate.
425
00:37:33,059 --> 00:37:36,630
So, Cisco's documentation is a really great\nstudy resource.
426
00:37:36,630 --> 00:37:41,130
If you ever have any doubts about some certain\n
427
00:37:41,130 --> 00:37:43,539
and Cisco's documentation often comes up.
428
00:37:43,539 --> 00:37:46,570
So, you can use that as an additional study\nresource.
429
00:37:46,570 --> 00:37:51,289
Okay, so if you want to get a copy of Boson\n
430
00:37:52,710 --> 00:37:58,108
These are the practice exams I used when I\n
431
00:37:59,170 --> 00:38:04,539
So once again, follow that link in the video\ndescription.
432
00:38:04,539 --> 00:38:08,099
There are supplementary materials for this\nvideo.
433
00:38:08,099 --> 00:38:10,640
There is a flashcard deck to use with the\nsoftware ‘Anki’.
434
00:38:10,639 --> 00:38:16,190
There will also be a packet tracer practice\n
435
00:38:16,190 --> 00:38:18,900
That will be in the next video.
436
00:38:18,900 --> 00:38:22,340
Sign up for my mailing list via the link in\n
437
00:38:22,340 --> 00:38:27,568
the flashcards and packet tracer lab files\nfor the course.
438
00:38:27,568 --> 00:38:32,550
Before finishing today’s video I want to\n
439
00:38:32,550 --> 00:38:38,990
Thank you to Venkatesh, kone, Joshua, Jhilmar,\n
440
00:38:38,989 --> 00:38:47,098
funnydart, Scott, Hassan, Gerrard, Tibi, Joyce,\n
441
00:38:47,099 --> 00:38:53,539
Yousif, Sidi, Boson Software, Charlesetta,\n
442
00:38:53,539 --> 00:38:58,710
Sorry if I pronounced your name incorrectly,\n
443
00:38:58,710 --> 00:39:03,230
One of you is still displaying as Channel\n
444
00:39:03,230 --> 00:39:06,250
me know and I’ll see if YouTube can fix\nit.
445
00:39:06,250 --> 00:39:11,338
This is the list of JCNP-level channel members\n
446
00:39:12,750 --> 00:39:16,929
If you signed up recently and your name isn’t\n
447
00:39:20,150 --> 00:39:24,559
Please subscribe to the channel, like the\n
448
00:39:24,559 --> 00:39:27,900
with anyone else studying for the CCNA.
449
00:39:27,900 --> 00:39:30,780
If you want to leave a tip, check the links\nin the description.
450
00:39:30,780 --> 00:39:36,519
I'm also a Brave verified publisher and accept\n
37196
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.