WEBVTT

1
00:00.000 --> 00:06.140
Well, we said it at the end of that video that if I have a topology that

2
00:06.140 --> 00:06.900
requires me

3
00:06.900 --> 00:11.630
to be a little bit more efficient, then I can run Pervieland Spanning Tree and

4
00:11.630 --> 00:11.820
I can

5
00:11.820 --> 00:12.820
make it more efficient.

6
00:12.820 --> 00:17.020
And we said we'd have VLAN 10 here, VLAN 10 will block one of these ports

7
00:17.020 --> 00:17.820
because this

8
00:17.820 --> 00:22.050
is the root switch on the left, and then I'm going to use this connection and

9
00:22.050 --> 00:23.740
this connection,

10
00:23.740 --> 00:29.400
whereas VLAN 20 has the root on the right, and therefore we're blocking a port

11
00:29.400 --> 00:30.540
over here,
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

11
00:29.400 --> 00:30.540
over here,

12
00:30.540 --> 00:34.260
and we're going to use that middle link as well as the link on the right.

13
00:34.260 --> 00:35.460
So nothing wrong with this.

14
00:35.460 --> 00:40.660
We have two VLANs and we have two Spanning Tree topologies.

15
00:40.660 --> 00:42.260
But here's the question.

16
00:42.260 --> 00:47.900
How many topologies are needed in order for me to be efficient here?

17
00:47.900 --> 00:52.240
In most network topologies where we have larger loops, we're usually talking

18
00:52.240 --> 00:53.580
about the distribution

19
00:53.580 --> 00:55.860
layer and the access layer.

20
00:55.860 --> 00:59.140
And if we think back to the start of this course, when we talked about network

21
00:59.140 --> 01:00.140
architecture,
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

21
00:59.140 --> 01:00.140
architecture,

22
01:00.140 --> 01:05.090
we use the usually two switches here as a pair of distribution switches, and

23
01:05.090 --> 01:05.380
then we

24
01:05.380 --> 01:07.500
can have lots of access layer switches.

25
01:07.500 --> 01:13.140
We don't scale beyond just a pair of distribution switches in most cases.

26
01:13.140 --> 01:15.380
So how many topologies do we need?

27
01:15.380 --> 01:18.890
Well, we probably need about as many topologies as we have distribution

28
01:18.890 --> 01:19.620
switches.

29
01:19.620 --> 01:22.140
If that's two, then that means we need two topologies.

30
01:22.140 --> 01:30.860
And it's great that PVST+ in other case gave us for two VLANs, two topologies.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

30
01:22.140 --> 01:30.860
And it's great that PVST+ in other case gave us for two VLANs, two topologies.

31
01:30.860 --> 01:33.660
But you can probably tell where we're going with this.

32
01:33.660 --> 01:36.980
What happens when we consider all the other VLANs?

33
01:36.980 --> 01:43.890
Now what if I have VLANs 10 and 30 and 50 and 70 on the left in VLANs 20 and 40

34
01:43.890 --> 01:44.100
and

35
01:44.100 --> 01:45.900
60 and 80?

36
01:45.900 --> 01:50.460
This is just eight VLANs, let alone 20 or 50 or 100 VLANs in the environment

37
01:50.460 --> 01:51.340
that are

38
01:51.340 --> 01:52.340
not.

39
01:52.340 --> 01:58.150
Well, at this point, I'm going to have to create topologies for all eight of

40
01:58.150 --> 02:00.180
these VLANs,
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

40
01:58.150 --> 02:00.180
these VLANs,

41
02:00.180 --> 02:05.940
because PVST+ is always going to be a one-to-one relationship.

42
02:05.940 --> 02:12.260
And so if I have eight VLANs, that means I have eight topologies.

43
02:12.260 --> 02:14.300
Now are they different topologies?

44
02:14.300 --> 02:17.260
No, they're going to be the same topologies.

45
02:17.260 --> 02:22.370
I wrote these out for this way for a reason, probably 10, 30, 50 and 70 will

46
02:22.370 --> 02:23.020
all share

47
02:23.020 --> 02:26.180
the same topology as VLAN 10.

48
02:26.180 --> 02:29.420
Same thing over on the right, VLANs 20, 40, 60, 80.

49
02:29.420 --> 02:33.140
I basically just said, hey, if it's an even number in the 10's digit or an odd
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

49
02:29.420 --> 02:33.140
I basically just said, hey, if it's an even number in the 10's digit or an odd

50
02:33.140 --> 02:33.540
number

51
02:33.540 --> 02:36.980
in the 10's digit, then we'll sort it out that way.

52
02:36.980 --> 02:40.800
Now different organizations will sort their VLANs in different ways, but

53
02:40.800 --> 02:41.580
ideally we end

54
02:41.580 --> 02:44.660
up with about the same between these two sides.

55
02:44.660 --> 02:47.260
So if we've got four on this side, we've got four on that side.

56
02:47.260 --> 02:51.620
If we have 10 on one side, we have 10 on the other and so on and so forth.

57
02:51.620 --> 02:57.850
So we've largely arbitrarily picked which VLANs go on which side, but now the

58
02:57.850 --> 02:58.620
problem

59
02:58.620 --> 03:02.600
is that even though I'm going to share the topology for these three VLANs, I'm
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

59
02:58.620 --> 03:02.600
is that even though I'm going to share the topology for these three VLANs, I'm

60
03:02.600 --> 03:03.020
going

61
03:03.020 --> 03:04.980
to share the same topology here.

62
03:04.980 --> 03:07.940
I still need eight separate topologies.

63
03:07.940 --> 03:15.600
So in the end, I'm going to have VLAN 30 which shares the exact same path as V

64
03:15.600 --> 03:17.020
LAN 10 and

65
03:17.020 --> 03:21.650
then I could draw two other VLANs on here because here's VLAN 50 coming again,

66
03:21.650 --> 03:22.260
sharing

67
03:22.260 --> 03:28.270
the blue path here and then I could grab maybe purple and say this is VLAN 70

68
03:28.270 --> 03:28.620
and we

69
03:28.620 --> 03:33.630
see that even though there's no point, we are managing all of these different
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

69
03:28.620 --> 03:33.630
see that even though there's no point, we are managing all of these different

70
03:33.630 --> 03:34.660
topologies.

71
03:34.660 --> 03:39.210
I say no point because we already have the topology, we just couldn't share it

72
03:39.210 --> 03:39.860
and so

73
03:39.860 --> 03:42.540
we now have eight different topologies in play.

74
03:42.540 --> 03:44.820
I just drew a few of them.

75
03:44.820 --> 03:46.420
So what is happening under the hood?

76
03:46.420 --> 03:49.020
I mean, why is this such a big deal?

77
03:49.020 --> 03:53.630
Well, one of the reasons for this is because when we really look at a topology,

78
03:53.630 --> 03:54.340
we're looking

79
03:54.340 --> 03:58.900
at a complete spanning tree protocol operation.

80
03:58.900 --> 04:04.300
What this means is that we have to maintain the elections if there's new
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

80
03:58.900 --> 04:04.300
What this means is that we have to maintain the elections if there's new

81
04:04.300 --> 04:05.380
switches.

82
04:05.380 --> 04:09.920
Regardless, we have to figure out who's going to be the root switch.

83
04:09.920 --> 04:14.220
We have to identify different port types.

84
04:14.220 --> 04:18.240
We say types, we're usually talking about the different roles as well as the

85
04:18.240 --> 04:18.900
different

86
04:18.900 --> 04:22.060
states.

87
04:22.060 --> 04:28.240
So if a port, for example, let's say this port here, we see that for the top

88
04:28.240 --> 04:29.260
ology on the

89
04:29.260 --> 04:32.300
left here, this is going to be a root port.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

89
04:29.260 --> 04:32.300
left here, this is going to be a root port.

90
04:32.300 --> 04:35.970
And yet I've got to maintain four different root ports for the four different V

91
04:35.970 --> 04:36.500
LANs that

92
04:36.500 --> 04:39.100
are all going across those different links.

93
04:39.100 --> 04:43.670
So we've got to have four different VLANs that are being tracked and we're root

94
04:43.670 --> 04:44.060
port

95
04:44.060 --> 04:46.660
for all four of those, for example.

96
04:46.660 --> 04:49.060
And same thing with all the other roles in the states.

97
04:49.060 --> 04:55.000
It's going to be on a per topology basis because again, a topology encompasses

98
04:55.000 --> 04:56.260
the entirety

99
04:56.260 --> 04:58.340
of STP operation.

100
04:58.340 --> 05:00.300
And this is a big one.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

100
04:58.340 --> 05:00.300
And this is a big one.

101
05:00.300 --> 05:05.150
We have to worry about BP-DU propagation, which is the sending of our BP-DUs

102
05:05.150 --> 05:05.740
and the

103
05:05.740 --> 05:10.720
transmitting of them, forwarding them along, and for that matter, the

104
05:10.720 --> 05:11.860
processing.

105
05:11.860 --> 05:15.100
Every time I get a BP-DU, I have to process it.

106
05:15.100 --> 05:19.100
I have to figure out, hey, is this still the BP-DU I was expecting?

107
05:19.100 --> 05:23.460
Is the root ID the same, the cost of the root the same?

108
05:23.460 --> 05:26.540
And then I recalculate things based on what I got.

109
05:26.540 --> 05:32.780
Furthermore, BP-DUs are sent out every two seconds by default.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

109
05:26.540 --> 05:32.780
Furthermore, BP-DUs are sent out every two seconds by default.

110
05:32.780 --> 05:37.560
So if BP-DU propagation and processing is part of STP operation and STP

111
05:37.560 --> 05:38.540
operation is

112
05:38.540 --> 05:43.000
going to be fully self-contained within each topology, well, that means that I

113
05:43.000 --> 05:43.620
am truly

114
05:43.620 --> 05:51.700
sending out eight different BP-DUs every two seconds.

115
05:51.700 --> 05:54.780
So we have to be a little bit careful with this in production networks.

116
05:54.780 --> 05:58.700
Now, trust me, Cisco switches, they can handle eight of these.

117
05:58.700 --> 06:02.300
They can handle eight topologies, no problem whatsoever.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

117
05:58.700 --> 06:02.300
They can handle eight topologies, no problem whatsoever.

118
06:02.300 --> 06:06.340
But different hardware will be able to support different amounts of topologies

119
06:06.340 --> 06:07.140
and different

120
06:07.140 --> 06:08.540
numbers of VLANs.

121
06:08.540 --> 06:14.250
So we look at the spec sheet for a particular hardware, we might find that it

122
06:14.250 --> 06:15.260
supports,

123
06:15.260 --> 06:19.940
well, maybe it supports all 4096 VLANs.

124
06:19.940 --> 06:20.940
This is pretty common.

125
06:20.940 --> 06:25.580
Every now and again, you'll find a switch that supports 512 or 64 or something

126
06:25.580 --> 06:25.900
like

127
06:25.900 --> 06:27.660
that, especially the lower end switches.

128
06:27.660 --> 06:31.860
But let's say we have a switch that supports 4096 VLANs.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

128
06:27.660 --> 06:31.860
But let's say we have a switch that supports 4096 VLANs.

129
06:31.860 --> 06:38.340
That same switch might support 1024 STP instances.

130
06:38.340 --> 06:41.980
Where an instance is really a topology.

131
06:41.980 --> 06:46.740
But it often gets referred to as an instance as well.

132
06:46.740 --> 06:53.040
So if we only support 1024, but we need one for every VLAN, what does that mean

133
06:53.040 --> 06:53.100
?

134
06:53.100 --> 07:03.500
What that means is on the 1,025th VLAN, it will have no STP topology.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

134
06:53.100 --> 07:03.500
What that means is on the 1,025th VLAN, it will have no STP topology.

135
07:03.500 --> 07:09.540
If it has no STP topology, then that means we will have loops.

136
07:09.540 --> 07:14.090
We're not running spanning tree and there's no way for me to share the spanning

137
07:14.090 --> 07:15.420
tree topology

138
07:15.420 --> 07:17.580
from a different VLAN.

139
07:17.580 --> 07:21.060
So this more or less limits us to the number of active VLANs.

140
07:21.060 --> 07:23.020
Sure, I can support 4096.

141
07:23.020 --> 07:26.270
It doesn't do me a whole lot of good if I can't use it and I definitely can't

142
07:26.270 --> 07:26.500
use

143
07:26.500 --> 07:28.820
it if I'm not running spanning tree.

144
07:28.820 --> 07:30.100
This is something to be aware of.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

144
07:28.820 --> 07:30.100
This is something to be aware of.

145
07:30.100 --> 07:33.060
It's really not something we need to be too worried about.

146
07:33.060 --> 07:37.200
It's very rare that a switch is going to give us a very limiting amount of

147
07:37.200 --> 07:38.100
spanning tree

148
07:38.100 --> 07:40.180
protocol instances.

149
07:40.180 --> 07:44.100
For example, we're probably not going to find a switch that only supports 16 or

150
07:44.100 --> 07:44.700
something

151
07:44.700 --> 07:45.980
really low.

152
07:45.980 --> 07:51.350
But at the same time, be aware that this is one of the consequences of Perviel

153
07:51.350 --> 07:52.900
and spanning

154
07:52.900 --> 07:53.900
tree.

155
07:53.900 --> 07:57.680
Which is again, coming back to this idea that we have a one-to-one relationship

156
07:57.680 --> 07:57.980
between

157
07:57.980 --> 08:03.540
our topologies as well as our VLAN count.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

157
07:57.980 --> 08:03.540
our topologies as well as our VLAN count.

158
08:03.540 --> 08:10.940
Now the last implication in all of this comes down to the configuration in iOSX

159
08:10.940 --> 08:11.460
E.

160
08:11.460 --> 08:18.170
What we'll find is that when I'm configuring priorities, when I'm configuring

161
08:18.170 --> 08:19.300
costs, even

162
08:19.300 --> 08:24.370
when I'm configuring timers because it's part of operations, all of these are

163
08:24.370 --> 08:24.620
going

164
08:24.620 --> 08:29.380
to have to be configured per VLAN.

165
08:29.380 --> 08:34.580
There's no way for me to just say, "Hey, I just want to enable a certain timer
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

165
08:29.380 --> 08:34.580
There's no way for me to just say, "Hey, I just want to enable a certain timer

166
08:34.580 --> 08:35.060
or a certain

167
08:35.060 --> 08:40.840
cost on a link without either in some way impacting every VLAN," which some

168
08:40.840 --> 08:41.660
commands

169
08:41.660 --> 08:43.020
allow us to do that.

170
08:43.020 --> 08:48.700
Or otherwise, I have to specify which VLAN I want to change the configuration

171
08:48.700 --> 08:49.340
for.

172
08:49.340 --> 08:53.820
This is certainly going to be a takeaway as we get into lab configuration and

173
08:53.820 --> 08:54.500
looking at

174
08:54.500 --> 08:58.580
iOSXE configuration, we can expect a lot of our commands to require us to

175
08:58.580 --> 08:59.700
specify a VLAN

176
08:59.700 --> 09:00.100
ID.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

176
08:59.700 --> 09:00.100
ID.
