WEBVTT

1
00:00.000 --> 00:05.000
A rapid spanning tree is going to give us some new port roles for us to learn.

2
00:05.000 --> 00:07.400
As we see here, I've already got some of them written out.

3
00:07.400 --> 00:10.040
A couple of them look familiar, root and designated.

4
00:10.040 --> 00:11.680
A couple of them might not look too familiar.

5
00:11.680 --> 00:14.000
We have alternate and backup.

6
00:14.000 --> 00:17.620
When we go into the details of these port roles, it's important for us to

7
00:17.620 --> 00:18.280
remember that

8
00:18.280 --> 00:22.640
when a switch becomes part of this spanning tree topology, it's going to

9
00:22.640 --> 00:23.400
identify its

10
00:23.400 --> 00:28.800
upstream ports, meaning it's towards the root.

11
00:28.800 --> 00:32.360
It's going to identify its downstream ports.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

11
00:28.800 --> 00:32.360
It's going to identify its downstream ports.

12
00:32.360 --> 00:35.760
Downstream ports go away from the root, and it's as simple as that.

13
00:35.760 --> 00:40.160
And so when we break down these different port roles and what ends up happening

14
00:40.160 --> 00:40.360
, we want

15
00:40.360 --> 00:44.850
to pay attention to this concept and the fact that in the vast majority of

16
00:44.850 --> 00:45.480
cases, we're

17
00:45.480 --> 00:50.320
going to identify our best upstream path as the root port.

18
00:50.320 --> 00:53.440
We're going to block all the other upstream ports, and we're going to leave all

19
00:53.440 --> 00:53.760
of the

20
00:53.760 --> 00:58.600
downstream ports online, and that creates a loop-free topology.

21
00:58.600 --> 01:01.270
And there's just a couple of things for us to know about that as we explore
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

21
00:58.600 --> 01:01.270
And there's just a couple of things for us to know about that as we explore

22
01:01.270 --> 01:02.040
these different

23
01:02.040 --> 01:03.960
root port roles.

24
01:03.960 --> 01:08.450
Now one thing we noticed is not on here is the concept of the non-designated

25
01:08.450 --> 01:09.040
port.

26
01:09.040 --> 01:15.140
The non-designated port used to be this concept where I have an upstream port,

27
01:15.140 --> 01:15.920
but I'm going

28
01:15.920 --> 01:18.520
to have to block it because it's not my best upstream port.

29
01:18.520 --> 01:22.880
When we get rid of non-designated ports, it doesn't show up in our list here.

30
01:22.880 --> 01:27.040
So as we go through these, we'll notice, first of all, the root is still the

31
01:27.040 --> 01:27.800
upstream,

32
01:27.800 --> 01:33.290
and it's going to be the best, meaning that it's going to be forwarding towards
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

32
01:27.800 --> 01:33.290
and it's going to be the best, meaning that it's going to be forwarding towards

33
01:33.290 --> 01:34.120
the root.

34
01:34.120 --> 01:37.520
Our alternate port is also going to be upstream.

35
01:37.520 --> 01:42.400
However, it's going to not be the best, and therefore it's going to have to be

36
01:42.400 --> 01:43.400
blocking.

37
01:43.400 --> 01:46.490
And yes, we should start to use the official rapid spanning tree term, so it's

38
01:46.490 --> 01:46.920
going to

39
01:46.920 --> 01:48.760
be discarding.

40
01:48.760 --> 01:53.920
Meanwhile, the designated port is a term we should be familiar with.

41
01:53.920 --> 01:56.720
That used to be these down here, and it still is.

42
01:56.720 --> 02:02.680
The designated port is my downstream port, and it's also in a forwarding state.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

42
01:56.720 --> 02:02.680
The designated port is my downstream port, and it's also in a forwarding state.

43
02:02.680 --> 02:05.680
But then we have this backup port concept.

44
02:05.680 --> 02:07.600
We're kind of out of situations, aren't we?

45
02:07.600 --> 02:11.320
I mean, we've described the three situations in that diagram there, but there

46
02:11.320 --> 02:11.880
is one other

47
02:11.880 --> 02:14.840
one that we need to be at least remotely aware of.

48
02:14.840 --> 02:17.240
This doesn't happen too often in modern networks.

49
02:17.240 --> 02:18.480
I'll say that.

50
02:18.480 --> 02:21.760
It is a downstream port that gets blocked.

51
02:21.760 --> 02:24.700
We've basically said this doesn't happen, and so we'll have to explore the

52
02:24.700 --> 02:25.160
scenario

53
02:25.160 --> 02:26.680
where it does happen.

54
02:26.680 --> 02:30.310
But the primary takeaway at this point is that when we look at rapid spanning
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

54
02:26.680 --> 02:30.310
But the primary takeaway at this point is that when we look at rapid spanning

55
02:30.310 --> 02:30.760
tree, they

56
02:30.760 --> 02:34.810
have defined four clear port roles, depending on whether it's upstream or

57
02:34.810 --> 02:35.640
downstream, and

58
02:35.640 --> 02:40.560
whether we're forwarding, or hydro blocking again, or discarding.

59
02:40.560 --> 02:42.280
How about that?

60
02:42.280 --> 02:44.160
So let's go ahead and go into these.

61
02:44.160 --> 02:47.920
So first of all, let's talk about the root port.

62
02:47.920 --> 02:51.540
And it's going to be a very quick conversation because not only is it the same

63
02:51.540 --> 02:52.640
as our traditional

64
02:52.640 --> 02:56.680
spanning tree, but I've already described it here within this video.

65
02:56.680 --> 03:00.320
What simply put is going to be the best path to the root.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

65
02:56.680 --> 03:00.320
What simply put is going to be the best path to the root.

66
03:00.320 --> 03:04.120
And as always, this is going to start with the best cost.

67
03:04.120 --> 03:08.000
And from here, we can look at tiebreakers if required.

68
03:08.000 --> 03:11.220
Now keep in mind that the root itself will not actually have a root port

69
03:11.220 --> 03:12.000
because it is

70
03:12.000 --> 03:14.880
the root, and therefore it won't have any upstream ports.

71
03:14.880 --> 03:18.880
It won't have a root port or an alternate port or anything along those lines.

72
03:18.880 --> 03:20.920
But that would be the root port.

73
03:20.920 --> 03:24.440
So next, let's go ahead and talk about the alternate port.

74
03:24.440 --> 03:31.600
So the alternate port is a replacement for the non-designated port.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

74
03:24.440 --> 03:31.600
So the alternate port is a replacement for the non-designated port.

75
03:31.600 --> 03:33.320
But it comes with a feature.

76
03:33.320 --> 03:39.920
It has the ability to perform a fast failover.

77
03:39.920 --> 03:46.400
The alternate port is basically identifying another path to the root.

78
03:46.400 --> 03:49.440
And if it's another path to the root, well, then that means it's another

79
03:49.440 --> 03:50.880
upstream port.

80
03:50.880 --> 03:54.480
And we understand that we have to block those otherwise loops will end up

81
03:54.480 --> 03:55.120
forming.

82
03:55.120 --> 03:59.160
However, what happens if the root fails?

83
03:59.160 --> 04:04.740
The root port specifically, sorry, if the root port fails, then I can very
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

83
03:59.160 --> 04:04.740
The root port specifically, sorry, if the root port fails, then I can very

84
04:04.740 --> 04:05.760
quickly,

85
04:05.760 --> 04:13.800
immediately activate my best alternate port.

86
04:13.800 --> 04:17.120
So that's the idea of the alternate.

87
04:17.120 --> 04:23.600
Is that I can actually activate an alternate.

88
04:23.600 --> 04:26.040
My best alternate port at that point.

89
04:26.040 --> 04:30.160
So I might have many different upstream paths.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

89
04:26.040 --> 04:30.160
So I might have many different upstream paths.

90
04:30.160 --> 04:34.200
I might have this selected as my root port, and these will be selected as my

91
04:34.200 --> 04:34.800
alternate

92
04:34.800 --> 04:35.880
ports.

93
04:35.880 --> 04:37.880
Well, then the root port goes down.

94
04:37.880 --> 04:41.040
And so I'm going to evaluate, depending on which one of these alternate ports

95
04:41.040 --> 04:41.800
is better,

96
04:41.800 --> 04:44.440
I'm going to immediately make that my new root port.

97
04:44.440 --> 04:47.840
And because of that, it immediately transitions to forwarding.

98
04:47.840 --> 04:52.160
The other side also immediately transitions into forwarding.

99
04:52.160 --> 04:55.280
And so we come online very, very quickly.

100
04:55.280 --> 04:58.430
Now, one thing we didn't cover in this course because it's out of scope is the

101
04:58.430 --> 04:58.840
concept of

102
04:58.840 --> 05:00.800
Cisco uplink fast.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

102
04:58.840 --> 05:00.800
Cisco uplink fast.

103
05:00.800 --> 05:04.100
Uplink fast was one of those enhancements that Cisco created for traditional

104
05:04.100 --> 05:04.560
spanning

105
05:04.560 --> 05:05.560
tree.

106
05:05.560 --> 05:09.280
And we could basically get this exact functionality out of uplink fast, even on

107
05:09.280 --> 05:10.200
traditional spanning

108
05:10.200 --> 05:11.200
tree.

109
05:11.200 --> 05:14.960
And we don't need to worry about uplink fast or even having to configure it.

110
05:14.960 --> 05:18.820
Like we still have to configure port fast or type edge, but we don't have to

111
05:18.820 --> 05:19.520
configure

112
05:19.520 --> 05:24.160
uplink fast because this is just baked into rapid spanning tree now.

113
05:24.160 --> 05:27.750
We don't have to tell it which ports are alternate ports because it's able to

114
05:27.750 --> 05:28.200
figure

115
05:28.200 --> 05:31.280
that out thanks to BP DU propagation.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

115
05:28.200 --> 05:31.280
that out thanks to BP DU propagation.

116
05:31.280 --> 05:34.960
And so this all happens automatically and it's a beautiful thing.

117
05:34.960 --> 05:38.640
So next, let's look at our downstream options here.

118
05:38.640 --> 05:45.280
So one of which is simply our designated port and the designated port.

119
05:45.280 --> 05:46.720
There's not much to say here.

120
05:46.720 --> 05:53.080
It's a port that is forwarding in the downstream direction, forwarding

121
05:53.080 --> 05:54.520
downstream.

122
05:54.520 --> 05:58.920
The bigger question is when does this backup port come into play?

123
05:58.920 --> 06:06.030
Because at that point, we're talking about a downstream port that is blocking
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

123
05:58.920 --> 06:06.030
Because at that point, we're talking about a downstream port that is blocking

124
06:06.030 --> 06:07.760
or discarding.

125
06:07.760 --> 06:09.880
So how does this even happen?

126
06:09.880 --> 06:13.370
Well as I mentioned earlier, this doesn't happen too often in modern networks

127
06:13.370 --> 06:13.600
because

128
06:13.600 --> 06:16.640
it's going to require a hub.

129
06:16.640 --> 06:19.810
And at this point, we might even start to shut this conversation down in our

130
06:19.810 --> 06:20.880
heads because

131
06:20.880 --> 06:24.920
we're not going to see this a whole lot in the modern network.

132
06:24.920 --> 06:29.250
However, be aware of what exactly this is for because this terminology might

133
06:29.250 --> 06:29.760
still show

134
06:29.760 --> 06:31.000
up somewhere.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

134
06:29.760 --> 06:31.000
up somewhere.

135
06:31.000 --> 06:32.080
So the idea is this.

136
06:32.080 --> 06:35.600
I have a switch and maybe I have another switch on the other side.

137
06:35.600 --> 06:39.720
It doesn't really matter in this situation, but I also have a hub in here.

138
06:39.720 --> 06:42.760
And usually we draw this as saying, oh yeah, we both got a connection into the

139
06:42.760 --> 06:43.160
hub.

140
06:43.160 --> 06:45.680
But what if I have two connections into the hub?

141
06:45.680 --> 06:47.800
What if I want some redundancy?

142
06:47.800 --> 06:52.440
Well, that creates a problem because it creates a little loop.

143
06:52.440 --> 06:56.640
It's almost like I connected this switch port to itself.

144
06:56.640 --> 06:58.480
And that's going to create a problem.

145
06:58.480 --> 07:02.940
So what happens is we use normal spanning tree BPDU propagation to identify
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

145
06:58.480 --> 07:02.940
So what happens is we use normal spanning tree BPDU propagation to identify

146
07:02.940 --> 07:03.600
which port

147
07:03.600 --> 07:06.640
is lower, like let's say it's ports 13 and 14.

148
07:06.640 --> 07:10.120
Well, 13 is lower and therefore 13 is going to win.

149
07:10.120 --> 07:12.720
14 is going to go into the blocking state.

150
07:12.720 --> 07:20.140
Well, that, well, again, discarding, but either way, this becomes a backup port

151
07:20.140 --> 07:20.240
from

152
07:20.240 --> 07:23.040
a spanning tree terminology perspective.

153
07:23.040 --> 07:24.400
So that's all it is.

154
07:24.400 --> 07:26.480
It's a downstream facing port.

155
07:26.480 --> 07:28.840
And yet it's going to be in a discarding state.

156
07:28.840 --> 07:30.880
And that makes it a backup.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

156
07:28.840 --> 07:30.880
And that makes it a backup.

157
07:30.880 --> 07:34.440
So now we see that we've got all of these different options.

158
07:34.440 --> 07:36.400
We have alternate ports.

159
07:36.400 --> 07:39.440
We have designated ports and root ports still.

160
07:39.440 --> 07:41.240
And then we also have this backup port.

161
07:41.240 --> 07:44.610
I would say the primary takeaway from this conversation should be a little bit

162
07:44.610 --> 07:45.280
more focused

163
07:45.280 --> 07:49.810
on the alternate port and how it works and allows a very fast failover because

164
07:49.810 --> 07:50.240
root and

165
07:50.240 --> 07:54.540
designated ports pretty well identical to what we've already learned and backup

166
07:54.540 --> 07:54.920
ports

167
07:54.920 --> 07:58.320
shouldn't be showing up a whole lot again in our modern networks thanks to the

168
07:58.320 --> 07:59.000
requirement

169
07:59.000 --> 07:59.720
of having a hub.
