STP Election Process

12 minutes
Share the link to this page
Copied
  Completed
You need to have access to the item to view this lesson.
One-time Fee
$99.99
List Price:  $139.99
You save:  $40
€93.30
List Price:  €130.62
You save:  €37.32
£79.79
List Price:  £111.72
You save:  £31.92
CA$136.51
List Price:  CA$191.13
You save:  CA$54.61
A$152.32
List Price:  A$213.26
You save:  A$60.93
S$135.97
List Price:  S$190.37
You save:  S$54.39
HK$782.61
List Price:  HK$1,095.68
You save:  HK$313.07
CHF 91.14
List Price:  CHF 127.60
You save:  CHF 36.46
NOK kr1,099.65
List Price:  NOK kr1,539.56
You save:  NOK kr439.90
DKK kr695.84
List Price:  DKK kr974.21
You save:  DKK kr278.36
NZ$167.38
List Price:  NZ$234.34
You save:  NZ$66.95
د.إ367.24
List Price:  د.إ514.16
You save:  د.إ146.91
৳10,987.33
List Price:  ৳15,382.71
You save:  ৳4,395.37
₹8,345.51
List Price:  ₹11,684.05
You save:  ₹3,338.54
RM476.90
List Price:  RM667.68
You save:  RM190.78
₦132,499.74
List Price:  ₦185,504.94
You save:  ₦53,005.20
₨27,870.93
List Price:  ₨39,020.42
You save:  ₨11,149.48
฿3,701.15
List Price:  ฿5,181.76
You save:  ฿1,480.61
₺3,236.01
List Price:  ₺4,530.55
You save:  ₺1,294.53
B$511.64
List Price:  B$716.32
You save:  B$204.68
R1,874.13
List Price:  R2,623.86
You save:  R749.72
Лв182.50
List Price:  Лв255.51
You save:  Лв73
₩137,667.26
List Price:  ₩192,739.67
You save:  ₩55,072.41
₪376.30
List Price:  ₪526.84
You save:  ₪150.53
₱5,769.57
List Price:  ₱8,077.63
You save:  ₱2,308.05
¥15,587.34
List Price:  ¥21,822.90
You save:  ¥6,235.56
MX$1,712.57
List Price:  MX$2,397.67
You save:  MX$685.09
QR365.03
List Price:  QR511.06
You save:  QR146.02
P1,378.03
List Price:  P1,929.30
You save:  P551.26
KSh13,498.65
List Price:  KSh18,898.65
You save:  KSh5,400
E£4,784.52
List Price:  E£6,698.52
You save:  E£1,914
ብር5,745.61
List Price:  ብር8,044.09
You save:  ብር2,298.47
Kz83,397.65
List Price:  Kz116,760.05
You save:  Kz33,362.40
CLP$95,071.49
List Price:  CLP$133,103.89
You save:  CLP$38,032.40
CN¥724.13
List Price:  CN¥1,013.82
You save:  CN¥289.68
RD$5,869.02
List Price:  RD$8,216.87
You save:  RD$2,347.84
DA13,441.55
List Price:  DA18,818.71
You save:  DA5,377.16
FJ$225.51
List Price:  FJ$315.73
You save:  FJ$90.21
Q778.65
List Price:  Q1,090.14
You save:  Q311.49
GY$20,944.44
List Price:  GY$29,323.05
You save:  GY$8,378.61
ISK kr14,022.59
List Price:  ISK kr19,632.19
You save:  ISK kr5,609.60
DH1,011.24
List Price:  DH1,415.78
You save:  DH404.53
L1,769.74
List Price:  L2,477.71
You save:  L707.96
ден5,744.06
List Price:  ден8,041.92
You save:  ден2,297.85
MOP$807.26
List Price:  MOP$1,130.19
You save:  MOP$322.93
N$1,888.87
List Price:  N$2,644.49
You save:  N$755.62
C$3,684.35
List Price:  C$5,158.24
You save:  C$1,473.89
रु13,347.21
List Price:  रु18,686.63
You save:  रु5,339.41
S/376.08
List Price:  S/526.53
You save:  S/150.44
K386.44
List Price:  K541.04
You save:  K154.59
SAR375.02
List Price:  SAR525.05
You save:  SAR150.02
ZK2,652.95
List Price:  ZK3,714.24
You save:  ZK1,061.28
L464.20
List Price:  L649.90
You save:  L185.70
Kč2,348.23
List Price:  Kč3,287.62
You save:  Kč939.38
Ft36,571.12
List Price:  Ft51,201.04
You save:  Ft14,629.91
SEK kr1,091.69
List Price:  SEK kr1,528.41
You save:  SEK kr436.72
ARS$87,466.76
List Price:  ARS$122,456.97
You save:  ARS$34,990.20
Bs694.29
List Price:  Bs972.03
You save:  Bs277.74
COP$395,890.30
List Price:  COP$554,262.26
You save:  COP$158,371.95
₡50,869.89
List Price:  ₡71,219.89
You save:  ₡20,349.99
L2,472.19
List Price:  L3,461.17
You save:  L988.97
₲745,423.92
List Price:  ₲1,043,623.31
You save:  ₲298,199.38
$U3,863.50
List Price:  $U5,409.05
You save:  $U1,545.55
zł403.45
List Price:  zł564.85
You save:  zł161.39
Already have an account? Log In

Transcript

All right, welcome back everyone. Now, when dealing with whatever spanning tree you're using, there is an election process and that's what we're going to get into here. Okay. Got as I said earlier, STP comes alive only when there's redundancy. It's working always, but it really doesn't start doing its job of blocking ports and all that good stuff and root bridges and all that until there is redundancy. Okay, once this redundancy, alright spanning tree is going to say okay, I need to select the root bridge.

The root bridge is the center of everything. That's where all the information is coming from. Okay, the root bridge, so let's call that all right, all the other switches are not root bridges for right now right root bridge or non root bridge. Now, how do you become Route bridge? Well, there's the first part of the election. It looks at something called a bid or a bridge ID.

Okay, now that bridge ID consists of two things, the bridge party number, which is 32 769, and a MAC address, whatever it is, okay? I just use this as an example. All right, so it'll look at the bridge ID, but we'll look at the priority number of the bridge ID. Now 32 769 is the default for all switches, default for all switches for Cisco, okay? That's if they're all the same, well, then I can make a decision because it's got to pick the lowest setting in the lowest bridge priority number. So if you don't change this, then it has to base it on what the lowest MAC address Last How do you know which is the law as well?

And this is us use your way and the other one is 0001 or 000. Then that's lor. Okay? So when you're given a scenario to say, hey, which of the following is the root bridge? And they'll they'll have the bridge IDs, right? Whether which is consists of these two numbers right here.

All right, and then you choose Okay, well, this bridge parties are all the same, and the MAC address, okay, boom, and then you pick the lowest number, the lowest bridge ID, okay, which is a combination of these two. Now, like I said, we'll first look at the party number. And then if the party number is the same, it will look at the lowest MAC address now, once it does that, once it says okay, you are their lowest Mac or you're the lowest bridge, party number, you are the root bridge. Now those parts, those parts on that root bridge We'll be designated forwarding period, all those ports will be designated 40. All right, but now I gotta do my job as SDP. So I got to find a switch that I need to block a port on.

So information stops being forwarded. So we don't have that broadcast storm, because that's what's going to happen. All right, so Okay, so what do I do? Well, it'll look at the same thing. It'll look at the bridge either the bridge priority if they're all the same, then I'll look for the highest bridge priority or again either the same. Now look at that highest MAC address.

Once I look at the highest MAC address, there says okay, you switch number 22. You I will choose to block a port on Well then, how does it know how much you support well is based on two things. Bandwidth And port number. Okay. And which doesn't say in the book. And if it's facing any non root bridge, if it's ports are facing the root bridge, they cannot be blocked.

Again, non root bridges whose ports are facing the root bridge, those ports cannot be blocked. Those parts will be placed into root ports. That's what it'll be called root ports. All right. So it says, All right, you got the highest MAC address. Cool.

We're gonna pick a port. All right. Let me see. We're running Fast Ethernet. We all have the same cost of 19. So can you see that we're running the same bandwidth So what we'll go for, let's go for the highest port number.

All right, let's pick the highest port number cheaper, the highest port number is facing the root bridge. I can do that. So I'll just pick the one that's not facing the root bridge and choose that as my port to block. Okay, see how that comes in? We have a visual, visual. Now everyone else say no, you gotta do it on costs.

If you have a triangle, picture a triangle, which we're going to see in a second as your triangle. If this is the switch down here, on the right to left triangle, okay, 19 Okay, 1919 that's 38 Oh, there's a highest cost path. So as who isn't gonna block this guy right down here. See, I'm not even adding let me say, well, you're facing the root bridge, you're not going to get blocked. So it must be one of these guys down here facing some other place. Okay, that's going to get blocked.

But if you do the math, because I saw Cisco Does it they base it on the highest cost path, because each bandwidth has its own cost, which we'll look at in a second. If you do the math to get to the root bridge, the one that has the highest cost path to the root bridge, that's the one that will get blocked. I do it easy, especially if it's in a triangle is very easy to do. Well, you're going to be blocked because if this way you can because this port is facing the root bridge. And Either way, it's just 19. But if you go 1919, that's 38.

Well, you got the highest cost path, buddy. All right, and you're not facing the root bridge. So you're it but if you look at our MAC address, sometimes it will be a lower port number with a lower MAC address. Sometimes, okay, but all the times No, but when I mean costs, and here's a little table. All right, it goes all the way from four megabits to 10 gigabit. Wow, put two G's in there.

Okay. No big deal. right but you're normally going to be seeing 100 megabits per second or one gigabit right 100 megabits that's what I see I say 19 right Fast Ethernet, and then gigabit is for gigabit is for definitely if you have Fast Ethernet and gigabit fast season is going to get blocked. All the rest is facing the rubric. Period. That's just the way it is.

All right, well, you have this information there's a nice table to have. Okay, so you know, because you know you're in college or wherever you're at they may say well, what about 10 gigabits okay well 10 gigabits I mean, what we're running on data centers that coming in through no see like what you know, I mean, know why but you know, people like to play around is 00 for the old, two for the new. I came up with these numbers. I have no idea. Okay, just memorize them. Okay.

But that's what they come on these these guys. They say, Hey, we're going to give this a cost. Okay. So that's what the cost is. Cool. So now let's take a look at a visualization of it.

Alright, let's escape out of here. And let's open up the packet tracer. There we go. Now these are three switches, three layer three switches that I just pop on there. Now using this, it's pretty simple to see that that amber light right there, that's our block port. Okay.

So, our blog part, you know, this is not the root bridge. I just said that root bridge, right? So he's blocked he's not the root bridge. He's facing this guy. He's now the real bridge. He's the bridge.

Why do you hear this? Yeah, let's see. That's true. Let's see if that's true. Okay, I'm just gonna open it up and then I'll get out your way because I know you guys keep telling me lies Get out the way sure shows spanning tree okay. 00 a 41 all of this I want to use there was a way for you on a dz this bridge is a route this information right here that information deals with the root bridge, you will see this and every switch you go into this information is just for that this information not here is for the MAC address for the MAC address.

Okay, now you can see that since this is the root bridge, you can take a look at both ports designated forwarding and there's your cost right there 19 Okay, because it's Fast Ethernet. So and this is the actual the root bridge and this is the MAC address of the switch. There you go is the same thing so we're going to see this and all the other switches so let's take a look at the other switches. I said only the one that got blocked let's see what my goodness Yes. Okay, Alright, enable shows. Oops.

All right. Now, you see that that was the root bridge right there. Now the root bridge, but look at the MAC address here. 00 e, I'm pretty high, right? This root, oh, it's facing the root bridge, alternating block, meaning it could change, okay, but the cost is 19. But you can see that the MAC address is higher than here.

This is triple zero, this is double zero he, so he was chosen to be blocked. Okay, and this guy, let's see what his MAC addresses. Okay, here's his 006 less than 00 he, so that's why he didn't get blocked, which is ports, all the other ports or non root bridges that don't get bought or set a designated forwarding except the ports that are Facing the root bridge, which gets set to root. Okay, when you're facing it, look at the cost again 19. Now we're just talking about spanning tree. Okay?

No big deal is easy to see in the packet tracer, which one is longer, which is not because you got the little lights, obviously, but in your certification, not gonna have little lights. All right, you're gonna have the bridge IDs, right, the priority number and the MAC address. So you got to take a look at those numbers and decide who's who always remember that the root bridge will have the lowest priority or the lowest Mac, the one that's blocked will have either the highest priority or the highest Mac, right, and everybody else will be non root bridges. And there'll be sent to designate a 40 designate a 40. And the root bridge will always have all his ports on designated 40 period. Why there's no discussion on that.

Okay, but it is fairly simple. There's really simple now we're just talking about it. Okay spanning tree. So you can get, you know, guess more like a review or start getting all I remember spanning tree. Yeah, blogging reports and all that. But in the next section, we're actually going to go ahead and configure spanning tree.

We'll talk about the configuration, and then why can you do a lab with spanning tree. We'll see you then.

Sign Up

Share

Share with friends, get 20% off
Invite your friends to LearnDesk learning marketplace. For each purchase they make, you get 20% off (upto $10) on your next purchase.