So we're looking at art apology with switch one switched to switch three and switch for
this one's. I'm gonna first
and execute the command show spanning tree
and the villain we have. Let me shoot me as a reminder. Show reel and grief.
Remember, we created real and 1 50 yesterday
So we're gonna check spanning tree for villain 1 50
So show standing. Three Villain. One
So here is your command output and I will go over it with you guys.
As you see, the priority does not see a 32 768 it saves 32 918
Why? Because, As I assured you, the priority field has been split into you have priority plus villain I D. So the priety is 32 +768 You add 1 50 to it. So 32 +768 plus 1 50 is 32 +918 The top portion
command or the top stanza of this command, is all information pertaining to the root bridge.
So the priority of the root bridges 32 918
the Mac address of the route Bridge Is this guy here?
The number highlighted 0000164 a d o c. Nine
The cost. The route path cost to get to the root is 38.
So we at this point should be able to garner that the route is to switch is away
for fast Internet All these links that we're running here are fast Internet links.
The cost for these links is 19. So when the cost is 38 you know that the BP do trance. First
so the cost has been implemented locally from 19 to 38.
or the time between bpd use is two seconds.
As I said, the time spent in listening and learning is 15 seconds, 15 seconds for listening and then 15 seconds for learning
the max each time. I would not worry about this at your level. The Max age is basically the number of seconds. Ah, switch will hold on to a B P. D. You received on a port before the bpd you is discarded. I said that once, but you don't really need to know what Max Ages at your level.
The bottom stanza of this command gives you information about the local switch about switch to
so switch to his priority is also 32 918
So why did this guy? Whoever this guy has become the route because it's Mac address was lower than switched two's Mac address,
even if the 1st 3 characters you see this guy, the Route bridge is 000 and
switched to is 00 d o. D is higher in hacks than zero
again. The hello time is set to or the time between bpd uses set to two seconds on the four. Delay is again 15 seconds is usually not recommended to mess with these timers.
is alternate and remember, alternate ports are put in blocking, and the cost of that port is 19. Because it is a fast Internet link,
is also an alternate path to the route bridge. It's a non route, non designated port. Hence it was put in for blocking.
Don't worry about this number. This is the priority field for the port itself. It is the port priority. This does not come into play until you get to your C C in peace.
Port three, as you see, is your route port and it is put in forging.
So one route port, part non roots switch.
Port four is also alternate and blocking. So this is switched to
So switch one should be one Switch away from the root bridge since switch to was to two switches away and we have a total of four switches.
So when I say show spanning tree real and 1 50 the cost to the route bridge should say 19. See?
The cost to the route bridge
and the priority is 32 918 Same as you saw on switch to
the top stones again is information about the route
and the bottom stanza is information about switch one. The local switch Port three on switch one is the root port, and I will inform you that poor tree is connected to switch three. So switch three should be our route.
Port one is the designated port, which is connected to switch one.
So pulling up the topology.
Port one hair is connected to switch to show off course. This is the designated port or the downstream facing port.
is your route port. And this is Port three up here where my r o. C. Which is connected to switch three. So let's go to switch three and check out
Check to see if that is the root shows man.
and switch three Say's that this bridge is the root.
This is information Swiss trees providing about the route bridge. And this is information Switch three is private writing about about itself. However, you see the Mac address of the Route bridge and the Mac address off itself is the same. Which means switched three is the route bridge.
Also, as I said, all the ports on the route bridge will be designated ports. And you see that? That seems to be the case. All the ports on this switch, our designated and fording.
Now what if I wanted to make a switch? One. The route bridge.
Can I change which ones? So I'm back in switch wanted.
Can I change? Which one's Mac address? No, Mac addresses are hard coded.
Can I change its priority? Sure, I can.
villain 1 50 And if I execute the help feature,
I see the option priority
so I can say priority.
And the default priority is 32 768 plus 1 50 which is 32 918 So I just need to set it to a number lower than this, and I believe 100 will do
so. Let's try and set it to 100
and it does not allow me to set the priority to 100.
Now, remember that number I asked you to remember on the villain I d field when the priority field has been broken into four bit priority and 12 villain I d. That first bit value for the villain I d part was 40 96. That wasn't it.
Hence, because just those four bits were designated as a villain, I d. You can only make changes to the priority field in increments off 40 96. So British priority must be in increments of 40 96 which is why I put the bit values on the board
to make sure you understood this.
So can I make the priority? Zero. Sure I can.
And now if I said you show
span short for spanning tree villain 1 50
Switch one Say's that it is the root bridge,
and that concludes for now, the spanning tree lab.