WEBVTT

1
00:00.000 --> 00:04.640
All right, it is time to jump into the lab and do some configurations.

2
00:04.640 --> 00:08.720
We're going to focus on the macros, the timer configurations, and well, the

3
00:08.720 --> 00:09.720
macros that allow

4
00:09.720 --> 00:12.080
us to do the timer configurations.

5
00:12.080 --> 00:15.340
And then we're also given a topology with five switches.

6
00:15.340 --> 00:19.910
So take a moment to maybe look at the topology, figure out which ports you

7
00:19.910 --> 00:21.000
would expect to

8
00:21.000 --> 00:24.630
be blocked based on MAC addresses, switch three should be the root when we

9
00:24.630 --> 00:25.240
first fire

10
00:25.240 --> 00:26.600
this up.

11
00:26.600 --> 00:30.150
And from there, maybe throw a priority statement or two on using the macro
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

11
00:26.600 --> 00:30.150
And from there, maybe throw a priority statement or two on using the macro

12
00:30.150 --> 00:31.680
statement to change

13
00:31.680 --> 00:35.460
the root when we're done to make sure that we know which link would be blocked

14
00:35.460 --> 00:35.760
based

15
00:35.760 --> 00:37.800
on our calculations.

16
00:37.800 --> 00:41.400
So either way, it's good practice, but let's go ahead and accomplish this lab

17
00:41.400 --> 00:42.120
challenge.

18
00:42.120 --> 00:46.210
First step here is using only root macros to configure switch one to be the

19
00:46.210 --> 00:46.960
root and switch

20
00:46.960 --> 00:50.360
through to be the backup, switch to to be the backup.

21
00:50.360 --> 00:54.310
Now switch three again, we said that we'd expect this to be the root and we're

22
00:54.310 --> 00:54.920
supposed

23
00:54.920 --> 00:56.560
to use VLAN 10 for all of this.

24
00:56.560 --> 00:59.240
I'm going to say VLAN 10 root.

25
00:59.240 --> 01:02.520
And indeed, the lack of root port says that switch three is the root.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

25
00:59.240 --> 01:02.520
And indeed, the lack of root port says that switch three is the root.

26
01:02.520 --> 01:06.840
And again, I'm going to switch one here and use that macro spanning tree VLAN

27
01:06.840 --> 01:07.800
10 rather

28
01:07.800 --> 01:11.640
than priority, I'm going to say root primary.

29
01:11.640 --> 01:17.720
And then when I do that show spanning tree VLAN 10 root command.

30
01:17.720 --> 01:24.130
So I am the root, but also notice the value that was chosen is 24 K. And so

31
01:24.130 --> 01:24.440
that's what

32
01:24.440 --> 01:26.800
we'd expect based on everything we've talked about.

33
01:26.800 --> 01:33.160
Switch to I'm going to run that secondary command spanning tree VLAN 10 root
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

33
01:26.800 --> 01:33.160
Switch to I'm going to run that secondary command spanning tree VLAN 10 root

34
01:33.160 --> 01:34.120
secondary.

35
01:34.120 --> 01:38.860
And then if I do show spanning tree for VLAN 10, I'll see all the information

36
01:38.860 --> 01:39.600
for my own

37
01:39.600 --> 01:44.280
bridge ID, including my priority of 28 K, which is exactly what the secondary

38
01:44.280 --> 01:44.840
is going

39
01:44.840 --> 01:46.120
to do.

40
01:46.120 --> 01:48.120
Next using only root macros configure.

41
01:48.120 --> 01:49.840
Oh, that's what we just did.

42
01:49.840 --> 01:54.560
All right, determine the diameter of the network and adjust the timers.

43
01:54.560 --> 02:01.970
So with the network looks like this, where we have four switches in a square
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

43
01:54.560 --> 02:01.970
So with the network looks like this, where we have four switches in a square

44
02:01.970 --> 02:03.280
and another

45
02:03.280 --> 02:05.680
switch down here.

46
02:05.680 --> 02:10.800
So what is the diameter here for the most part outside of rather unique

47
02:10.800 --> 02:12.160
situations, the number

48
02:12.160 --> 02:15.990
of switches is typically going to be our diameter for the smaller lab type of

49
02:15.990 --> 02:16.840
scenarios.

50
02:16.840 --> 02:19.840
And a production network will have to do a little bit more work.

51
02:19.840 --> 02:23.890
The idea here is to eliminate redundant connections where we need to, in fact,

52
02:23.890 --> 02:24.880
I could just erase

53
02:24.880 --> 02:26.840
these like that.

54
02:26.840 --> 02:30.830
And that allows us to see what this network looks like if some of these links
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

54
02:26.840 --> 02:30.830
And that allows us to see what this network looks like if some of these links

55
02:30.830 --> 02:31.520
are down.

56
02:31.520 --> 02:35.910
So we see starting from one of the edge switches here, one, two, three, four,

57
02:35.910 --> 02:36.440
five.

58
02:36.440 --> 02:40.400
And remember, we do include the first switch that we start counting from.

59
02:40.400 --> 02:43.440
So this is a diameter of five.

60
02:43.440 --> 02:48.600
And so we want to go ahead and configure timers that are appropriate.

61
02:48.600 --> 02:52.360
So what we want to do is get onto the root here.

62
02:52.360 --> 02:53.840
We can go ahead and do it from here.

63
02:53.840 --> 02:57.240
And I say spanning tree VLAN 10.

64
02:57.240 --> 02:58.840
And it's the same macro.

65
02:58.840 --> 03:00.280
We were just going to add more parameters.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

65
02:58.840 --> 03:00.280
We were just going to add more parameters.

66
03:00.280 --> 03:02.040
I'm going to say root primary.

67
03:02.040 --> 03:03.040
And we're on a question mark.

68
03:03.040 --> 03:04.440
We see diameters and options.

69
03:04.440 --> 03:06.320
So I'll say five here.

70
03:06.320 --> 03:11.760
And then I also need to know what my hello timer is going to be.

71
03:11.760 --> 03:14.360
So I can go ahead and type in hello time.

72
03:14.360 --> 03:18.000
And then the lab task said to base it on one second.

73
03:18.000 --> 03:19.320
So I'm going to say one second.

74
03:19.320 --> 03:25.330
And then when I do a show spanning tree, VLAN 10, I'm going to see that my

75
03:25.330 --> 03:26.360
hello timer

76
03:26.360 --> 03:30.600
was set to one second based on that command and then max age and four delay are
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

76
03:26.360 --> 03:30.600
was set to one second based on that command and then max age and four delay are

77
03:30.600 --> 03:31.120
pretty

78
03:31.120 --> 03:32.360
low.

79
03:32.360 --> 03:36.390
They go a lot smaller when we're using one second to lows, which that's a big

80
03:36.390 --> 03:36.920
driving

81
03:36.920 --> 03:37.920
factor.

82
03:37.920 --> 03:42.120
So the parameter five is a little bit less than the default diameter of seven.

83
03:42.120 --> 03:46.220
So that's lab task two lab tasks three without using macros and sure the backup

84
03:46.220 --> 03:46.880
route will

85
03:46.880 --> 03:50.040
use the same timer values if it takes over as the roots.

86
03:50.040 --> 03:53.880
So basically what we're saying here is let's use the real timer commands.

87
03:53.880 --> 03:56.760
And we want to match one 10 and seven.

88
03:56.760 --> 04:01.840
So I'm going to come over to switch to and say spanning tree VLAN 10.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

88
03:56.760 --> 04:01.840
So I'm going to come over to switch to and say spanning tree VLAN 10.

89
04:01.840 --> 04:03.120
We see the different options here.

90
04:03.120 --> 04:08.020
So I'm going to start with hello time of one second, then spanning tree VLAN 10

91
04:08.020 --> 04:08.320
forward

92
04:08.320 --> 04:12.040
time was was it 10 seconds for max age?

93
04:12.040 --> 04:14.160
Yeah, and seven for four.

94
04:14.160 --> 04:17.520
So seven for forward.

95
04:17.520 --> 04:19.120
And then max age is 10.

96
04:19.120 --> 04:20.320
So there we go.

97
04:20.320 --> 04:22.080
That's test number three.

98
04:22.080 --> 04:23.800
And so that's pretty much it.

99
04:23.800 --> 04:27.590
Now we do have this bonus challenge, which is using only root macros adjust

100
04:27.590 --> 04:28.240
switch one

101
04:28.240 --> 04:30.640
to use a priority of eight K.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

101
04:28.240 --> 04:30.640
to use a priority of eight K.

102
04:30.640 --> 04:33.080
So here's the idea.

103
04:33.080 --> 04:36.870
If we're only going to use root macros, I can't specify a priority, but I do

104
04:36.870 --> 04:37.640
recall that every

105
04:37.640 --> 04:42.680
time let's say switch three, we know switch three is better than switch one.

106
04:42.680 --> 04:48.310
If I were to adjust this to say, Hey, I want you to be the root and I'm going

107
04:48.310 --> 04:48.800
to use the

108
04:48.800 --> 04:53.160
root primary, well, it's going to match what route what switch one is.

109
04:53.160 --> 04:59.950
So switch one right now is 24 K. So then I would use this set switch three to

110
04:59.950 --> 05:01.920
be 24 K.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

110
04:59.950 --> 05:01.920
be 24 K.

111
05:01.920 --> 05:05.700
And then that's going to make switch three the route.

112
05:05.700 --> 05:09.640
Then I come back here to switch one and use the same command and it will go to

113
05:09.640 --> 05:10.320
20 K to

114
05:10.320 --> 05:11.760
beat switch three.

115
05:11.760 --> 05:17.920
If I alternate back and forth, eventually I will get down and it will take a

116
05:17.920 --> 05:17.960
while.

117
05:17.960 --> 05:20.560
It will get down to the target value.

118
05:20.560 --> 05:21.880
What do we say?

119
05:21.880 --> 05:24.730
We said eight K probably shouldn't have gone that low, but either way we will

120
05:24.730 --> 05:25.240
eventually

121
05:25.240 --> 05:26.240
get there.

122
05:26.240 --> 05:28.960
We see we need to do it four times on each one.

123
05:28.960 --> 05:33.600
So we don't have to do this the whole time, but let's just do a few times.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

123
05:28.960 --> 05:33.600
So we don't have to do this the whole time, but let's just do a few times.

124
05:33.600 --> 05:43.610
So if I say spanning tree VLAN 10 root primary on switch three, now I can do my

125
05:43.610 --> 05:46.160
root command.

126
05:46.160 --> 05:50.630
See I am the root and my priorities 24 K. And then if I do the same command

127
05:50.630 --> 05:51.280
here, spanning

128
05:51.280 --> 06:02.920
tree VLAN 10 root primary spanning tree VLAN show spanning tree VLAN 10 root,
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

128
05:51.280 --> 06:02.920
tree VLAN 10 root primary spanning tree VLAN show spanning tree VLAN 10 root,

129
06:02.920 --> 06:03.240
we see that

130
06:03.240 --> 06:10.560
now I am 20 K. So if I come back to switch three and say let's do this again, I

131
06:10.560 --> 06:11.360
'm going

132
06:11.360 --> 06:14.000
to run the same macro.

133
06:14.000 --> 06:18.320
Now I'm at 20 K switch one same command.

134
06:18.320 --> 06:21.000
Now I'm at 16 K and so on and so forth.

135
06:21.000 --> 06:24.640
So this is just a little exercise.

136
06:24.640 --> 06:26.960
So that should be at 16.

137
06:26.960 --> 06:28.720
Oops.

138
06:28.720 --> 06:30.200
Now that should be at 12.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

138
06:28.720 --> 06:30.200
Now that should be at 12.

139
06:30.200 --> 06:31.720
I guess we will go ahead and do it the whole time.

140
06:31.720 --> 06:33.400
Now this should be at 12.

141
06:33.400 --> 06:34.680
Now we should be at eight.

142
06:34.680 --> 06:36.360
So let's go ahead and run this command.

143
06:36.360 --> 06:38.960
And indeed we landed at the eight K value.

144
06:38.960 --> 06:43.760
So again, the fact that we were restricted to just using the macro says that we

145
06:43.760 --> 06:44.160
really

146
06:44.160 --> 06:47.570
in order to do this bonus task, we really needed to understand what the macros

147
06:47.570 --> 06:48.280
are doing.

148
06:48.280 --> 06:52.400
And then how to manipulate them to get us exactly what we were looking for.

149
06:52.400 --> 06:55.080
Probably nothing we're ever going to do in production, but a little fun

150
06:55.080 --> 06:55.680
exercise that

151
06:55.680 --> 06:59.240
again really emphasizes how these macros actually function.

152
06:59.240 --> 07:01.800
I hope this has been informative for you and I'd like to thank you for viewing.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

152
06:59.240 --> 07:01.800
I hope this has been informative for you and I'd like to thank you for viewing.
