WEBVTT

1
00:00.000 --> 00:04.010
Alright, now we're moving on to the second challenge task, which is saying that

2
00:04.010 --> 00:04.660
the root

3
00:04.660 --> 00:06.240
bridge has been lost.

4
00:06.240 --> 00:08.760
And so I've already modified the diagram here.

5
00:08.760 --> 00:11.840
It basically just creates a brand new topology for us to explore.

6
00:11.840 --> 00:15.040
It's just going to be a little bit more simple without all of those extra links

7
00:15.040 --> 00:15.640
and without

8
00:15.640 --> 00:16.920
the root bridge in the middle.

9
00:16.920 --> 00:20.900
In fact, a lot of ways just kind of goes back to the same type of topology we

10
00:20.900 --> 00:21.560
've spent

11
00:21.560 --> 00:24.240
a lot of time with, which is that square topology.

12
00:24.240 --> 00:28.880
The difference is we've got a lot of these different types of costs in here.

13
00:28.880 --> 00:31.160
We still have the double link to figure out.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

13
00:28.880 --> 00:31.160
We still have the double link to figure out.

14
00:31.160 --> 00:35.840
And so once again, if we're going to start going down the path of spanning tree

15
00:35.840 --> 00:36.800
topologies,

16
00:36.800 --> 00:40.520
it always has to start with where the root bridge is.

17
00:40.520 --> 00:44.390
Now before it was easy, we had a root bridge right in the middle with a 4k

18
00:44.390 --> 00:45.040
priority that's

19
00:45.040 --> 00:48.790
as low as it gets outside of a zero priority, which by the way is perfectly

20
00:48.790 --> 00:49.400
legal.

21
00:49.400 --> 00:53.680
We might see zeros out on the network, but either way, we're not that low

22
00:53.680 --> 00:54.480
anymore.

23
00:54.480 --> 00:59.160
We're talking about 16 being the lowest and there's two of them.

24
00:59.160 --> 01:05.200
So now we do need to think about how bridge priorities really interact with one
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

24
00:59.160 --> 01:05.200
So now we do need to think about how bridge priorities really interact with one

25
01:05.200 --> 01:05.680
another

26
01:05.680 --> 01:08.800
and ultimately how they tie into the bridge ID.

27
01:08.800 --> 01:13.240
So always remember the bridge ID is different than the bridge priority.

28
01:13.240 --> 01:18.110
The bridge ID is the, remember that big word concatenation, sort of an addition

29
01:18.110 --> 01:18.480
of the

30
01:18.480 --> 01:20.800
priority with the MAC address.

31
01:20.800 --> 01:25.690
And so it basically just forms one very long number, but the priority comes

32
01:25.690 --> 01:26.440
first.

33
01:26.440 --> 01:28.360
It's the higher ordered bits.

34
01:28.360 --> 01:32.220
And so at that point, we can look at the MAC address because the priority is
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

34
01:28.360 --> 01:32.220
And so at that point, we can look at the MAC address because the priority is

35
01:32.220 --> 01:32.600
the same

36
01:32.600 --> 01:34.400
in this situation.

37
01:34.400 --> 01:37.720
And we want to always with spanning tree, remember it's the lowest.

38
01:37.720 --> 01:40.680
So we had to look at the lowest MAC address.

39
01:40.680 --> 01:46.280
And if a MAC address starts with different hex characters, then we only need to

40
01:46.280 --> 01:47.040
evaluate

41
01:47.040 --> 01:48.040
those.

42
01:48.040 --> 01:54.090
We go to zero E compared to zero three, E is once again, hex for 14, three is

43
01:54.090 --> 01:55.080
way lower

44
01:55.080 --> 01:56.480
than 14.

45
01:56.480 --> 01:58.840
And therefore it's going to win.

46
01:58.840 --> 02:02.120
So switch four down here becomes our root.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

46
01:58.840 --> 02:02.120
So switch four down here becomes our root.

47
02:02.120 --> 02:06.920
Now this is going to completely change the topology because before switch four

48
02:06.920 --> 02:07.800
was blocking

49
02:07.800 --> 02:12.040
one of these links and we don't need to worry about that anymore because switch

50
02:12.040 --> 02:12.840
four is

51
02:12.840 --> 02:15.120
the root pretty fascinating.

52
02:15.120 --> 02:21.480
So let's start with switch four being the root having all of the designated

53
02:21.480 --> 02:21.640
ports.

54
02:21.640 --> 02:23.520
And from there we can work our way out.

55
02:23.520 --> 02:27.800
So we know that switch two is going to have to block one of these links.

56
02:27.800 --> 02:33.220
Now it's based on the lower and higher port numbers on switch four because it's
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

56
02:27.800 --> 02:33.220
Now it's based on the lower and higher port numbers on switch four because it's

57
02:33.220 --> 02:34.200
upstream.

58
02:34.200 --> 02:36.920
These are both going to be upstream ports.

59
02:36.920 --> 02:41.400
If we have multiple upstream ports, one of them has to be the root port and one

60
02:41.400 --> 02:42.120
of them

61
02:42.120 --> 02:45.800
has to be the, well, all the rest have to be non-designated.

62
02:45.800 --> 02:49.100
And so it's going to be based on the fact that this is the higher port and

63
02:49.100 --> 02:49.800
therefore

64
02:49.800 --> 02:52.320
it gets, let me just encircle that.

65
02:52.320 --> 02:57.810
So port zero here is the one that's going to be placed in to the blocking state

66
02:57.810 --> 02:57.880
.

67
02:57.880 --> 03:00.480
So that becomes our non-designated port.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

67
02:57.880 --> 03:00.480
So that becomes our non-designated port.

68
03:00.480 --> 03:02.840
Meanwhile we have a designated port here.

69
03:02.840 --> 03:06.970
Now technically we did skip the step of saying, hey, we've got a cost of four

70
03:06.970 --> 03:07.640
to the root

71
03:07.640 --> 03:08.880
this way.

72
03:08.880 --> 03:09.880
What about this way?

73
03:09.880 --> 03:13.470
Well, we can tell that that's going to be a much longer path and just the fact

74
03:13.470 --> 03:13.960
that it's

75
03:13.960 --> 03:15.360
32 to start with.

76
03:15.360 --> 03:19.120
So we don't need to worry about a situation where we'd be blocking both of

77
03:19.120 --> 03:20.080
these and making

78
03:20.080 --> 03:22.000
that our route instead.

79
03:22.000 --> 03:24.720
In fact, I said that was a designated port.

80
03:24.720 --> 03:26.440
This should be a root port.

81
03:26.440 --> 03:27.640
So that would be our root port.

82
03:27.640 --> 03:30.800
Again, it's an upstream port facing the route.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

82
03:27.640 --> 03:30.800
Again, it's an upstream port facing the route.

83
03:30.800 --> 03:33.320
So this is going to go a whole lot faster than the last one because at this

84
03:33.320 --> 03:33.760
point we

85
03:33.760 --> 03:37.880
just have to figure out a couple of these other links.

86
03:37.880 --> 03:41.390
Now with switch five we can start here because we just need to know, hey, is

87
03:41.390 --> 03:42.120
this going to

88
03:42.120 --> 03:45.240
be my root port or is this going to be my root port?

89
03:45.240 --> 03:51.910
10 to the root this way, 36 to the root that way makes it pretty clear that the

90
03:51.910 --> 03:52.520
best cost

91
03:52.520 --> 03:54.440
is directly connected to switch four.

92
03:54.440 --> 03:56.640
So that's my root port.

93
03:56.640 --> 04:01.400
And now we need to just figure out who's blocking on these other links.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

93
03:56.640 --> 04:01.400
And now we need to just figure out who's blocking on these other links.

94
04:01.400 --> 04:05.200
So let's go ahead and take a look at switch five since we're here.

95
04:05.200 --> 04:07.800
We're going to take a look at this link.

96
04:07.800 --> 04:12.640
Now again, we're looking at the path cost to the root.

97
04:12.640 --> 04:20.240
So switch five has a path cost of 10 and we would advertise a path cost of 10.

98
04:20.240 --> 04:25.620
Now if switch three was saying, hey, I've got another path to the root, what

99
04:25.620 --> 04:26.240
would that

100
04:26.240 --> 04:27.240
cost be?

101
04:27.240 --> 04:28.880
It would be 36.

102
04:28.880 --> 04:31.600
Now maybe switch three decides to go this way to the root.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

102
04:28.880 --> 04:31.600
Now maybe switch three decides to go this way to the root.

103
04:31.600 --> 04:35.000
But if it goes that way to the root, this is an upstream port, not a downstream

104
04:35.000 --> 04:35.320
.

105
04:35.320 --> 04:37.920
And so we don't need to worry about that scenario.

106
04:37.920 --> 04:41.080
Plus the fact it would be going through switch five immediately means it's a

107
04:41.080 --> 04:41.760
worse path than

108
04:41.760 --> 04:45.680
what switch five has because we'd have to add the cost of four.

109
04:45.680 --> 04:49.750
So at this point, we can very clearly tell switch five is going to win this

110
04:49.750 --> 04:50.480
because it

111
04:50.480 --> 04:54.570
has a cost of 10 where a switch three, if it's going the other way, has a much

112
04:54.570 --> 04:54.880
larger

113
04:54.880 --> 04:56.040
cost.

114
04:56.040 --> 04:58.920
So switch five is going to be designated.

115
04:58.920 --> 05:02.710
Now we could say switch three is a non designated port here, but we have to
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

115
04:58.920 --> 05:02.710
Now we could say switch three is a non designated port here, but we have to

116
05:02.710 --> 05:04.520
wait for a second.

117
05:04.520 --> 05:08.470
We don't know whether switch three is going to block this link or possibly

118
05:08.470 --> 05:09.120
block this

119
05:09.120 --> 05:10.120
link.

120
05:10.120 --> 05:11.240
It can't block them both.

121
05:11.240 --> 05:15.830
And so if it's possible, this becomes a root port, we wouldn't want to block it

122
05:15.830 --> 05:15.840
.

123
05:15.840 --> 05:19.360
So all we can say for sure is that this is an upstream port.

124
05:19.360 --> 05:22.960
Let's go ahead and explore the other path and figure out whether or not it's

125
05:22.960 --> 05:23.520
upstream

126
05:23.520 --> 05:25.440
or downstream to switch to.

127
05:25.440 --> 05:27.520
So we're going to have a very similar exchange here.

128
05:27.520 --> 05:31.720
Switch two is going to advertise a cost of four.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

128
05:27.520 --> 05:31.720
Switch two is going to advertise a cost of four.

129
05:31.720 --> 05:36.930
And by the way, because switch two has a root port, we know that it has a path

130
05:36.930 --> 05:38.360
cost of four

131
05:38.360 --> 05:40.760
and therefore it sends four now switch three.

132
05:40.760 --> 05:45.930
If it was to say, hey, I've got a if this is my root, my root port and it's

133
05:45.930 --> 05:46.840
advertising

134
05:46.840 --> 05:50.680
it, it's going to advertise 14.

135
05:50.680 --> 05:53.320
And so it would say, hey, I've got a path cost of 14.

136
05:53.320 --> 05:57.930
So it's going to lose this battle, so to speak, meaning that switch two is

137
05:57.930 --> 05:58.760
going to set this

138
05:58.760 --> 06:03.880
as designated and this is another upstream port on switch three.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

138
05:58.760 --> 06:03.880
as designated and this is another upstream port on switch three.

139
06:03.880 --> 06:06.960
So this is where switch three is going to have to make a decision.

140
06:06.960 --> 06:11.280
We have a path this way to the root and we have a path this way to the root.

141
06:11.280 --> 06:12.880
How do we make that decision?

142
06:12.880 --> 06:14.440
It starts with cost.

143
06:14.440 --> 06:15.920
It always starts with cost.

144
06:15.920 --> 06:20.540
I want to emphasize that we could easily jump in and say, well, switch two has

145
06:20.540 --> 06:20.980
a bridge

146
06:20.980 --> 06:26.090
ID or bridge priority of 16 K and switch five has a bridge priority of 28 K. We

147
06:26.090 --> 06:26.480
don't go

148
06:26.480 --> 06:29.640
to the tie breakers unless cost is tied.

149
06:29.640 --> 06:32.680
And so we have, I mean, I guess maybe that's straightforward.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

149
06:29.640 --> 06:32.680
And so we have, I mean, I guess maybe that's straightforward.

150
06:32.680 --> 06:35.480
We don't use tie breakers unless there's a tie.

151
06:35.480 --> 06:37.280
Cost is always going to be considered first.

152
06:37.280 --> 06:40.600
It will always take the best path from a cost perspective.

153
06:40.600 --> 06:43.280
So let's focus in on that first.

154
06:43.280 --> 06:49.320
And we see that we've got a cost this way of 36, not looking good.

155
06:49.320 --> 06:52.640
And then this path cost we already said is 14.

156
06:52.640 --> 07:00.580
So 14 versus 36 now we can say I would, I'm going to prefer this path as my
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

156
06:52.640 --> 07:00.580
So 14 versus 36 now we can say I would, I'm going to prefer this path as my

157
07:00.580 --> 07:01.720
root port,

158
07:01.720 --> 07:06.290
which means because we've already lost the battle this way, this becomes my

159
07:06.290 --> 07:06.920
other, my

160
07:06.920 --> 07:08.760
other upstream port.

161
07:08.760 --> 07:12.560
It actually becomes non designated, which means it's blocking.

162
07:12.560 --> 07:15.480
So we only have two blocking ports in this topology.

163
07:15.480 --> 07:19.890
We have the link here going from switch three up to switch two and then switch

164
07:19.890 --> 07:20.420
two has to

165
07:20.420 --> 07:25.060
block one of these connections because it is double connected to switch four.

166
07:25.060 --> 07:27.060
So this is what would happen if switch one went down.

167
07:27.060 --> 07:31.670
Now if switch one comes back online, I'd say miraculously, but switches reboot
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

167
07:27.060 --> 07:31.670
Now if switch one comes back online, I'd say miraculously, but switches reboot

168
07:31.670 --> 07:32.100
all the

169
07:32.100 --> 07:33.100
time.

170
07:33.100 --> 07:34.100
It's not much of a miracle.

171
07:34.100 --> 07:35.460
It comes back online.

172
07:35.460 --> 07:39.020
It will establish the entire original topology.

173
07:39.020 --> 07:43.740
And the reason for that is because spanning tree protocol is pretty basic when

174
07:43.740 --> 07:44.320
it comes

175
07:44.320 --> 07:49.050
to root election switch four or switch one is going to come back online with a

176
07:49.050 --> 07:49.740
priority

177
07:49.740 --> 07:53.260
of four thousand for 40 96.

178
07:53.260 --> 07:56.960
And it will take over as roots, which four will no longer be the roots, which

179
07:56.960 --> 07:57.500
one will

180
07:57.500 --> 08:02.060
become the root and everything's going to go into mass chaos.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

180
07:57.500 --> 08:02.060
become the root and everything's going to go into mass chaos.

181
08:02.060 --> 08:06.160
Every port is going to go back into listening until we get all of these port

182
08:06.160 --> 08:07.060
roles and port

183
08:07.060 --> 08:08.900
states reestablished.

184
08:08.900 --> 08:13.630
But for the scenario where switch one remains offline, we have our chosen top

185
08:13.630 --> 08:14.260
ology.

186
08:14.260 --> 08:20.560
Now we do have one final challenge task, I suppose, task number three, which is

187
08:20.560 --> 08:21.060
what

188
08:21.060 --> 08:26.840
configuration can be placed here on the switch four in order to change the

189
08:26.840 --> 08:28.220
blocking decision

190
08:28.220 --> 08:31.140
being made by switch two.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

190
08:28.220 --> 08:31.140
being made by switch two.

191
08:31.140 --> 08:34.220
So we see switch two is only making one blocking decision.

192
08:34.220 --> 08:41.500
It is blocking the link to switch four that is the higher link on switch four.

193
08:41.500 --> 08:46.760
But again, just like with our bridge ID, we do have the concept of the port ID

194
08:46.760 --> 08:47.460
and that

195
08:47.460 --> 08:51.580
consists of a priority and then the port number.

196
08:51.580 --> 08:56.720
So if the priority is the same, which again, by default, it's 128 and we didn't

197
08:56.720 --> 08:57.340
give port

198
08:57.340 --> 09:00.380
priority, so I have to assume they're all the defaults.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

198
08:57.340 --> 09:00.380
priority, so I have to assume they're all the defaults.

199
09:00.380 --> 09:03.500
Well, if they're all tied, that's where we have to compare the number.

200
09:03.500 --> 09:07.380
But if there is a priority, we don't have to compare the numbers anymore.

201
09:07.380 --> 09:12.530
So we typically have two choices in this case, I want this to be the preferred

202
09:12.530 --> 09:13.180
path.

203
09:13.180 --> 09:18.310
Therefore, I can either lower the priority on this side, remember lower wins,

204
09:18.310 --> 09:18.740
so I can

205
09:18.740 --> 09:22.140
make it, let's say 80 or something like that.

206
09:22.140 --> 09:27.900
Or on this lower port on the right, I can increase the priority number.

207
09:27.900 --> 09:33.740
And so I can make it like 160 or 144 to 16 more.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

207
09:27.900 --> 09:33.740
And so I can make it like 160 or 144 to 16 more.

208
09:33.740 --> 09:38.300
Just remember that we have to configure these in increments of 16 on Cisco

209
09:38.300 --> 09:39.060
devices.

210
09:39.060 --> 09:46.600
So either one of these situations will make it so that these two port roles are

211
09:46.600 --> 09:47.500
flipped

212
09:47.500 --> 09:52.380
because now this will be the favored side, meaning that that will be switched

213
09:52.380 --> 09:52.900
to root

214
09:52.900 --> 09:58.460
port and the other side will be placed into non-designated port role.

215
09:58.460 --> 10:04.560
So this is just one large example admittedly of calculating outstanding tree
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

215
09:58.460 --> 10:04.560
So this is just one large example admittedly of calculating outstanding tree

216
10:04.560 --> 10:05.860
topologies.

217
10:05.860 --> 10:09.580
It starts with identifying the root and then we just go from there, I've said

218
10:09.580 --> 10:10.060
this at the

219
10:10.060 --> 10:13.960
end of the last video, we just look for as many designated ports and root ports

220
10:13.960 --> 10:14.260
as we

221
10:14.260 --> 10:15.260
can.

222
10:15.260 --> 10:19.220
And then we start comparing path costs, always remember path costs win.

223
10:19.220 --> 10:23.740
That's always the first criteria, we want to take the fastest path to the root.

224
10:23.740 --> 10:27.480
And from there we can start doing those tie breakers like comparing bridge

225
10:27.480 --> 10:27.900
priorities

226
10:27.900 --> 10:31.260
and, well, bridge IDs and port IDs and such.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

226
10:27.900 --> 10:31.260
and, well, bridge IDs and port IDs and such.

227
10:31.260 --> 10:36.810
But take a moment to draw out your own topology, add some priorities, add some

228
10:36.810 --> 10:38.180
MAC addresses,

229
10:38.180 --> 10:39.940
add some link costs.

230
10:39.940 --> 10:43.480
It doesn't take much just to throw a topology together on paper and then play

231
10:43.480 --> 10:44.140
around with

232
10:44.140 --> 10:46.340
it and see if you can figure out that topology.

233
10:46.340 --> 10:50.680
It goes a long way towards making us just establish that critical thinking of

234
10:50.680 --> 10:51.420
do I know

235
10:51.420 --> 10:56.100
all of the steps that's required in order to calculate all of this out.

236
10:56.100 --> 10:59.280
And then even better, if you do have a lab environment where you can emulate

237
10:59.280 --> 11:00.100
that topology,
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

237
10:59.280 --> 11:00.100
that topology,

238
11:00.100 --> 11:04.420
throw it in there and make sure that everything that you had calculated out is

239
11:04.420 --> 11:05.780
actually correct.

240
11:05.780 --> 11:08.300
I hope this has been informative for you and I'd like to thank you for viewing.
