Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
1
00:00:03,169 --> 00:00:06,549
This is a free, complete course for the CCNA.
2
00:00:06,549 --> 00:00:10,529
If you like these videos, please subscribe\n
3
00:00:10,529 --> 00:00:15,109
Also, please like and leave a comment, and\n
4
00:00:18,149 --> 00:00:22,009
In this video we will continue our studies\nof OSPF.
5
00:00:22,010 --> 00:00:25,960
In part 1 I introduced the basic functions\nof OSPF.
6
00:00:25,960 --> 00:00:30,419
In this video I will cover more important\n
7
00:00:32,109 --> 00:00:37,950
To review, OSPF is item 3.4 on the official\nexam topics list.
8
00:00:37,950 --> 00:00:42,859
You already know the basics of configuring\n
9
00:00:44,640 --> 00:00:47,579
Let’s see what we’ll cover in this video.
10
00:00:51,039 --> 00:00:54,969
First up OSPF’s metric, which as you know\nis called cost.
11
00:00:54,969 --> 00:01:00,620
It’s not so difficult to understand, so\n
12
00:01:00,619 --> 00:01:03,729
The next topic will be how routers become\nOSPF neighbors.
13
00:01:03,729 --> 00:01:08,789
I’ve mentioned OSPF neighbors previously,\n
14
00:01:13,189 --> 00:01:17,189
Finally I’ll introduce some more OSPF configurations.
15
00:01:17,189 --> 00:01:21,079
Make sure to stick around until the end of\n
16
00:01:23,689 --> 00:01:29,929
ExSim is a set of practice exams for the CCNA\n
17
00:01:30,969 --> 00:01:35,719
I highly recommend them, so make sure to check\n
18
00:01:35,719 --> 00:01:39,450
in the video description to get Boson ExSim\nfor yourself.
19
00:01:43,060 --> 00:01:47,350
As you already know, OSPF’s metric is called\n‘cost’.
20
00:01:47,349 --> 00:01:51,839
It is automatically calculated based on the\n
21
00:01:53,650 --> 00:01:58,859
You can also manually configure the cost of\n
22
00:01:58,859 --> 00:02:03,680
The interface’s cost is calculated by dividing\n
23
00:02:06,280 --> 00:02:10,299
The default OSPF reference bandwidth is 100\nmegabits per second.
24
00:02:10,299 --> 00:02:16,030
So, for example a regular Ethernet interface\n
25
00:02:16,030 --> 00:02:21,688
an OSPF cost of 10, because 100 divided by\n10 equals 10.
26
00:02:21,688 --> 00:02:26,540
A FastEthernet interface, with a speed of\n
27
00:02:26,540 --> 00:02:30,628
of 1, because 100 divided by 100 is 1.
28
00:02:30,628 --> 00:02:36,759
Now, what about a gigabit Ethernet interface,\n
29
00:02:36,759 --> 00:02:42,929
It has a cost of 1, even though 100 divided\nby 1000 equals 0.1.
30
00:02:42,930 --> 00:02:48,459
And what about a 10-gig Ethernet interface,\n
31
00:02:48,459 --> 00:02:53,658
It also has a cost of 1, even though 100 divided\n
32
00:02:55,780 --> 00:03:02,140
Well, in OSPF all values less than 1 will\nbe converted to 1.
33
00:03:02,139 --> 00:03:07,488
Therefore FastEthernet, Gigabit Ethernet,\n
34
00:03:12,060 --> 00:03:15,680
So, here is the same network topology as before.
35
00:03:15,680 --> 00:03:19,438
Let’s check out the cost of R3’s F2/0\ninterface.
36
00:03:19,438 --> 00:03:25,098
I used the SHOW IP OSPF INTERFACE F2/0 command.
37
00:03:26,370 --> 00:03:29,549
It’s actually displayed in two places.
38
00:03:31,979 --> 00:03:36,818
As I said, the default cost of a FastEthernet\n
39
00:03:36,818 --> 00:03:43,268
100 megabits per second and the reference\n
40
00:03:43,269 --> 00:03:47,590
Now let’s check out the default OSPF cost\n
41
00:03:47,590 --> 00:03:56,319
I entered SHOW IP OSPF INTERFACE G0/0, and\n
42
00:03:56,318 --> 00:03:59,310
Clearly the default situation is not ideal.
43
00:03:59,310 --> 00:04:01,959
Fortunately, you can change this.
44
00:04:01,959 --> 00:04:07,489
You can, and should, change the reference\n
45
00:04:08,729 --> 00:04:14,619
AUTO-COST REFERENCE-BANDWIDTH, followed by\n
46
00:04:14,620 --> 00:04:18,040
Let’s take a look at that command.
47
00:04:18,040 --> 00:04:23,720
As I showed in the previous slide, the reference\n
48
00:04:23,720 --> 00:04:29,360
I configured 100,000, so what will the cost\n
49
00:04:30,639 --> 00:04:36,680
100,000 divided by 100 is 1000, so that’s\n
50
00:04:39,670 --> 00:04:46,069
100,000 divided by 1000 is 100, so that’s\n
51
00:04:46,069 --> 00:04:49,589
Why configure such a large number for the\nreference bandwidth?
52
00:04:49,589 --> 00:04:54,769
Well, you should configure a reference bandwidth\n
53
00:04:57,920 --> 00:05:03,420
The 100 (*100,000) megabits per second I configured\n
54
00:05:03,420 --> 00:05:08,280
gigabit per second interface, which is 100\n
55
00:05:08,279 --> 00:05:11,209
this network, regular gigabit ethernet.
56
00:05:11,209 --> 00:05:15,979
Finally, notice this message that is displayed\n
57
00:05:15,980 --> 00:05:20,780
‘Please ensure reference bandwidth is consistent\n
58
00:05:20,779 --> 00:05:25,900
So, to provide a consistent cost for each\n
59
00:05:25,901 --> 00:05:30,530
should configure the same reference bandwidth\n
60
00:05:30,529 --> 00:05:38,500
Okay, I set the same OSPF reference bandwidth\n
61
00:05:38,500 --> 00:05:44,430
The OSPF cost to a destination is the total\n
62
00:05:44,430 --> 00:05:47,280
This is just like spanning tree cost.
63
00:05:47,279 --> 00:05:54,419
For example, R1’s cost to reach 192.168.4.0/24\nis what?
64
00:05:54,420 --> 00:06:05,120
To reach 192.168.4.0, a packet would exit\n
65
00:06:05,120 --> 00:06:10,610
So that’s 100 plus 100 plus 100, for a total\ncost of 300.
66
00:06:10,610 --> 00:06:14,620
We’ll check R1’s routing table soon, but\none more thing.
67
00:06:14,620 --> 00:06:17,459
Loopback interfaces have a cost of 1.
68
00:06:17,459 --> 00:06:25,519
So, what is R1’s cost to reach 2.2.2.2,\n
69
00:06:25,519 --> 00:06:32,689
To reach 2.2.2.2, the packet must exit R1’s\n
70
00:06:32,689 --> 00:06:38,410
Now, it doesn’t actually exit any physical\n
71
00:06:38,410 --> 00:06:40,640
but the cost of 1 is added to the metric.
72
00:06:40,639 --> 00:06:47,149
So, R1’s cost to reach 2.2.2.2 is 101.
73
00:06:47,149 --> 00:06:52,219
Here is R1’s routing table before changing\n
74
00:06:52,220 --> 00:06:57,100
so they all have the default reference bandwidth\n
75
00:06:57,100 --> 00:07:04,930
Notice that it has two routes to 192.168.4.0,\n
76
00:07:04,930 --> 00:07:09,511
Even though the connection between R3 and\n
77
00:07:09,511 --> 00:07:14,830
has the same cost of 1 as the gigabit Ethernet\ninterfaces.
78
00:07:14,829 --> 00:07:19,469
And here is R1’s routing table after changing\n
79
00:07:22,360 --> 00:07:29,170
Now R1 only inserts one route to 192.168.4.0\n
80
00:07:31,680 --> 00:07:38,720
Notice the cost to 2.2.2.2 is 101, like we\n
81
00:07:38,720 --> 00:07:43,330
Now let me introduce how to manually configure\n
82
00:07:43,329 --> 00:07:49,279
The command is IP OSPF COST, followed by the\n
83
00:07:49,279 --> 00:07:53,429
You configure this directly on the interface,\n
84
00:07:55,740 --> 00:08:01,269
For example, I configured the cost of R1’s\n
85
00:08:01,269 --> 00:08:06,169
see the cost is 10,000 instead of 100.
86
00:08:06,170 --> 00:08:10,550
One more option to change the OSPF cost of\n
87
00:08:10,550 --> 00:08:13,860
the interface with the BANDWIDTH command.
88
00:08:13,860 --> 00:08:19,580
To review, the formula to calculate OSPF cost\n
89
00:08:20,579 --> 00:08:25,959
I showed you how to change the reference bandwidth,\n
90
00:08:25,959 --> 00:08:31,579
Now, I have to make clear the difference between\n
91
00:08:31,579 --> 00:08:36,028
Although the bandwidth matches the interface\n
92
00:08:36,028 --> 00:08:40,538
doesn’t actually change the speed at which\n
93
00:08:40,538 --> 00:08:47,419
The bandwidth is just a value that is used\n
94
00:08:47,419 --> 00:08:52,328
To change the speed at which the interface\n
95
00:08:52,328 --> 00:08:57,278
This is how you actually change the speed\n
96
00:08:57,278 --> 00:09:02,198
If you change the bandwidth of a gigabit Ethernet\n
97
00:09:02,198 --> 00:09:04,629
still operate at 1 gigabit per second.
98
00:09:04,629 --> 00:09:09,958
However, for the purpose of OSPF’s cost\n
99
00:09:12,649 --> 00:09:17,568
Because the bandwidth value is used in other\n
100
00:09:17,568 --> 00:09:22,979
not recommended to change this value to alter\n
101
00:09:22,980 --> 00:09:27,909
It is recommended that you change the reference\n
102
00:09:27,909 --> 00:09:31,120
to change the cost of individual interfaces\nif you want.
103
00:09:31,120 --> 00:09:36,009
However, if you want to change the bandwidth\n
104
00:09:36,009 --> 00:09:40,389
BANDWIDTH, followed by the bandwidth in kilobits\nper second.
105
00:09:40,389 --> 00:09:43,839
Note that this is different than the reference\n
106
00:09:45,188 --> 00:09:49,480
The interface bandwidth command is entered\n
107
00:09:49,480 --> 00:09:53,379
Before you enter any command like this, I\n
108
00:09:53,379 --> 00:09:55,990
check the units the command is entered in.
109
00:09:55,990 --> 00:10:00,850
For example commands involving time, some\n
110
00:10:02,230 --> 00:10:07,440
For commands involving speed, some are entered\n
111
00:10:08,458 --> 00:10:11,528
Always check to make sure you’re entering\nthe correct units.
112
00:10:13,769 --> 00:10:17,299
There are three ways to modify the OSPF cost.
113
00:10:17,299 --> 00:10:19,758
First is to change the reference bandwidth.
114
00:10:19,759 --> 00:10:24,519
The command is AUTO-COST REFERENCE-BANDWIDTH\n
115
00:10:24,519 --> 00:10:28,490
per second, entered in OSPF config mode.
116
00:10:28,490 --> 00:10:32,990
Next is to manually configure the OSPF cost\n
117
00:10:32,990 --> 00:10:37,039
COST, entered in interface config mode.
118
00:10:37,039 --> 00:10:41,439
Finally you can also change the interface\n
119
00:10:41,440 --> 00:10:46,230
The command is BANDWIDTH, followed by the\n
120
00:10:47,899 --> 00:10:53,528
I already showed you the SHOW IP OSPF INTERFACE\n
121
00:10:53,528 --> 00:10:56,939
the OSPF cost of each interface.
122
00:10:56,940 --> 00:11:02,880
SHOW IP OSPF INTERFACE BRIEF gives a convenient\n
123
00:11:03,879 --> 00:11:07,818
Okay, let’s move on to the next topic.
124
00:11:07,818 --> 00:11:12,909
This is another very important topic in OSPF,\nOSPF neighbors.
125
00:11:12,909 --> 00:11:17,588
Making sure that routers successfully become\n
126
00:11:20,568 --> 00:11:24,819
Once routers become neighbors, they automatically\n
127
00:11:26,799 --> 00:11:31,870
So, you just have to make sure that OSPF is\n
128
00:11:31,870 --> 00:11:36,448
the proper conditions are met to allow the\n
129
00:11:36,448 --> 00:11:42,338
Of course, there are more advanced OSPF configurations\n
130
00:11:43,639 --> 00:11:49,528
However, if routers can’t become OSPF neighbors,\n
131
00:11:50,528 --> 00:11:54,619
So, how do routers become OSPF neighbors?
132
00:11:54,619 --> 00:12:00,329
When OSPF is activated on an interface, the\n
133
00:12:00,328 --> 00:12:05,289
out of the interface at regular intervals\n
134
00:12:05,289 --> 00:12:09,318
These are used to introduce the router to\n
135
00:12:09,318 --> 00:12:14,319
By exchanging hello messages they check that\n
136
00:12:14,320 --> 00:12:17,528
and then negotiate their neighbor relationship.
137
00:12:17,528 --> 00:12:21,730
By the way, the default hello timer is 10\n
138
00:12:23,210 --> 00:12:30,389
OSPF hello messages are multicast to the IP\n
139
00:12:30,389 --> 00:12:33,430
address for all OSPF routers.
140
00:12:33,429 --> 00:12:36,079
Do you remember RIP’s multicast address?
141
00:12:43,779 --> 00:12:49,179
Also, OSPF messages are encapsulated in an\n
142
00:12:49,190 --> 00:12:53,930
the IP header has a value of 89 to indicate\nOSPF.
143
00:12:53,929 --> 00:12:59,289
If you need a review of the IP header, go\n
144
00:12:59,289 --> 00:13:04,889
Okay, for OSPF routers to become neighbors\n
145
00:13:04,889 --> 00:13:08,698
I’ll give a basic overview of each of the\nneighbor states.
146
00:13:08,698 --> 00:13:11,708
I recommend taking notes for this section.
147
00:13:11,708 --> 00:13:15,578
Although it will be just a basic overview,\n
148
00:13:17,250 --> 00:13:23,528
So, let’s assume OSPF is already activated\n
149
00:13:23,528 --> 00:13:28,119
Then, OSPF is activated on R1’s G0/0 interface.
150
00:13:28,119 --> 00:13:33,028
It sends an OSPF hello message to 224.0.0.5.
151
00:13:33,028 --> 00:13:38,159
There are more fields in the hello message,\n
152
00:13:39,690 --> 00:13:45,870
However, R1 doesn’t know about R2 yet, so\n
153
00:13:45,870 --> 00:13:52,698
R1 doesn’t know about any OSPF neighbors\n
154
00:13:52,698 --> 00:13:57,129
This is the first OSPF neighbor state, ‘Down’.
155
00:13:57,129 --> 00:14:03,470
When R2 receives the Hello packet, it will\n
156
00:14:03,470 --> 00:14:09,050
In R2’s neighbor table, the relationship\n
157
00:14:09,049 --> 00:14:13,929
Note that R1 still doesn’t know about R2,\n
158
00:14:15,009 --> 00:14:20,470
Basically, the Init state means that a Hello\n
159
00:14:20,470 --> 00:14:22,879
ID is not in the Hello packet.
160
00:14:22,879 --> 00:14:30,409
R2’s router ID is 2.2.2.2, but the neighbor\n
161
00:14:34,850 --> 00:14:37,170
The next state is the 2-way state.
162
00:14:37,169 --> 00:14:41,669
R2 will send a Hello packet containing the\nRID of both routers.
163
00:14:41,669 --> 00:14:46,919
R1 will insert R2 into its OSPF neighbor table\n
164
00:14:46,919 --> 00:14:53,409
Then, R1 will send another Hello message,\n
165
00:14:53,409 --> 00:14:57,039
Now both routers are in the 2-way state.
166
00:14:57,039 --> 00:15:03,068
The 2-way state means the router has received\n
167
00:15:03,068 --> 00:15:06,938
If both routers reach the 2-way state, it\n
168
00:15:06,938 --> 00:15:10,299
met for them to become OSPF neighbors.
169
00:15:10,299 --> 00:15:15,028
They are now ready to share LSAs to build\na common LSDB.
170
00:15:15,028 --> 00:15:19,808
On the other hand, if they fail to reach this\n
171
00:15:19,808 --> 00:15:22,819
and find what’s stopping them from reaching\nit.
172
00:15:22,820 --> 00:15:29,199
In some network types, a DR (Designated Router)\n
173
00:15:31,178 --> 00:15:37,328
I will talk about OSPF network types and DR/BDR\n
174
00:15:38,328 --> 00:15:42,599
I just wanted to introduce the terms, DR and\nBDR.
175
00:15:42,600 --> 00:15:46,720
At this point, the routers are already OSPF\nneighbors.
176
00:15:46,720 --> 00:15:52,129
Over the next few neighbor states they will\n
177
00:15:52,129 --> 00:15:56,958
Let’s go to the next neighbor state.
178
00:15:56,958 --> 00:16:00,739
After the 2-way state, the two routers will\n
179
00:16:02,970 --> 00:16:06,240
Before that, they have to choose which one\n
180
00:16:06,240 --> 00:16:11,269
So, they will decide which one will be the\n
181
00:16:12,730 --> 00:16:17,709
Note that these are different than the DR\n
182
00:16:17,708 --> 00:16:24,318
This Master/Slave relationship is only needed\n
183
00:16:24,318 --> 00:16:29,938
They decide which will be the Master and which\n
184
00:16:29,938 --> 00:16:35,039
The router with the higher RID will become\n
185
00:16:35,039 --> 00:16:38,278
The router with the lower RID will become\nthe Slave.
186
00:16:38,278 --> 00:16:43,759
So, in this case R2 will be the master and\nR1 will be the slave.
187
00:16:43,759 --> 00:16:50,068
To decide the Master and Slave, they exchange\n
188
00:16:50,068 --> 00:16:54,610
DBD packets are also important in the next\n
189
00:16:55,778 --> 00:17:00,659
Basically, the Exstart state is just to prepare\n
190
00:17:00,659 --> 00:17:04,678
R1 sends a DBD packet claiming to be the master.
191
00:17:07,159 --> 00:17:13,589
R2 has the higher router ID, and says that\n
192
00:17:13,588 --> 00:17:18,798
In the next state, the Exchange state, the\n
193
00:17:22,159 --> 00:17:27,659
These DBDs do not include detailed information\n
194
00:17:27,659 --> 00:17:31,179
their neighbor what LSAs they have.
195
00:17:31,179 --> 00:17:35,490
Basically the routers are telling each other,\n
196
00:17:35,490 --> 00:17:38,160
actually sending the LSAs yet.
197
00:17:38,160 --> 00:17:42,320
The routers compare the information in the\n
198
00:17:42,319 --> 00:17:48,099
own LSDB to determine which LSAs they must\n
199
00:17:48,099 --> 00:17:53,699
After exchanging DBDs, they move to the next\nstate.
200
00:17:53,700 --> 00:17:56,548
The next state is the Loading state.
201
00:17:56,548 --> 00:18:02,129
In the Loading state, routers send Link State\n
202
00:18:02,130 --> 00:18:05,690
neighbors send them any LSAs they don’t\nhave.
203
00:18:05,690 --> 00:18:10,990
In the Exchange state they exchanged DBD packets,\n
204
00:18:11,990 --> 00:18:17,390
So, these LSRs are used to request any missing\n
205
00:18:18,400 --> 00:18:24,190
I’ll just show one side of the exchange,\n
206
00:18:26,339 --> 00:18:32,129
Then the LSAs themselves are sent in Link\n
207
00:18:32,130 --> 00:18:36,380
R2 sends R1 the requested LSAs in an LSU like\nthis.
208
00:18:36,380 --> 00:18:39,510
R1 will also do the same for R2.
209
00:18:39,509 --> 00:18:45,460
Finally, The routers send LSAck messages,\n
210
00:18:48,549 --> 00:18:52,750
Now the loading state is complete, and the\n
211
00:18:52,750 --> 00:18:56,609
We’ve reached the final OSPF state.
212
00:18:56,609 --> 00:19:03,009
In the Full state, the routers have a full\n
213
00:19:03,009 --> 00:19:05,500
But that doesn’t mean things are complete.
214
00:19:05,500 --> 00:19:10,099
They continue to send and listen for Hello\n
215
00:19:10,099 --> 00:19:13,109
to maintain the neighbor adjacency.
216
00:19:13,109 --> 00:19:17,949
To maintain the adjacency another timer called\n
217
00:19:17,950 --> 00:19:23,000
Every time a Hello packet is received, the\n
218
00:19:24,210 --> 00:19:29,990
However, if the Dead timer counts down to\n
219
00:19:32,759 --> 00:19:37,200
If the neighbors remain up, the routers will\n
220
00:19:37,200 --> 00:19:41,500
to make sure each router has a complete and\n
221
00:19:41,500 --> 00:19:45,829
This is the main advantage of dynamic routing\n
222
00:19:45,829 --> 00:19:51,408
to changes in the network and add, remove,\n
223
00:19:51,409 --> 00:19:54,740
Let’s summarize that process.
224
00:19:54,740 --> 00:20:00,500
First of all, the connection between R1 and\n
225
00:20:03,388 --> 00:20:08,398
The first state is the Down state, R1 and\n
226
00:20:08,398 --> 00:20:11,009
send hello packets out of their interfaces.
227
00:20:11,009 --> 00:20:15,450
Let’s assume that R1 sends the first Hello\npacket.
228
00:20:15,450 --> 00:20:21,279
The Init state is when R2 receives that first\n
229
00:20:24,500 --> 00:20:30,339
In the 2-way state, the routers exchange more\n
230
00:20:30,339 --> 00:20:37,000
in R2’s Hellos, and R2’s router ID is\nincluded in R1’s Hellos.
231
00:20:37,000 --> 00:20:42,509
In some kinds of OSPF connections an election\n
232
00:20:44,609 --> 00:20:48,428
I will talk about this more in Day 28.
233
00:20:50,829 --> 00:20:55,808
The routers exchange DBD packets to determine\n
234
00:20:58,038 --> 00:21:03,538
The Master is the router that starts the DBD\n
235
00:21:03,538 --> 00:21:08,379
They exchange DBD packets to tell each other\n
236
00:21:08,380 --> 00:21:11,850
The next state is the Loading state.
237
00:21:11,849 --> 00:21:18,048
They use LSRs, Link State Requests, to request\n
238
00:21:18,048 --> 00:21:22,660
The LSAs are sent in LSU, Link State Update,\npackets.
239
00:21:22,660 --> 00:21:29,600
Finally, LSAck packets are sent to acknowledge\n
240
00:21:29,599 --> 00:21:36,048
Finally, the routers reach the Full state,\n
241
00:21:36,048 --> 00:21:38,990
Do you remember this slide from Day 26?
242
00:21:38,990 --> 00:21:43,759
The three main steps in the process of sharing\n
243
00:21:43,759 --> 00:21:53,029
destination are 1, become neighbors, 2, exchange\n
244
00:21:53,029 --> 00:21:57,930
Looking at this process again, these first\n
245
00:21:57,930 --> 00:22:03,230
three involve exchanging LSAs to synchronize\n
246
00:22:03,230 --> 00:22:06,480
I taught you to calculate the best route to\neach destination.
247
00:22:06,480 --> 00:22:10,190
That’s a basic overview of how OSPF works.
248
00:22:10,190 --> 00:22:16,710
Also, here’s a quick summary chart of the\n
249
00:22:16,710 --> 00:22:23,278
Notice that they are numbered from 1 to 5,\n
250
00:22:23,278 --> 00:22:27,740
I already described the basic purpose of each\n
251
00:22:27,740 --> 00:22:34,470
here or take a screenshot if you want to use\n
252
00:22:34,470 --> 00:22:38,960
After that overview, let’s take another\n
253
00:22:38,960 --> 00:22:42,250
understand the output a little better now.
254
00:22:42,250 --> 00:22:47,359
Here is SHOW IP OSPF NEIGHBOR, I entered it\non R1.
255
00:22:47,359 --> 00:22:51,139
Note the full state with both neighbors R2\nand R3.
256
00:22:51,140 --> 00:22:54,669
Also, both R2 and R3 are DRs.
257
00:22:54,669 --> 00:22:58,780
Again, I will explain DRs in the next video.
258
00:23:00,759 --> 00:23:06,720
This counts down from 40, but resets as soon\n
259
00:23:06,720 --> 00:23:12,789
So, assuming a Hello packet is received every\n
260
00:23:12,789 --> 00:23:16,950
to 40, count down to 30, reset to 40, etc.
261
00:23:16,950 --> 00:23:25,350
Now let’s take another look at SHOW IP OSPF\n
262
00:23:25,349 --> 00:23:30,609
You can see the default Hello and Dead timers\nof 10 and 40 here.
263
00:23:30,609 --> 00:23:35,479
Hello due in 7 seconds means that R1 will\n
264
00:23:35,480 --> 00:23:40,279
in 7 seconds, as it does once every 10 seconds.
265
00:23:40,279 --> 00:23:43,829
Neighbor count is 1, adjacent neighbor count\nis 1.
266
00:23:43,829 --> 00:23:49,639
R1 has only 1 neighbor connected to its G0/0\n
267
00:23:49,640 --> 00:23:54,840
In the next video I’ll tell you the difference\n
268
00:23:54,839 --> 00:24:00,849
Finally, adjacent neighbor 2.2.2.2, designated\nrouter.
269
00:24:00,849 --> 00:24:05,419
As we saw above in SHOW IP OSPF NEIGHBOR,\n
270
00:24:05,420 --> 00:24:11,038
Again, I’ll talk about that in Day 28, but\n
271
00:24:12,500 --> 00:24:17,429
Okay, that’s all for OSPF neighbors for\n
272
00:24:18,579 --> 00:24:23,259
Let’s move on to look at a little bit more\nOSPF configuration.
273
00:24:23,259 --> 00:24:30,109
I already showed you a few new OSPF configurations\n
274
00:24:30,109 --> 00:24:35,008
the AUTO-COST REFERENCE-BANDWIDTH command\n
275
00:24:35,009 --> 00:24:40,190
So, let’s just look at a couple additional\nconfigurations.
276
00:24:40,190 --> 00:24:43,470
First off, do you remember the purpose of\nthe NETWORK command?
277
00:24:43,470 --> 00:24:48,960
It’s the same for RIP, EIGRP, and OSPF.
278
00:24:48,960 --> 00:24:53,319
It simply tells the router which interfaces\n
279
00:24:53,319 --> 00:24:58,919
Well, you can actually enable OSPF directly\n
280
00:25:00,259 --> 00:25:05,029
For example, let’s assume that R1 has no\n
281
00:25:05,029 --> 00:25:09,440
Here’s how to enable OSPF on the interfaces.
282
00:25:09,440 --> 00:25:15,870
You can activate OSPF directly on an interface\n
283
00:25:15,869 --> 00:25:20,548
process ID, then AREA, and the area ID.
284
00:25:20,548 --> 00:25:24,148
Note that this is done from interface configuration\nmode.
285
00:25:24,148 --> 00:25:29,048
Now OSPF is enabled on those interfaces and\n
286
00:25:30,089 --> 00:25:34,689
Next, another method to configure passive\ninterfaces.
287
00:25:37,079 --> 00:25:42,168
You can configure all of the router’s interfaces\n
288
00:25:42,169 --> 00:25:44,940
the command PASSIVE-INTERFACE DEFAULT.
289
00:25:44,940 --> 00:25:52,558
Then, you can use the command NO PASSIVE-INTERFACE\n
290
00:25:52,558 --> 00:25:55,778
This is simply another way to configure passive\ninterfaces.
291
00:25:55,778 --> 00:26:00,269
Depending on the number of passive interfaces\n
292
00:26:00,269 --> 00:26:03,159
faster, or perhaps the normal method is faster.
293
00:26:03,159 --> 00:26:07,299
Either way, the effect is the same.
294
00:26:07,298 --> 00:26:12,028
If you configure OSPF directly on the interfaces,\n
295
00:26:14,490 --> 00:26:19,259
The ‘routing for networks’ section is\n
296
00:26:19,259 --> 00:26:25,000
OSPF on are displayed here, ‘routing on\n
297
00:26:25,000 --> 00:26:28,099
The rest of the output is the same, however.
298
00:26:28,099 --> 00:26:33,469
Before moving on to today’s quiz, let’s\nreview what we covered.
299
00:26:33,470 --> 00:26:37,519
First up I showed you OSPF’s metric, called\ncost.
300
00:26:37,519 --> 00:26:41,970
By default it is automatically calculated\n
301
00:26:41,970 --> 00:26:44,120
actual bandwidth of the interface.
302
00:26:44,119 --> 00:26:49,918
However, if the result is a value less than\n
303
00:26:49,919 --> 00:26:54,880
The default reference bandwidth is 100, so\n
304
00:26:54,880 --> 00:26:58,899
per second has an equal cost of 1.
305
00:26:58,898 --> 00:27:04,859
You can modify the reference bandwidth with\n
306
00:27:04,859 --> 00:27:11,298
You can also manually configure the cost of\n
307
00:27:11,298 --> 00:27:16,100
One more option to modify an interface’s\n
308
00:27:16,101 --> 00:27:19,110
command, although this isn’t the recommended\nmethod.
309
00:27:19,109 --> 00:27:25,928
Finally, a route’s metric is the total cost\n
310
00:27:25,929 --> 00:27:29,269
Next we studied the process routers use to\n
311
00:27:32,169 --> 00:27:35,000
This is probably the most difficult section\nof this lecture.
312
00:27:35,000 --> 00:27:40,619
I recommend watching it a few times, and perhaps\n
313
00:27:40,619 --> 00:27:44,928
states’ to learn more about the process.
314
00:27:44,929 --> 00:27:48,990
Finally I introduced a couple more OSPF configurations.
315
00:27:48,990 --> 00:27:53,160
Instead of using the NETWORK command, you\n
316
00:27:55,359 --> 00:28:00,038
As an alternative method of configuring passive\n
317
00:28:00,038 --> 00:28:05,339
as passive with the PASSIVE-INTERFACE DEFAULT\n
318
00:28:07,839 --> 00:28:12,178
Make sure to watch until the end of today’s\n
319
00:28:12,179 --> 00:28:17,570
for CCNA, a set of practice exams for the\n
320
00:28:19,128 --> 00:28:22,619
Okay, let’s go on to quiz question 1.
321
00:28:22,619 --> 00:28:27,239
Put the OSPF neighbor states in the correct\norder.
322
00:28:27,240 --> 00:28:31,450
Here are the neighbor states, order them from\n1 to 7.
323
00:28:31,450 --> 00:28:38,019
Pause the video now to think about your answer.
324
00:28:39,490 --> 00:28:47,169
Down, Init, 2-way, Exstart, Exchange, Loading,\nand Full.
325
00:28:47,169 --> 00:28:51,671
A full explanation of each state would take\n
326
00:28:51,671 --> 00:28:54,380
remember the order and purpose of each state.
327
00:28:58,380 --> 00:29:03,980
Which statement about OSPF’s default cost\n
328
00:29:05,230 --> 00:29:09,710
b) Ethernet and FastEthernet interfaces have\nthe same cost.
329
00:29:09,710 --> 00:29:16,720
c) FastEthernet, Gigabit Ethernet, and 10Gig\n
330
00:29:16,720 --> 00:29:22,298
And d) Ethernet, FastEthernet, Gigabit Ethernet,\n
331
00:29:23,298 --> 00:29:29,058
Pause the video to think about the answer.
332
00:29:29,058 --> 00:29:34,168
The answer is C, FastEthernet, Gigabit Ethernet,\n
333
00:29:36,119 --> 00:29:41,219
The cost is calculated by dividing the reference\n
334
00:29:41,220 --> 00:29:46,329
The default reference bandwidth is 100 megabits\n
335
00:29:47,940 --> 00:29:52,870
However, anything faster than that will have\n
336
00:29:59,190 --> 00:30:03,860
In which OSPF neighbor state are the Master\n
337
00:30:11,259 --> 00:30:16,288
Pause the video to think about the answer.
338
00:30:18,480 --> 00:30:23,200
A Master and Slave need to be decided in the\nExstart state.
339
00:30:23,200 --> 00:30:27,720
The Master is the router that will start the\n
340
00:30:27,720 --> 00:30:35,019
following state, the Exchange state, which\n
341
00:30:35,019 --> 00:30:41,440
router and backup designated router are selected\n
342
00:30:41,440 --> 00:30:48,330
In D, the Loading state, LSRs, LSUs, and LSAcks\n
343
00:30:53,720 --> 00:30:58,048
Which of these commands can be used to make\n
344
00:30:59,679 --> 00:31:03,470
A, AUTO-COST REFERENCE-BANDWIDTH 100.
345
00:31:10,069 --> 00:31:16,439
Pause the video to think about your answer.
346
00:31:16,440 --> 00:31:20,269
The answer is C, AUTO-COST REFERENCE-BANDWIDTH\n10,000.
347
00:31:20,269 --> 00:31:26,220
Once again, the cost is calculated by dividing\n
348
00:31:26,220 --> 00:31:31,569
A FastEthernet interface has a bandwidth of\n
349
00:31:31,569 --> 00:31:38,058
10,000 divided by 100 equals 100, so you should\n
350
00:31:42,788 --> 00:31:47,558
What are the default OSPF Hello / Dead timers\n
351
00:31:49,230 --> 00:31:53,720
A, Hello, 2 seconds, Dead 20 seconds.
352
00:31:53,720 --> 00:31:57,600
B, Hello 10 seconds, Dead 40 seconds.
353
00:31:57,599 --> 00:32:01,969
C, Hello 30 seconds, Dead 120 seconds.
354
00:32:01,970 --> 00:32:06,850
Or D, Hello 60 seconds, Dead 180 seconds.
355
00:32:06,849 --> 00:32:13,158
Pause the video to think about your answer.
356
00:32:13,159 --> 00:32:18,370
The answer is B, the default Hello timer on\n
357
00:32:18,369 --> 00:32:20,649
default Dead timer is 40 seconds.
358
00:32:20,650 --> 00:32:25,769
Now, I haven’t mentioned this in this video,\n
359
00:32:25,769 --> 00:32:32,339
default OSPF timers are actually 30 and 120,\n
360
00:32:34,259 --> 00:32:38,220
I’ll talk about some other kinds of connections\nin Day 28.
361
00:32:38,220 --> 00:32:40,470
Okay, that’s all for the quiz.
362
00:32:40,470 --> 00:32:45,528
Let’s take a look at a bonus question from\nBoson ExSim for CCNA.
363
00:32:45,528 --> 00:32:50,298
Okay, here is today's Boson ExSim practice\nquestion.
364
00:32:50,298 --> 00:32:54,369
You administer the OSPF network shown in the\ndiagram above.
365
00:32:54,369 --> 00:33:00,199
The AUTO-COST REFERENCE-BANDWIDTH 1000 command\n
366
00:33:00,200 --> 00:33:04,980
What is the cost of the route from RouterA\nto RouterC?
367
00:33:13,079 --> 00:33:20,000
Pause the video to think about your answer.
368
00:33:21,339 --> 00:33:27,398
So, you set the reference bandwidth to 1000\n
369
00:33:27,398 --> 00:33:33,278
would mean that these gigabit ethernet connections,\n
370
00:33:33,278 --> 00:33:36,950
1000 divided by 1000 equals 1.
371
00:33:36,950 --> 00:33:42,960
On the other hand, these 100 megabit per second\n
372
00:33:42,960 --> 00:33:46,730
because, of course, 1000 divided by 100 is\n10.
373
00:33:46,730 --> 00:33:52,278
So, ideally we will avoid any fastethernet\n
374
00:33:52,278 --> 00:33:54,558
as a gigabitethernet interface.
375
00:33:54,558 --> 00:34:01,359
So, the shortest route without passing through\n
376
00:34:01,359 --> 00:34:04,298
to RouterB, that is a cost of 1.
377
00:34:04,298 --> 00:34:07,778
RouterB to RouterE, plus 1 so 2.
378
00:34:07,778 --> 00:34:10,960
RouterE to RouterC, plus 1 so 3.
379
00:34:10,960 --> 00:34:18,168
So the total cost from RouterA to B to E to\nC is 3.
380
00:34:22,199 --> 00:34:25,259
Here is Boson's explanation, quite detailed.
381
00:34:25,260 --> 00:34:28,200
And they of course show you the diagram with\n
382
00:34:28,199 --> 00:34:35,769
RouterA to B to E to C. Okay, so you can pause\n
383
00:34:39,380 --> 00:34:45,139
And they also include some references, or\n
384
00:34:45,139 --> 00:34:48,068
OSPF Design Guide: OSPF Cost.
385
00:34:48,068 --> 00:34:52,329
This Cisco documentation is available free\n
386
00:34:52,329 --> 00:34:55,619
So I highly recommend checking it out.
387
00:34:55,619 --> 00:35:00,950
Okay, so if you want to get a copy of Boson\n
388
00:35:02,139 --> 00:35:07,879
These are the practice exams I used myself\n
389
00:35:08,880 --> 00:35:13,800
Once again, follow the link in the video description.
390
00:35:13,800 --> 00:35:17,019
There are supplementary materials for this\nvideo.
391
00:35:17,019 --> 00:35:20,730
There is a flashcard deck to use with the\nsoftware ‘Anki’.
392
00:35:20,730 --> 00:35:25,829
There will also be a packet tracer practice\n
393
00:35:25,829 --> 00:35:28,730
That will be in the next video.
394
00:35:28,730 --> 00:35:32,530
Sign up for my mailing list via the link in\n
395
00:35:32,530 --> 00:35:38,809
the flashcards and packet tracer lab files\nfor the course.
396
00:35:38,809 --> 00:35:43,670
Before finishing today’s video I want to\n
397
00:35:43,670 --> 00:35:50,820
Thank you to Marko, Florian, Daming, Venkatesh,\n
398
00:35:50,820 --> 00:35:58,769
Justin, John, funnydart, Scott, Hassan, Gerrard,\n
399
00:35:58,769 --> 00:36:06,099
Mark, Miguel, Yousif, Sidi, Boson Software,\n
400
00:36:07,099 --> 00:36:11,969
Sorry if I pronounced your name incorrectly,\n
401
00:36:11,969 --> 00:36:16,409
One of you is still displaying as Channel\n
402
00:36:16,409 --> 00:36:20,089
me know and I’ll see if YouTube can fix\nit.
403
00:36:20,090 --> 00:36:25,519
This is the list of JCNP-level channel members\n
404
00:36:27,210 --> 00:36:31,250
If you signed up recently and your name isn’t\n
405
00:36:35,460 --> 00:36:39,429
Please subscribe to the channel, like the\n
406
00:36:39,429 --> 00:36:42,699
with anyone else studying for the CCNA.
407
00:36:42,699 --> 00:36:45,519
If you want to leave a tip, check the links\nin the description.
408
00:36:45,519 --> 00:36:51,389
I'm also a Brave verified publisher and accept\n
33554
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.