1
00:00:00,240 --> 00:00:06,180
So let's start with a simple typology to illustrate how spending tree works.

2
00:00:06,180 --> 00:00:09,710
Why would you require spending tree in a switched network.

3
00:00:10,630 --> 00:00:16,810
Sindhis typology we have to stay connected to switch one switch one in turn is connected to to switch

4
00:00:16,810 --> 00:00:21,500
t and switch to has host be connected to it.

5
00:00:21,520 --> 00:00:24,120
So very simple topology.

6
00:00:24,170 --> 00:00:30,050
Now if the link went down between switch one and switch to host they wouldn't be able to communicate

7
00:00:30,110 --> 00:00:32,560
with host B and vice versa.

8
00:00:33,390 --> 00:00:38,490
So you are probably going to want to implement some kind of redundancy between those two switches by

9
00:00:38,490 --> 00:00:40,730
adding an additional link.

10
00:00:41,040 --> 00:00:47,180
So that's great because you now have a network redundancy in case one of the links goes down.

11
00:00:47,250 --> 00:00:52,150
However that introduces problems in a switched environment.

12
00:00:52,260 --> 00:00:57,880
It's generally recommended in networks today that you implement some type of redundancy.

13
00:00:58,080 --> 00:01:05,370
So in this example you have two links between your two switches but that will introduce additional problems

14
00:01:05,370 --> 00:01:07,540
which will now discuss.

15
00:01:07,620 --> 00:01:14,010
Let's assume for the moment that these switches have just booted up and they MAC address tables or camp

16
00:01:14,040 --> 00:01:18,650
tables or empty and to help explain this issue.

17
00:01:18,810 --> 00:01:26,070
Let's add McEnroe's tables to the topology so that you can see how the MAC address tables are updated

18
00:01:26,340 --> 00:01:29,980
when traffic is sent from one host to another.

19
00:01:29,990 --> 00:01:34,580
So let's assume that in this topology the switches have just come up.

20
00:01:34,580 --> 00:01:41,000
In other words they've been rebooted or powered up and the MAC address tables or cash tables are empty

21
00:01:41,120 --> 00:01:43,250
on the two switches.

22
00:01:43,300 --> 00:01:51,220
Now in a sense of frame to be the destination address and the frame will be B and the source address

23
00:01:51,310 --> 00:02:00,010
will be a so a sending a frame to B and when it arrives at Switch one switch one will read the source

24
00:02:00,070 --> 00:02:07,210
MAC address of the frame and the switch will see that the source addresses a the switch will update

25
00:02:07,210 --> 00:02:13,000
its MAC address table to state that A can be found on port 1 MAC address.

26
00:02:13,010 --> 00:02:16,140
B however is not in the MAC address table.

27
00:02:16,220 --> 00:02:22,110
So the switch will flood the frame out of all ports except on the port in which it arrived.

28
00:02:22,130 --> 00:02:26,350
So in this example the frame you've got a port too as well as Port three.

29
00:02:26,390 --> 00:02:31,020
It does that because it doesn't know where mac address B is.

30
00:02:31,030 --> 00:02:33,680
Now this is obviously a very simple typology.

31
00:02:33,880 --> 00:02:39,480
In this example the frame is only being sent out of two parts of the switch.

32
00:02:39,490 --> 00:02:47,080
However if the switch had many ports let's say ninety six ports an incoming frame on one port could

33
00:02:47,080 --> 00:02:55,620
be replicated out of over 90 ports on the switch that increases the amount of traffic sent in your network

34
00:02:55,620 --> 00:02:56,880
quite dramatically.

35
00:02:57,720 --> 00:03:04,750
So in this typology What does switch to do with the frame received and Pt. 1 the source address once

36
00:03:04,750 --> 00:03:10,600
again IS-A and the destination address is be what will the switch do with the frame.

37
00:03:10,950 --> 00:03:17,250
Well firstly it's going to update its MAC address table to state that A can be found on port 1 and then

38
00:03:17,250 --> 00:03:24,560
it's going to flood the frame of all ports so it'll flooded out a port to as well as Port three and

39
00:03:24,590 --> 00:03:29,120
this example host B will receive a frame from host day.

40
00:03:29,300 --> 00:03:36,760
However the switch also receives the frame on port three and this is where it gets a bit confusing.

41
00:03:36,950 --> 00:03:38,830
A From the switches point of view.

42
00:03:38,880 --> 00:03:42,200
Is it pulled 1 or is it in port 3.

43
00:03:42,250 --> 00:03:48,460
So in this example it's going to update its MAC address table to state that AY's and Port three because

44
00:03:48,490 --> 00:03:55,700
the frame the NOW example arrived on port three later then on port 1.

45
00:03:55,720 --> 00:04:02,870
So it's going to update the MAC address table entry to state that is now available on port three.

46
00:04:02,880 --> 00:04:06,430
The switch will also flood the frame out of all ports.

47
00:04:06,480 --> 00:04:10,520
So it's going to flood it out of port one and out of port.

48
00:04:10,820 --> 00:04:19,700
So host B has now received the frame twice once from the original frame that arrived on port 1 S.O.P

49
00:04:20,340 --> 00:04:24,400
and secondly for the frame that arrived in port 3.

50
00:04:24,450 --> 00:04:30,720
So this can get confusing for end devices because they are receiving the same frame multiple times the

51
00:04:30,720 --> 00:04:35,760
MAC address table is also changing the first frame that arrived on.

52
00:04:35,760 --> 00:04:41,980
Pulled one allowed the switch to update its MAC address table to state that A can be found on port 1.

53
00:04:42,360 --> 00:04:48,480
However the frame that arrived on port three now indicates to the switch that a can be found on port

54
00:04:48,480 --> 00:04:49,450
three.

55
00:04:49,470 --> 00:04:55,640
So the switch needs to update its MAC address table to state that they can be now found on port three.

56
00:04:55,650 --> 00:04:59,360
So this introduces instability in the MAC address table.

57
00:04:59,430 --> 00:05:06,690
So we have end devices receiving frames multiple times and we have MAC address instability because the

58
00:05:06,690 --> 00:05:12,780
switch thought that was available on port one but now sees that it's available in Port three but it

59
00:05:12,780 --> 00:05:13,810
gets worse.

60
00:05:14,850 --> 00:05:20,670
When the frame arrived on port 1 the switch updated its MAC address table to state that A can be found

61
00:05:20,670 --> 00:05:28,540
in port 1 but it also flooded the frame out of both port 2 and Port three in the apology.

62
00:05:28,620 --> 00:05:36,270
The frame was received by host B but in addition the frame was sent back to switch one so switch one

63
00:05:36,270 --> 00:05:41,150
has received was a frame that it's st to switch to and switch one.

64
00:05:41,170 --> 00:05:48,600
And now updates its MAC address table to state that A is available on port three.

65
00:05:48,670 --> 00:05:55,150
Now when switch one received the frame it not only updates its MAC address table but it also floods

66
00:05:55,210 --> 00:05:58,970
the frame out of all ports except the port in which it arrived.

67
00:05:59,380 --> 00:06:05,890
So the frame arrived on port Three mine is flooded out of port one and out of port two.

68
00:06:05,950 --> 00:06:12,460
So this gets confusing for homestay because it's receiving the frame that it's originally sent.

69
00:06:12,790 --> 00:06:17,050
But not only is a receiving the frame that it's sent.

70
00:06:17,050 --> 00:06:21,740
So which one is also sending the same frame back to switch to.

71
00:06:22,180 --> 00:06:24,460
And what is switch to going to do with the frame.

72
00:06:24,730 --> 00:06:26,050
It's going to flood it.

73
00:06:26,110 --> 00:06:28,440
So it's going to send a copy to host B.

74
00:06:28,780 --> 00:06:35,320
Host B is now received the same frame three times but it will also send the frame back to switch one

75
00:06:36,570 --> 00:06:42,210
as well as updating its MAC address table to now state that a is on port 1.

76
00:06:42,240 --> 00:06:48,270
So originally when it received the first frame it thought that it was on port 1 then when it received

77
00:06:48,270 --> 00:06:55,880
the frame and Port three it thought that a was on port three and now it thinks that a is on port 1.

78
00:06:55,920 --> 00:07:03,150
So we've got a lot of mac address instability in the MAC address table post be receiving the same frame

79
00:07:03,150 --> 00:07:04,950
multiple times.

80
00:07:04,950 --> 00:07:11,790
But the biggest issue here is that the frame gets sent back to switch one gets flooded again gets sent

81
00:07:11,790 --> 00:07:13,260
back to switch to.

82
00:07:13,380 --> 00:07:17,120
And this process continues over and over again.

83
00:07:17,400 --> 00:07:24,990
We have a loop in this topology with the frame being duplicated and sent round and round and round between

84
00:07:24,990 --> 00:07:26,010
these two switches.
