Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
1
00:00:04,990 --> 00:00:08,388
This is a free, complete course for the CCNA.
2
00:00:08,388 --> 00:00:12,660
If you like these videos, please subscribe\n
3
00:00:12,660 --> 00:00:17,198
Also, please like and leave a comment, and\n
4
00:00:20,460 --> 00:00:25,210
In this video we will continue our study of\n
5
00:00:25,210 --> 00:00:28,509
version called rapid spanning tree.
6
00:00:28,509 --> 00:00:34,579
More specifically, we’ll be looking at Cisco’s\n
7
00:00:34,579 --> 00:00:38,909
You saw in the previous lecture that classic\n
8
00:00:38,909 --> 00:00:44,359
to 50 seconds for the network to converge\n
9
00:00:44,359 --> 00:00:49,899
As the name implies, rapid spanning tree improves\n
10
00:00:52,600 --> 00:00:57,100
Because rapid spanning tree is superior to\n
11
00:00:57,100 --> 00:01:03,280
most devices now, and the CCNA exam topics\n
12
00:01:03,280 --> 00:01:07,719
However I think it is important to understand\n
13
00:01:07,719 --> 00:01:12,819
about classic spanning tree, rapid spanning\n
14
00:01:12,819 --> 00:01:17,609
Let’s take a look at what we’ll cover\nin this video.
15
00:01:17,609 --> 00:01:22,459
First up, let’s take a few minutes to compare\n
16
00:01:22,459 --> 00:01:31,969
In the past few videos I’ve mentioned multiple\n
17
00:01:33,640 --> 00:01:39,109
Just so there is no confusion, I will summarize\n
18
00:01:39,109 --> 00:01:42,670
standards and the Cisco proprietary versions.
19
00:01:42,670 --> 00:01:47,049
Then the rest of the video will be all about\n
20
00:01:47,049 --> 00:01:52,010
which operates on Cisco switches, rapid per-VLAN\n
21
00:01:52,010 --> 00:01:56,740
Also, make sure to watch until the end of\n
22
00:01:56,739 --> 00:02:02,530
a bonus question from Boson Software’s ExSim\n
23
00:02:02,530 --> 00:02:05,689
the CCNA which I highly recommend.
24
00:02:05,689 --> 00:02:10,568
Ask anywhere on the Internet for CCNA practice\n
25
00:02:12,900 --> 00:02:17,180
If you want to get a copy of ExSim to prepare\n
26
00:02:18,759 --> 00:02:23,899
Let’s start by summarizing the different\n
27
00:02:23,900 --> 00:02:29,158
On the left I will list the industry standard\n
28
00:02:29,158 --> 00:02:34,138
On the right I will list the Cisco proprietary\n
29
00:02:36,310 --> 00:02:42,509
First up, the classic spanning tree protocol,\n
30
00:02:42,509 --> 00:02:47,509
This is the original spanning tree protocol,\n
31
00:02:47,509 --> 00:02:53,818
in 1990, although the original spanning tree\n
32
00:02:55,620 --> 00:03:00,579
In classic STP, all VLANs share one STP instance.
33
00:03:00,579 --> 00:03:06,409
Therefore, we cannot load balance using classic\n
34
00:03:06,408 --> 00:03:10,560
cannot block different ports in each VLAN\n
35
00:03:10,560 --> 00:03:14,329
So, Cisco decided to improve upon this.
36
00:03:14,329 --> 00:03:17,450
They developed Per-VLAN Spanning Tree Plus.
37
00:03:17,449 --> 00:03:22,149
Actually, before that they developed regular\n
38
00:03:22,150 --> 00:03:28,849
before only supported ISL trunk encapsulation,\n
39
00:03:28,848 --> 00:03:32,718
since everyone uses dot1q for their trunk\n
40
00:03:32,718 --> 00:03:40,479
It’s Cisco’s upgrade to 802.1D. Each VLAN\n
41
00:03:40,479 --> 00:03:45,619
In the previous lab video when we configured\n
42
00:03:45,620 --> 00:03:50,609
command, for example spanning-tree vlan 1\nroot primary.
43
00:03:50,609 --> 00:03:55,760
That’s because a separate STP instance is\nrunning for each VLAN.
44
00:03:56,959 --> 00:04:01,688
Well, as you know already, we can load balance\n
45
00:04:04,169 --> 00:04:08,310
We can use our network bandwidth more effectively,\n
46
00:04:08,310 --> 00:04:12,468
totally unused, just waiting for another connection\nto fail.
47
00:04:12,468 --> 00:04:18,810
Now, as you also know, classic spanning tree\n
48
00:04:18,810 --> 00:04:25,459
The max age timer is 20 seconds, and the listening\n
49
00:04:25,459 --> 00:04:29,478
it can take up to 50 seconds to respond to\n
50
00:04:29,478 --> 00:04:33,560
That’s simply not fast enough for modern\nnetworks.
51
00:04:33,560 --> 00:04:39,860
This was solved in rapid spanning tree protocol,\n
52
00:04:39,860 --> 00:04:47,180
It is much faster at converging and adapting\n
53
00:04:47,180 --> 00:04:54,038
like 802.1D, the industry standard rapid spanning\n
54
00:04:55,449 --> 00:04:59,460
Therefore, it also cannot load balance.
55
00:04:59,459 --> 00:05:04,549
Cisco once again developed an improved version\n
56
00:05:08,589 --> 00:05:15,369
It is Cisco’s upgrade to 802.1w, featuring\n
57
00:05:15,370 --> 00:05:18,620
a separate STP instance for each VLAN.
58
00:05:18,620 --> 00:05:24,030
Therefore, it can load balance by blocking\n
59
00:05:26,560 --> 00:05:33,189
The final version is Multiple Spanning Tree\n
60
00:05:33,189 --> 00:05:36,389
It uses modified RSTP mechanics.
61
00:05:36,389 --> 00:05:41,670
But the main improvement is that it can group\n
62
00:05:41,670 --> 00:05:49,098
example if there are 10 VLANs, VLANs 1 to\n
63
00:05:49,098 --> 00:05:52,469
2, to perform load balancing.
64
00:05:52,470 --> 00:05:57,120
Finally an industry standard version of STP\n
65
00:05:57,120 --> 00:06:00,579
superior to Cisco’s rapid-PVST.
66
00:06:00,579 --> 00:06:06,359
If you have many VLANs, let’s say 200, in\n
67
00:06:06,360 --> 00:06:09,509
root bridges in each VLAN is a lot of work.
68
00:06:09,509 --> 00:06:17,250
However, with MSTP, all you have to do is\n
69
00:06:17,250 --> 00:06:23,228
101 to 200 to instance 2, and then configure\n
70
00:06:23,228 --> 00:06:29,188
instance 1 and instance 2, so its much easier\n
71
00:06:29,189 --> 00:06:34,550
Actually, Cisco hasn’t developed their own\n
72
00:06:38,279 --> 00:06:43,659
For large networks, it’s best to use MSTP,\n
73
00:06:43,660 --> 00:06:50,300
a huge number of VLANs, Cisco’s Rapid PVST+\n
74
00:06:50,300 --> 00:06:52,759
and that’s the version we’ll be focusing\non today.
75
00:06:52,759 --> 00:06:57,379
It’s also the version that is mentioned\n
76
00:06:57,379 --> 00:07:03,149
Also, all of this information here applies\n
77
00:07:03,149 --> 00:07:06,810
version that runs on Cisco switches.
78
00:07:06,810 --> 00:07:12,999
The good news is, since you already understand\n
79
00:07:12,999 --> 00:07:19,219
to learn rapid STP and rapid PVST+ by comparing\n
80
00:07:22,560 --> 00:07:26,990
Before getting in to the details, here is\n
81
00:07:26,990 --> 00:07:35,810
RSTP is not a timer-based spanning tree algorithm\n
82
00:07:35,810 --> 00:07:41,579
over the 30 seconds or more that 802.1D takes\n
83
00:07:41,579 --> 00:07:46,468
The heart of the protocol is a new bridge-bridge\n
84
00:07:47,990 --> 00:07:57,840
So, that’s the big difference between RSTP\n
85
00:07:57,839 --> 00:08:02,568
determine when it’s safe to move to the\n
86
00:08:02,569 --> 00:08:07,340
to ensure that no loops are accidentally created\n
87
00:08:07,339 --> 00:08:11,909
Back when the original STP was created, it\n
88
00:08:11,910 --> 00:08:16,330
50 seconds to react to a change and start\nforwarding traffic.
89
00:08:16,329 --> 00:08:18,538
However that’s no longer the case.
90
00:08:18,538 --> 00:08:24,259
So, RSTP uses a ‘handshake’ mechanism,\n
91
00:08:24,259 --> 00:08:29,330
with other switches and move ports immediately\n
92
00:08:29,329 --> 00:08:34,500
Okay, now I will introduce some of the specifics\nof RSTP.
93
00:08:34,500 --> 00:08:40,210
By the way, I will probably say RSTP sometimes,\n
94
00:08:40,210 --> 00:08:42,860
Really, I’m talking about the same thing.
95
00:08:42,860 --> 00:08:48,639
Cisco’s Rapid PVST+ operates the same as\n
96
00:08:48,639 --> 00:08:54,189
instance for each VLAN, so I will use the\n
97
00:08:54,190 --> 00:09:00,750
Let’s summarize some similarities between\nSTP and RSTP.
98
00:09:00,750 --> 00:09:06,259
First of all, RSTP serves the same purpose\n
99
00:09:07,820 --> 00:09:12,310
RSTP elects a root bridge with the same rules\nas STP.
100
00:09:12,309 --> 00:09:16,789
I’m sure you know it by now, the switch\n
101
00:09:18,039 --> 00:09:21,949
RSTP also elects root ports with the same\nrules as STP.
102
00:09:21,950 --> 00:09:28,070
So, the interface with the lowest root cost\n
103
00:09:28,070 --> 00:09:31,790
neighbor bridge ID and then neighbor port\nID.
104
00:09:31,789 --> 00:09:35,740
You studied this in day 20’s video, our\nfirst video on STP.
105
00:09:35,740 --> 00:09:40,669
Finally, RSTP elects designated ports with\n
106
00:09:40,669 --> 00:09:47,719
So, the interface on the switch with the lowest\n
107
00:09:47,720 --> 00:09:50,759
on the other switch will be non-designated.
108
00:09:50,759 --> 00:09:56,970
If there is a tie, the switch with the lowest\n
109
00:09:56,970 --> 00:10:02,759
Cisco has said that RSTP isn’t a ‘revolution’\n
110
00:10:02,759 --> 00:10:07,639
It made some major improvements to speed up\n
111
00:10:09,570 --> 00:10:14,730
Now let’s look at some of the differences\nof STP and RSTP.
112
00:10:14,730 --> 00:10:18,620
First up, port costs were updated for rapid\nspanning tree.
113
00:10:18,620 --> 00:10:23,769
Classic spanning tree defines port speeds\n
114
00:10:23,769 --> 00:10:26,529
than this are all given a cost of 1.
115
00:10:26,529 --> 00:10:31,509
To accommodate for faster speeds, RSTP’s\n
116
00:10:31,509 --> 00:10:40,350
2 million for 10 mbps, 2 hundred thousand\n
117
00:10:40,350 --> 00:10:48,269
for 10 gbps, 200 for 100 gbps, and 20 for\n1 Tbps.
118
00:10:48,269 --> 00:10:52,819
Beyond this, a 10 terabit-per-second interface\n
119
00:10:52,820 --> 00:10:57,060
Use the flashcards to remember the port costs\n
120
00:10:57,059 --> 00:11:03,859
Here’s a slide from day 21, the different\n
121
00:11:03,860 --> 00:11:09,050
Hopefully you remember these states, which\n
122
00:11:09,049 --> 00:11:13,019
traffic, which ones learn MAC addresses, etc.
123
00:11:13,019 --> 00:11:18,919
However, rapid spanning tree simplifies the\n
124
00:11:18,919 --> 00:11:21,549
three of these states into one.
125
00:11:21,549 --> 00:11:27,159
The three states that are combined into one\n
126
00:11:27,159 --> 00:11:32,889
Actually, a more accurate way is to say the\n
127
00:11:32,889 --> 00:11:36,879
into one, and the listening state is simply\nnot used.
128
00:11:36,879 --> 00:11:42,659
So, the listening state is gone, and the blocking\n
129
00:11:44,419 --> 00:11:49,309
If a port is administratively disabled, meaning\n
130
00:11:49,309 --> 00:11:52,669
it will be in a discarding state in RSTP.
131
00:11:52,669 --> 00:11:55,679
This was previously the disabled state.
132
00:11:55,679 --> 00:12:00,169
If a port is enabled but blocking traffic\n
133
00:12:02,009 --> 00:12:04,789
This was previously the blocking state.
134
00:12:07,500 --> 00:12:13,940
Remember, the three original port roles are\n
135
00:12:13,940 --> 00:12:17,570
The root port role remains unchanged in RSTP.
136
00:12:17,570 --> 00:12:22,180
The port that is closest to the root bridge\n
137
00:12:22,179 --> 00:12:25,829
Of course, ‘closest’ means the port with\nthe lowest root cost.
138
00:12:25,830 --> 00:12:30,470
Also, the root bridge is the only switch that\n
139
00:12:30,470 --> 00:12:36,149
So, these points are the same as what you\n
140
00:12:36,149 --> 00:12:40,559
The designated port role also remains unchanged\nin RSTP.
141
00:12:40,559 --> 00:12:44,989
The port on a segment (which is another name\n
142
00:12:44,990 --> 00:12:50,341
BPDU is that segment’s designated port,\n
143
00:12:52,200 --> 00:12:56,680
The other port on the segment is either a\n
144
00:12:58,360 --> 00:13:04,800
However, the non-designated port role was\n
145
00:13:04,799 --> 00:13:08,849
Those are the alternate port role and the\nbackup port role.
146
00:13:08,850 --> 00:13:13,200
Let’s break down those two roles.
147
00:13:13,200 --> 00:13:15,700
First up, the alternate port role.
148
00:13:15,700 --> 00:13:21,660
The RSTP alternate port role is a discarding\n
149
00:13:23,809 --> 00:13:28,569
This is the same as what you’ve already learned\n
150
00:13:28,570 --> 00:13:33,350
In our little topology down here, SW1 is the\nroot bridge.
151
00:13:33,350 --> 00:13:39,430
When BPDUs are sent in this topology, SW3\n
152
00:13:39,429 --> 00:13:44,229
It’s superior because the bridge ID of SW2\nis lower than SW3.
153
00:13:44,230 --> 00:13:51,050
So, SW2’s interface is designated, and SW3’s\n
154
00:13:51,049 --> 00:13:55,370
An alternate port basically functions as a\n
155
00:13:55,370 --> 00:14:00,440
If the root port fails, the switch can immediately\n
156
00:14:02,190 --> 00:14:07,980
If SW3’s root port fails, its alternate\n
157
00:14:07,980 --> 00:14:11,180
port, with no transitional states.
158
00:14:11,179 --> 00:14:15,929
This immediate move to forwarding state functions\n
159
00:14:18,539 --> 00:14:25,139
Because it is built into RSTP, you do not\n
160
00:14:26,929 --> 00:14:31,469
We didn’t look at UplinkFast in the previous\n
161
00:14:31,470 --> 00:14:36,450
list, but try to remember that its functions\n
162
00:14:36,450 --> 00:14:39,200
get asked about that on the exam.
163
00:14:39,200 --> 00:14:46,190
So, UplinkFast is one STP optional feature\n
164
00:14:46,190 --> 00:14:50,430
Since I just mentioned one, I’d like to\n
165
00:14:52,039 --> 00:14:56,829
Neither of these are on the exam topics list\n
166
00:14:56,830 --> 00:15:03,300
but just be aware of their general functionality,\n
167
00:15:03,299 --> 00:15:09,219
One more STP optional feature that was built\n
168
00:15:09,220 --> 00:15:14,550
Let’s say SW2’s root port is cut off,\n
169
00:15:15,870 --> 00:15:21,289
It will then assume it is the root bridge,\n
170
00:15:21,289 --> 00:15:30,219
However, SW3 is now receiving BPDUs from both\n
171
00:15:32,929 --> 00:15:39,089
Without this backbonefast functionality, SW3\n
172
00:15:39,090 --> 00:15:44,180
it’s non-designated port, in classic STP,\n
173
00:15:44,179 --> 00:15:50,870
forwards the superior BPDUs to SW2, which\n
174
00:15:50,870 --> 00:15:57,110
However, BackboneFast allows SW3 to expire\n
175
00:15:57,110 --> 00:16:01,090
forward the superior BPDUs to SW2.
176
00:16:01,090 --> 00:16:05,460
This functionality is built into RSTP, so\n
177
00:16:05,460 --> 00:16:09,680
So, that’s a very basic explanation of BackboneFast.
178
00:16:09,679 --> 00:16:15,009
Let’s look at a quick summary on the next\nslide.
179
00:16:15,009 --> 00:16:20,870
UplinkFast and BackboneFast are two optional\n
180
00:16:20,870 --> 00:16:24,919
They must be configured to operate on the\n
181
00:16:28,299 --> 00:16:33,509
Both features are built into RSTP, so if the\n
182
00:16:34,720 --> 00:16:38,570
They operate by default on all switches running\nRSTP.
183
00:16:38,570 --> 00:16:44,030
Finally, You do not need to have a detailed\n
184
00:16:44,029 --> 00:16:49,799
I recommend that you know their names and\n
185
00:16:49,799 --> 00:16:53,399
ports move to forwarding without delay.
186
00:16:53,399 --> 00:16:58,649
If you want to learn more, do a Google search\n
187
00:17:01,159 --> 00:17:05,449
Learning how to effectively search on Google\n
188
00:17:05,449 --> 00:17:08,230
a good network engineer, to be honest.
189
00:17:08,230 --> 00:17:12,640
We Google things all the time in our daily\n
190
00:17:14,839 --> 00:17:19,909
So, if you ever want to learn more about a\n
191
00:17:19,910 --> 00:17:24,720
to improve your Google skills and try to search\n
192
00:17:24,720 --> 00:17:31,620
Okay, after that little detour, let’s look\n
193
00:17:31,619 --> 00:17:35,669
We just saw the alternate port role, which\n
194
00:17:35,670 --> 00:17:38,860
we saw in the previous lectures.
195
00:17:38,859 --> 00:17:42,319
Next up lets look at the backup port role.
196
00:17:42,319 --> 00:17:48,259
The RSTP backup port role is a discarding\n
197
00:17:51,319 --> 00:17:56,039
This only happens when two interfaces are\n
198
00:17:57,539 --> 00:18:02,920
Notice that there is now an ethernet hub connected\n
199
00:18:02,920 --> 00:18:09,029
When BPDUs are sent in this nework, the BPDU\n
200
00:18:09,029 --> 00:18:14,940
by the hub, and as you can see here it receives\n
201
00:18:14,940 --> 00:18:19,190
That’s why this interface is a backup port,\n
202
00:18:19,190 --> 00:18:24,230
However, I’ve already told you that hubs\n
203
00:18:24,230 --> 00:18:27,380
probably not encounter an RSTP backup port.
204
00:18:27,380 --> 00:18:30,440
It’s still something you should know.
205
00:18:30,440 --> 00:18:35,259
RSTP backup ports function as a backup for\na designated port.
206
00:18:35,259 --> 00:18:40,740
If SW2’s designated port fails, its backup\n
207
00:18:42,660 --> 00:18:47,230
Now, as for how the switch chooses which port\n
208
00:18:47,230 --> 00:18:52,670
be the backup port, the interface with the\n
209
00:18:52,670 --> 00:18:56,550
port, and the other will be the backup port.
210
00:18:56,549 --> 00:18:59,619
Before moving on let’s try out a quiz question.
211
00:18:59,619 --> 00:19:06,019
Identify the root bridge, and the RSTP port\n
212
00:19:06,019 --> 00:19:09,680
By the way, the hub doesn’t participate\nin spanning tree.
213
00:19:09,680 --> 00:19:13,930
Hubs aren’t sophisticated enough to use\n
214
00:19:15,160 --> 00:19:21,720
Okay, pause the video here to find the answer.
215
00:19:24,359 --> 00:19:29,929
The root bridge is SW1, because all switches\n
216
00:19:29,930 --> 00:19:33,080
MAC address, it is elected as the root.
217
00:19:33,079 --> 00:19:37,220
Its interfaces are designated ports.
218
00:19:37,220 --> 00:19:39,009
These are the root ports for each switch.
219
00:19:39,009 --> 00:19:44,779
SW2 and SW3’s root ports are obvious, they\n
220
00:19:47,509 --> 00:19:53,400
The hub doesn’t participate in STP so it\n
221
00:19:57,059 --> 00:20:03,270
It’s because the neighbor bridge ID is lower\n
222
00:20:04,890 --> 00:20:10,140
SW2’s G0/1 connected to SW4’s G0/1 becomes\ndesignated.
223
00:20:10,140 --> 00:20:15,000
Now, how about the connection between SW3\nand SW4?
224
00:20:15,000 --> 00:20:18,460
First of all, which switch sets its interface\nto designated?
225
00:20:18,460 --> 00:20:24,710
Well, SW3 has a lower root cost, so one of\n
226
00:20:26,160 --> 00:20:33,170
G0/0 has the lower port ID, so it will be\n
227
00:20:33,170 --> 00:20:37,519
How about SW3’s G0/1 and SW4’s G0/0?
228
00:20:37,519 --> 00:20:43,760
SW3’s G0/1 receives the superior BPDU, with\n
229
00:20:46,109 --> 00:20:52,589
SW4’s G0/0 receives the superior BPDU from\n
230
00:20:56,240 --> 00:20:58,140
Hopefully you answered correctly.
231
00:20:58,140 --> 00:21:03,780
If not, don’t worry, there will be more\n
232
00:21:03,779 --> 00:21:09,059
Now let’s take a quick look at the CLI,\nI’m on SW3 here.
233
00:21:09,059 --> 00:21:14,909
As I showed you in the last video, there are\n
234
00:21:19,950 --> 00:21:26,490
Rapid-PVST is the default on modern Cisco\n
235
00:21:26,490 --> 00:21:33,089
use this command, but I entered SPANNING-TREE\n
236
00:21:35,269 --> 00:21:39,190
Then I used SHOW SPANNING-TREE to confirm.
237
00:21:39,190 --> 00:21:44,259
Notice that it says ‘Spanning tree enabled\nprotocol rstp’.
238
00:21:44,259 --> 00:21:49,629
Previously when we were using classic STP,\n
239
00:21:49,630 --> 00:21:56,420
Although it says ‘rstp’, this is in fact\n
240
00:21:56,420 --> 00:22:00,269
Now, the only other difference I want to point\nout is this.
241
00:22:00,269 --> 00:22:06,269
As shown in the network diagram, SW3’s G0/1\n
242
00:22:06,269 --> 00:22:12,139
The status is still listed as BLK for ‘blocking’,\n
243
00:22:15,069 --> 00:22:19,960
I used the SHOW SPANNING-TREE command on SW4\nalso.
244
00:22:19,960 --> 00:22:25,850
As in the network diagram, SW4’s G0/0 interface\n
245
00:22:25,849 --> 00:22:29,939
Once again, this command lists the status\n
246
00:22:29,940 --> 00:22:33,769
STP name for this state is actually ‘discarding’.
247
00:22:33,769 --> 00:22:39,400
Just one note about running different STP\n
248
00:22:41,019 --> 00:22:46,319
The interface, or interfaces, on the rapid\n
249
00:22:46,319 --> 00:22:53,200
STP-enabled switch will operate in classic\n
250
00:22:53,200 --> 00:22:57,350
to listening to learning to forwarding state\nprocess, etc.
251
00:22:57,349 --> 00:23:03,379
So, if you have a really old switch that doesn’t\n
252
00:23:03,380 --> 00:23:08,950
of rapid STP-enabled switches, they will adjust\n
253
00:23:11,099 --> 00:23:18,619
So, in our network diagram, if SW4 was running\n
254
00:23:18,619 --> 00:23:24,539
interfaces run in classic STP mode, but their\n
255
00:23:27,769 --> 00:23:31,950
Next let’s look at the updated BPDU for\nRSTP.
256
00:23:31,950 --> 00:23:37,299
Here on the left is the classic STP BPDU for\n
257
00:23:40,819 --> 00:23:46,579
Most of the BPDU remains unchanged, but there\n
258
00:23:46,579 --> 00:23:51,099
As I mentioned last time, you don’t need\n
259
00:23:53,819 --> 00:23:59,129
You just need to know a few aspects of it\n
260
00:23:59,130 --> 00:24:05,680
The first difference to know between these\n
261
00:24:05,680 --> 00:24:11,330
has a protocol version of 2, whereas classic\n
262
00:24:11,329 --> 00:24:18,429
Remember these version numbers for the exam,\n
263
00:24:18,430 --> 00:24:23,049
The rapid STP BPDU also has a BPDU type of\n2.
264
00:24:23,049 --> 00:24:27,389
Now, the next difference is here.
265
00:24:27,390 --> 00:24:35,770
The classic STP BPDU uses only two bits of\n
266
00:24:35,769 --> 00:24:41,720
However, the rapid STP BPDU uses all 8 bits.
267
00:24:41,720 --> 00:24:46,730
These flags are used in the negotiation process\n
268
00:24:48,650 --> 00:24:54,070
That’s all you really need to know about\n
269
00:24:56,140 --> 00:24:58,880
But there is one more major difference.
270
00:24:58,880 --> 00:25:05,350
In classic STP, only the root bridge originated\n
271
00:25:07,740 --> 00:25:14,599
In rapid STP, ALL switches originate and send\n
272
00:25:14,599 --> 00:25:17,980
Let’s go through a few other differences.
273
00:25:17,980 --> 00:25:25,140
First, as I just said, all switches running\n
274
00:25:25,140 --> 00:25:29,340
Switches also ‘age’ the BPDU information\nmuch more quickly.
275
00:25:29,339 --> 00:25:35,409
In classic STP, a switch waits 10 hello intervals,\n
276
00:25:35,410 --> 00:25:43,050
In rapid STP, a switch considers a neighbor\n
277
00:25:43,049 --> 00:25:48,690
It will then ‘flush’, meaning delete,\n
278
00:25:50,650 --> 00:25:54,390
Because the neighbor is down, it knows it\n
279
00:25:56,130 --> 00:26:04,140
For example, in this network traffic from\n
280
00:26:04,140 --> 00:26:06,860
But what if this connection is cut off?
281
00:26:06,859 --> 00:26:10,369
This switch will think: I can’t reach this\nneighbor anymore.
282
00:26:10,369 --> 00:26:15,949
I’ll clear all entries for this interface from\n
283
00:26:17,529 --> 00:26:23,089
Then, if PC1 wants to send traffic to PC2\n
284
00:26:23,089 --> 00:26:27,678
of flooding until it learns the MAC address\n
285
00:26:29,450 --> 00:26:35,279
That’s just a quick look at how topology\n
286
00:26:35,279 --> 00:26:40,039
There is a lot of depth that we could go into\n
287
00:26:41,480 --> 00:26:46,420
If you want to go on to get your CCNP and\n
288
00:26:50,009 --> 00:26:54,269
Before I summarize everything and move on\n
289
00:26:54,269 --> 00:26:58,769
RSTP you should know, the RSTP link types.
290
00:26:58,769 --> 00:27:03,400
RSTP distinguishes between three different\n‘link types’.
291
00:27:05,740 --> 00:27:09,759
An edge port is a port that is connected to\nan end host.
292
00:27:09,759 --> 00:27:13,359
It moves directly to forwarding without negotiation.
293
00:27:16,650 --> 00:27:20,730
Well, the portfast functionality was built\ninto RSTP.
294
00:27:20,730 --> 00:27:28,769
So, there’s another STP optional feature\n
295
00:27:31,500 --> 00:27:34,349
The next link type is point-to-point.
296
00:27:34,349 --> 00:27:37,799
This is used for direct connections between\ntwo switches.
297
00:27:37,799 --> 00:27:43,119
However, there is one more type, although\n
298
00:27:45,220 --> 00:27:49,740
This is a connection to a hub, like we saw\nearlier in the video.
299
00:27:49,740 --> 00:27:53,630
These connections must operate in half-duplex\n
300
00:27:53,630 --> 00:27:59,750
Don’t confuse these link types with the\n
301
00:27:59,750 --> 00:28:05,589
Basically, the point-to-point and shared link\n
302
00:28:05,589 --> 00:28:10,359
connections, and the edge type is a port that\nuses portfast.
303
00:28:10,359 --> 00:28:15,329
Okay, let’s take a quick look at each type.
304
00:28:15,329 --> 00:28:19,619
As I said, edge ports are connected to end\nhosts.
305
00:28:19,619 --> 00:28:23,558
Because there is no risk of creating a loop,\n
306
00:28:23,558 --> 00:28:25,629
without the negotiation process.
307
00:28:25,630 --> 00:28:30,510
They function like a classic STP port with\nPortFast enabled.
308
00:28:30,509 --> 00:28:34,750
In fact, you configure an edge port simply\n
309
00:28:34,750 --> 00:28:39,750
Here is the command, just like in classic\nSTP.
310
00:28:39,750 --> 00:28:45,160
So really, portfast and an RSTP edge port\nare the same thing.
311
00:28:45,160 --> 00:28:49,750
In this network down here, which ports should\n
312
00:28:49,750 --> 00:28:52,690
Pause the video if you want to think about\nit.
313
00:28:55,450 --> 00:29:02,259
All of these ports, the ones connected to\n
314
00:29:04,690 --> 00:29:08,230
These ports connect directly to another switch.
315
00:29:08,230 --> 00:29:14,390
Because they connect to a switch, not a hub,\n
316
00:29:14,390 --> 00:29:18,430
You don’t need to configure the interface\n
317
00:29:18,430 --> 00:29:23,690
to detect that it is connected directly to\n
318
00:29:25,839 --> 00:29:32,048
However, if you want to explicitly configure\n
319
00:29:32,048 --> 00:29:35,109
SPANNING-TREE LINK-TYPE POINT-TO-POINT.
320
00:29:35,109 --> 00:29:39,809
So, which connections in the diagram are point-to-point?
321
00:29:39,809 --> 00:29:44,159
Pause the video to think about it.
322
00:29:45,599 --> 00:29:51,759
It’s these three, the direct connections\nbetween two switches.
323
00:29:51,759 --> 00:29:56,210
Finally, shared ports connect to a hub.
324
00:29:56,210 --> 00:30:01,179
Due to the nature of hubs and the likelihood\n
325
00:30:03,450 --> 00:30:06,850
Once again, you don’t need to configure\n
326
00:30:08,220 --> 00:30:15,490
However, to manually configure it, use this\n
327
00:30:15,490 --> 00:30:20,210
Although you should be aware of this type\n
328
00:30:20,210 --> 00:30:25,298
probably never actually see this link type\n
329
00:30:25,298 --> 00:30:28,009
that have been fully replaced by switches.
330
00:30:28,009 --> 00:30:31,960
So, which connections in the diagram are shared\nconnections?
331
00:30:31,960 --> 00:30:36,880
I think the answer is fairly obvious now,\n
332
00:30:38,179 --> 00:30:43,190
So, these connections here are shared links.
333
00:30:43,190 --> 00:30:47,740
Before moving on to the quiz, let’s summarize\n
334
00:30:47,740 --> 00:30:51,308
First up, we compared the different versions\nof STP.
335
00:30:51,308 --> 00:30:58,509
The classic STP is 802.1D, and Cisco’s upgrade\n
336
00:31:01,480 --> 00:31:06,289
Then the next standard version is 802.1w,\n
337
00:31:06,289 --> 00:31:12,440
Cisco’s version of this is Rapid PVST+,\n
338
00:31:14,390 --> 00:31:18,610
Then there is one more industry standard,\n
339
00:31:18,609 --> 00:31:25,219
create multiple spanning tree instances, and\n
340
00:31:25,220 --> 00:31:32,299
There is no Cisco version of MSTP, Cisco switches\n
341
00:31:32,299 --> 00:31:37,269
Then we looked at Rapid PVST+, but actually\n
342
00:31:37,269 --> 00:31:40,889
to the industry standard RSTP as well.
343
00:31:40,890 --> 00:31:45,650
RSTP is an evolution of classic STP.
344
00:31:45,650 --> 00:31:51,230
Instead of using timers, it uses a negotiation\n
345
00:31:51,230 --> 00:31:56,890
ports to a forwarding state, and rapidly adjust\n
346
00:31:56,890 --> 00:32:03,600
I didn’t mention any specifics of the negotiation\n
347
00:32:05,680 --> 00:32:10,840
I told you about the port states in RSTP,\nthere are only three.
348
00:32:10,839 --> 00:32:14,209
Discarding, Learning, and Forwarding.
349
00:32:14,210 --> 00:32:19,470
The listening state was deemed unnecessary,\n
350
00:32:19,470 --> 00:32:26,180
due to the built-in features of rapid STP,\n
351
00:32:26,180 --> 00:32:30,250
We talked about RSTP port roles, there are\nfour.
352
00:32:30,250 --> 00:32:35,960
Root and designated ports are the same, but\n
353
00:32:38,539 --> 00:32:43,789
Alternate ports are discarding ports which\n
354
00:32:46,750 --> 00:32:51,849
Backup ports, on the other hand, receive a\n
355
00:32:53,119 --> 00:32:58,709
This only occurs if connected to a hub, which\n
356
00:33:00,269 --> 00:33:08,250
I also mentioned some optional features of\n
357
00:33:08,250 --> 00:33:13,359
First I showed you UplinkFast and BackboneFast,\n
358
00:33:15,919 --> 00:33:20,500
Although you have to know PortFast for the\n
359
00:33:20,500 --> 00:33:22,839
of UplinkFast and BackboneFast.
360
00:33:22,839 --> 00:33:30,740
I briefly showed you the RSTP BPDU, just remember\n
361
00:33:30,740 --> 00:33:35,509
is 2, whereas in classic STP it’s 0.
362
00:33:35,509 --> 00:33:41,339
Also remember the important point that in\n
363
00:33:42,558 --> 00:33:47,710
Finally, I showed you the RSTP link types.
364
00:33:47,710 --> 00:33:52,880
Edge ports are connected to end hosts, and\n
365
00:33:55,798 --> 00:34:00,329
Point-to-point means it is connected directly\n
366
00:34:00,329 --> 00:34:04,789
connected to a hub, and must use half-duplex.
367
00:34:04,789 --> 00:34:09,558
As I said before, hubs aren’t really used\n
368
00:34:09,559 --> 00:34:13,920
link type in any real networks.
369
00:34:13,920 --> 00:34:17,019
Okay let’s move on to the quiz.
370
00:34:17,018 --> 00:34:21,178
After a few quiz questions, let’s take a\n
371
00:34:21,179 --> 00:34:26,009
for the CCNA, Boson Software’s ExSim.
372
00:34:26,009 --> 00:34:31,128
Back before I started this YouTube channel,\n
373
00:34:31,128 --> 00:34:37,159
and CCNP exams, and I really think ExSim played\n
374
00:34:39,248 --> 00:34:44,178
The questions are very similar to the questions\n
375
00:34:44,179 --> 00:34:48,999
depth explanations which really help deepen\n
376
00:34:48,998 --> 00:34:54,568
Okay, now continuing on from quiz question\n
377
00:34:57,699 --> 00:35:04,889
Which IEEE 802.1D optional features were built\n
378
00:35:04,889 --> 00:35:07,909
ports to move rapidly to the forwarding state?
379
00:35:23,210 --> 00:35:29,019
Pause the video to think about your answers.
380
00:35:29,019 --> 00:35:36,179
The answers are B, portfast. D, uplinkfast, and e, backbonefast.
381
00:35:36,179 --> 00:35:43,810
A, root guard, C BPDU guard, and F, loop guard,\n
382
00:35:43,811 --> 00:35:49,500
are not features built in to RSTP that allow\n
383
00:35:49,500 --> 00:35:54,278
G, rootfast, is not a real STP optional feature.
384
00:35:54,278 --> 00:36:00,119
B, portfast, allows edge ports, connected\n
385
00:36:01,219 --> 00:36:08,139
D, uplinkfast, and E, backbonefast, allow\n
386
00:36:14,389 --> 00:36:19,940
You want to configure an 802.1w edge port,\n
387
00:36:19,940 --> 00:36:23,250
begin sending traffic over the network immediately.
388
00:36:26,000 --> 00:36:29,358
A, spanning-tree link-type edge.
389
00:36:33,068 --> 00:36:37,190
C, spanning-tree link-type portfast.
390
00:36:40,489 --> 00:36:47,318
Pause the video to think about your answer.
391
00:36:47,318 --> 00:36:51,558
The answer is D, spanning-tree portfast.
392
00:36:51,559 --> 00:36:56,499
Although ‘edge’ is a link type in RSTP,\n
393
00:36:56,498 --> 00:37:01,929
command to configure it, and the command doesn’t\n
394
00:37:01,929 --> 00:37:07,588
To configure an RSTP edge port, simply configure\n
395
00:37:09,449 --> 00:37:14,528
Okay, let’s do one more quiz question.
396
00:37:14,528 --> 00:37:17,639
Identify the root bridge in this network.
397
00:37:17,639 --> 00:37:21,308
What is the RSTP port role of each switch\n(port)?
398
00:37:21,309 --> 00:37:26,298
What is the appropriate RSTP link type of\n
399
00:37:26,298 --> 00:37:31,389
This is a pretty long question, I recommend\n
400
00:37:31,389 --> 00:37:35,960
and link types on the screenshot so you can\nremember everything.
401
00:37:35,960 --> 00:37:42,699
Pause the video now to find the answers.
402
00:37:45,460 --> 00:37:49,789
The root bridge is SW1, it has the lowest\npriority.
403
00:37:49,789 --> 00:37:52,670
How about all of the root ports in the network?
404
00:37:53,670 --> 00:38:00,820
SW4 picked it’s G0/0 interface because SW3\n
405
00:38:00,820 --> 00:38:05,298
they have the same root cost because the hub\n
406
00:38:05,298 --> 00:38:08,809
So, these are the designated ports.
407
00:38:08,809 --> 00:38:15,278
Why was an interface on SW2 and not SW4\n
408
00:38:15,278 --> 00:38:18,130
Because SW2 has the lower root cost.
409
00:38:18,130 --> 00:38:22,528
Finally, the discarding interfaces.
410
00:38:22,528 --> 00:38:28,170
Notice that there is one backup interface,\nSW2’s G0/2 interface.
411
00:38:28,170 --> 00:38:34,159
This is because it receives a superior BPDU\n
412
00:38:35,739 --> 00:38:39,078
Now, how about the link types?
413
00:38:39,079 --> 00:38:43,339
All of these ports connected to end hosts\nshould be edge ports.
414
00:38:43,338 --> 00:38:48,179
All of these full-duplex connections between\n
415
00:38:48,179 --> 00:38:52,669
half-duplex connections with the hub are shared\nlinks.
416
00:38:52,670 --> 00:38:57,920
If you had trouble with this, you should review\n
417
00:38:57,920 --> 00:39:02,180
and if you still don’t understand feel free\n
418
00:39:02,179 --> 00:39:07,500
Okay, now let’s check out a question from\nBoson ExSim for CCNA.
419
00:39:07,500 --> 00:39:14,199
Okay, for today's Boson ExSim practice question,\n
420
00:39:14,199 --> 00:39:15,989
something you just learned about.
421
00:39:17,880 --> 00:39:23,059
Which of the following optional STP features\n
422
00:39:23,059 --> 00:39:26,309
edge ports into a forwarding state?
423
00:39:35,909 --> 00:39:43,719
And E, loop guard. Pause the video to think about your answer.
424
00:39:43,719 --> 00:39:45,939
Okay, did you find your answer?
425
00:39:45,940 --> 00:39:49,460
So, first of all what is an edge port?
426
00:39:49,469 --> 00:39:53,919
Well it's a port at the edge of the network,\n
427
00:39:53,920 --> 00:39:57,869
not the internal network between the switches.
428
00:39:57,869 --> 00:40:04,798
So, which optional feature places ports connected\n
429
00:40:05,798 --> 00:40:10,880
You should know the answer by now, it is C,\nPortFast.
430
00:40:10,880 --> 00:40:14,489
If you're actually doing a practice exam you\n
431
00:40:14,489 --> 00:40:17,500
but let's check the answer, show answer.
432
00:40:20,130 --> 00:40:24,869
So you can see it gives quite a detailed explanation,\n
433
00:40:24,869 --> 00:40:27,940
ExSim, about their practice exams.
434
00:40:27,940 --> 00:40:32,389
Not only does it tell you why PortFast is\n
435
00:40:32,389 --> 00:40:35,920
a brief summary of each of these other optional\nfeatures.
436
00:40:35,920 --> 00:40:41,479
Loop guard, root guard, BPDU guard and BPDU\nfilter.
437
00:40:41,478 --> 00:40:45,228
So you can know why they are not the correct\nanswer.
438
00:40:45,228 --> 00:40:50,028
After all that it gives some references to\n
439
00:40:50,028 --> 00:40:54,170
chapter 9, optional STP features.
440
00:40:54,170 --> 00:40:58,108
And then also some Cisco documentation that\n
441
00:40:58,108 --> 00:41:02,900
another great study resource by the way, Cisco's\n
442
00:41:02,900 --> 00:41:07,910
Okay, if you want to get a copy of Boson ExSim\n
443
00:41:09,880 --> 00:41:15,420
I used Boson ExSim myself for my CCNA and\n
444
00:41:15,420 --> 00:41:18,858
in helping me pass all of my exams on the\nfirst try.
445
00:41:18,858 --> 00:41:22,400
So once again, please click that link in the\n
446
00:41:25,289 --> 00:41:28,750
There are supplementary materials for this\nvideo.
447
00:41:28,750 --> 00:41:32,739
There is a flashcard deck to use with the\n
448
00:41:32,739 --> 00:41:37,139
link in the description and use the flashcards\n
449
00:41:38,139 --> 00:41:44,338
There will also be a packet tracer practice\n
450
00:41:44,338 --> 00:41:47,838
That will be in the next video.
451
00:41:47,838 --> 00:41:53,048
Before finishing today’s video I want to\n
452
00:41:53,048 --> 00:42:01,880
Thank you to tibi, vikram, Joyce, Marek, Samil,\n
453
00:42:01,880 --> 00:42:08,338
Yousif, Kone, Boson Software, the creators\n
454
00:42:08,338 --> 00:42:12,449
Lito, Yonatan, Mike, Aleksander, Vance, and\nGerrard.
455
00:42:12,449 --> 00:42:18,318
Sorry if I pronounced your name incorrectly,\n
456
00:42:18,318 --> 00:42:22,568
One of you is still displaying as Channel\n
457
00:42:22,568 --> 00:42:25,838
me know and I’ll see if YouTube can fix\nit.
458
00:42:25,838 --> 00:42:31,478
This is the list of JCNP-level members at\n
459
00:42:31,478 --> 00:42:36,029
2020, if you signed up recently and your name\n
460
00:42:41,159 --> 00:42:45,199
Please subscribe to the channel, like the\n
461
00:42:45,199 --> 00:42:48,399
with anyone else studying for the CCNA.
462
00:42:48,400 --> 00:42:51,190
If you want to leave a tip, check the links\nin the description.
463
00:42:51,190 --> 00:42:57,719
I'm also a Brave verified publisher and accept\n
38007
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.