Professional Documents
Culture Documents
Let’s
take a look at this topology and Determined Theoretically.
Next Switch C, on Switch C if, I went from to Switch C to B to A, that’s the “Total
Cost of 6”, but Notice Switch C has a couple of Ports, that would get me up to Switch A. Now
let’s start to get a bit tricky.
Which one of these is going to be Root Port, which one is considered closet to the Root
in terms of Cost.
It looks like, we have an equal Cost, either path is a Cost of 4, what do, we do now. Well this
is a common point of confusion for student learning Spanning Tree Protocol.
We going to go with the “Lowest Port ID”, but it’s not the “Lowest Port ID on Switch
C”. It’s the Lowest Port ID, that is sending traffic into Switch C. It’s the “Sender’s Port ID”,
that’s we gonna be comparing. In this case “Gigabit 1/0/3 and Gigabit 1/0/4”.
With default settings “Gigabit 1/0/3” is going to have the “Lowest Port ID”, because
the “Port Number is Lower”.
You see the way the Port ID works is, there is a Port Priority, that defaults to
128 and then there is a Dot (.), after the Dot (.), there is a Port Identifier, and typically on
many Cisco Catalyst Switches. This Port Identifier is going to be a number, that’s too greater
than this number.
So, I would guess that the Port ID of Gigabit 1/0/3 would be “128.5”
And the Port ID of Gigabit 1/0/4 would be “128.6” and Switch C can see that
information.
It knows the “Port ID of the Sending Switch of the Far End Switch”, and the Root Port that
Switch see is going to choose, is going to be on the link, that connects to the Lowest Port ID
on the Far End. Which is Gigabit 1/0/3 with the Port ID of 128.5
What if we wanted to manipulate that, though in the Real world?
What if I prefer that the link connecting into Gigabit 1/0/4 be used?
Well we not able to change this (.6) component of the Port ID, that’s the Physical Location
within the Switch. That’s Not Configurable.
However, we can change the Port Priority (128), in this example, I could go to
“Gigabit 1/0/4” and I could change the Port Priority from 128 to 64, making the Port ID 64.6
that would make it Lower than 128.5, that would make this Gigabit 1/0/4 Port, the link that
was forwarding traffic.
But not in this case. IN this case, we have a Default Settings and since, Sender’s
Port ID is less for 1/0/3 this link, that means that “Gigabit 1/0/10 is going to be my Root
Port”, “that’s gonna be closet to the Root Bridge in terms of Cost”. The actual Cost was equal,
so the Tie-Breaker became the link, which connected to the Lowest Port ID. The Port ID on far
end Switch, Switch A in our case.
We now identified the Root Ports. Next up we have Designated Ports?
Who are the Designated Ports in this Topology?
Remember the definition of a Designated Port, we said that every link, every network
segment has a Designated Port, and “it’s the Port on that segment that’s closet to Root in
terms of Cost”.
And we said that we not going to get any closer to the Root, then actually being on
the Root, which means that, all of the Ports on the Root Bridge are Designated Ports, and that
count for 4 our links.
We don’t have that many lefts. We do have link between Switch D and B, and
we going to ask “Which end of that is closet to the Root in terms of Cost”
Well if I am looking from the prospective of, this Gigabit 1/0/5 end. If I am on
Switch B, I got the Cost of 2, to get back to the Root, if I am on this Gigabit 1/0/2 end of the
link, that would have a Cost of 4 to get back. So, this Gigabit 1/0/5 has the Lowest Cost. This
means that, this Gigabit 1/0/5 is going to be my Designated Port on Switch B.
And we have one other link, and it’s this Gigabit 1/0/2 – 1/0/7 between Switch C and Switch B
Who is the Designated Port Here?
Well by the same logic, if I am this Gigabit1/0/7 end of link, we gonna have the Cost of 2
going over that Te 1/0/x link, to get back to the Root Bridge, if we are in this Gigabit 1/0/2
(Switch C) end of link then I would have a Cost of 4, that means that this Gig1/0/7 going to be
My Designated Port on Switch B.