1
00:00:00,890 --> 00:00:08,150
In this typology I have two switches are which are configured to to run previous t not rapid previously

2
00:00:08,170 --> 00:00:10,750
plus but simply previous t.

3
00:00:10,810 --> 00:00:12,760
I'll show you that config in a moment.

4
00:00:12,760 --> 00:00:18,790
Rodda one is connected to switch 1 and router 2 is connected to switch 2 and the rods are simply acting

5
00:00:18,790 --> 00:00:24,130
as edge devices or PCs in this topology.

6
00:00:24,130 --> 00:00:35,530
I've also got a hub connected to switch one and switch to just switch one show run pipe include spanne

7
00:00:37,890 --> 00:00:43,440
as you can see at the moment the switches is configured for previous t well-explained extended system

8
00:00:43,440 --> 00:00:45,320
IDs in more detail later.

9
00:00:45,630 --> 00:00:52,370
But essentially it means that the priority of the switches based on the priority and a villain number.

10
00:00:52,440 --> 00:01:01,050
So as an example shows spending tree the switch has a bridge ID consisting of the priority 3 2 7 6 9

11
00:01:01,650 --> 00:01:08,780
which is the default of 3 2 7 6 8 plus the extended system id of one because we are looking at a villain

12
00:01:08,780 --> 00:01:12,270
one and MAC address of the following.

13
00:01:12,360 --> 00:01:14,630
The switch is currently the route.

14
00:01:14,940 --> 00:01:20,650
What I want you to see is that the spending tree enabled here is I triple E.

15
00:01:20,850 --> 00:01:26,580
So in this output it looks like Im running a two to one D but actually the switch is configured for

16
00:01:26,580 --> 00:01:35,580
Poovey LAN spending tree povi and spinning tree is compatible with Ada 2 to 1 D switches and therefore

17
00:01:35,580 --> 00:01:44,100
we can see Triple E and the output here has switched to show run type.

18
00:01:44,100 --> 00:01:53,900
Include spanne which is configured to use PV is t extended system IDs are being used

19
00:01:57,970 --> 00:01:58,700
on the switch.

20
00:01:58,710 --> 00:02:05,950
The bridge idea consists of the property 3 to 7 6 and 9 which is 3 2 7 6 8 2 the default plus the villain

21
00:02:05,950 --> 00:02:10,520
number which is veel and 1 in this example.

22
00:02:10,870 --> 00:02:13,420
This is the MAC address of the switch.

23
00:02:13,810 --> 00:02:16,830
So we have two switches.

24
00:02:16,990 --> 00:02:19,030
One has the MAC address.

25
00:02:19,030 --> 00:02:27,870
One has the MAC address so which one has become the root of the spending tree because it has a lower

26
00:02:28,390 --> 00:02:31,260
MAC address when compared to the switch.

27
00:02:31,570 --> 00:02:38,840
So because of the lower MAC address notice a c is lower than E-A in hexadecimal.

28
00:02:39,000 --> 00:02:45,940
So which one became the root of the spanning tree what you also notice is that on switch 1 all ports

29
00:02:45,940 --> 00:02:53,430
or forwarding in the topology the ports that are currently connected are those ports and they all forwarding

30
00:02:54,980 --> 00:03:03,920
on switch to however Pt. 1 which is gigabit 00 is the root port and it's forwarding has a path cost

31
00:03:03,920 --> 00:03:05,690
of four gigabit.

32
00:03:05,690 --> 00:03:11,870
0 1 is blocking or discarding to use the industry standard term.

33
00:03:11,900 --> 00:03:19,370
Pt. 2 is forwarding port three is blocking.

34
00:03:19,630 --> 00:03:26,460
So this port is also blocking route switches forward on all ports.

35
00:03:26,610 --> 00:03:31,380
Before I show you how port status is determined Let's have a look at the BBC's

36
00:03:34,170 --> 00:03:42,480
historic capture on that link and what we can see here in Wireshark is a spanning tree BPT.

37
00:03:42,720 --> 00:03:47,330
So it's using a two or three Ethernet Frayne's.

38
00:03:47,490 --> 00:03:54,120
Notice the destination address is the well-known Mac address for spending tree it is a multi-course

39
00:03:54,430 --> 00:03:58,870
broadcast address from the Mac address.

40
00:03:58,870 --> 00:04:12,100
Yes which one notice the Mac address of the switch is 0 0 11 C 6 a c d d and we currently looking at

41
00:04:12,100 --> 00:04:13,820
ports 3 on the switch.

42
00:04:14,080 --> 00:04:22,990
So I notice Didi's 0 0 but this is Didi's 0 3 because in spending tree that's the portal we currently

43
00:04:22,990 --> 00:04:27,840
looking at if we went and looked at port 2 as an example

44
00:04:32,770 --> 00:04:35,620
notice the Mac address ends in 0 2.

45
00:04:35,620 --> 00:04:39,630
We've got port 0 0 0 1 0 2 0 3.

46
00:04:39,730 --> 00:04:48,930
So back in Wireshark he has our capture sent out of Port three in spanning tree we can see the spanning

47
00:04:48,930 --> 00:04:50,220
tree version.

48
00:04:50,220 --> 00:04:56,670
So the suspending tree is 0 because in this port it's actually using Ada 2 the one d or the original

49
00:04:56,670 --> 00:05:04,800
version of spanning tree the route identifier is 3 2 7 6 8 is the villain number and there's the Mac

50
00:05:04,800 --> 00:05:09,300
address of the switch which we can see clearly here.

51
00:05:09,700 --> 00:05:15,390
So notice route identifier is the information of 6:57 6:8.

52
00:05:15,680 --> 00:05:19,770
Villain 1 there is the Mac address of the switch.

53
00:05:20,180 --> 00:05:23,710
The root path cost is zero because the switch is the root.

54
00:05:23,750 --> 00:05:27,130
So there's no cost to get to the root base.

55
00:05:27,140 --> 00:05:33,050
The port identifier and here all some time is used in spending tree.

56
00:05:33,220 --> 00:05:40,580
Now when a switch boots up all ports are put into the blocking state they then move to other states

57
00:05:40,670 --> 00:05:48,000
based on time as an aid to the one D when a spending tree switch boots up all ports are put into the

58
00:05:48,000 --> 00:05:55,650
blocking state off to 20 seconds called the max a timer ports move to what's called the listening state.

59
00:05:56,130 --> 00:05:59,940
If a switch is ready up and you connect a cable to the port.

60
00:05:59,940 --> 00:06:01,730
In other words the link goes up.

61
00:06:01,860 --> 00:06:03,790
It starts at the listening state.

62
00:06:03,990 --> 00:06:12,290
Ports will then move to the learning state based on the forward delay which is 15 seconds in generation

63
00:06:13,130 --> 00:06:18,620
and after 15 seconds Portes transition from the learning state to the forwarding state.

64
00:06:18,620 --> 00:06:26,870
So an edit to the one d or PV t it can take 50 seconds for ports to start forming on switches because

65
00:06:26,870 --> 00:06:30,490
they move from blocking to listening to learning to forwarding.

66
00:06:30,510 --> 00:06:36,860
Now in the listening states they are sending BPT use but not updating their mac address tables in the

67
00:06:36,860 --> 00:06:39,330
learning state BPT use a.

68
00:06:39,770 --> 00:06:43,160
And the MAC address tables of switches are updated.

69
00:06:43,280 --> 00:06:49,610
So only if based on the spending tree calculation it's determined that a port can be opened a port is

70
00:06:49,610 --> 00:06:54,630
set to the forwarding state after 50 seconds when a switch comes up.

71
00:06:54,680 --> 00:07:02,600
Typically if a switch is already up and you plug the cable into that switch after 30 seconds the port

72
00:07:02,600 --> 00:07:04,360
will start forwarding.

73
00:07:04,370 --> 00:07:10,550
So in the PPD you can see the max age timer and the forwarding delay timer.

74
00:07:10,670 --> 00:07:14,570
This is determined by the route bridge.

75
00:07:14,630 --> 00:07:19,390
So on switch one which is the route bridge we can see that the holloed timer.

76
00:07:19,400 --> 00:07:23,490
In other words BPT Hello's are sent out every two seconds.

77
00:07:23,660 --> 00:07:30,260
The max age time is 20 seconds and the forwarding delay timer is 15 seconds.

78
00:07:30,900 --> 00:07:36,060
And that's what we see in the BPT use as captured in our typology.
