spanning-three -protocol

Started by luispolanco, November 12, 2021, 02:08:48 AM

Previous topic - Next topic

luispolanco

Which Is The Objective Of The Ports Designated In Stp If The Root Port Sends Bddu Also This Has Me Very Confunsed I Look And Search On Internet And I Do Not Find That Doubt ?????

icecream-guy

#1
See if this helps,  if you have a GNS3 lab or Cisco packet tracer, lab up 3 switch in a triangle and connect each to the next A-B B-C C-A and see how STP works
:professorcat:

My Moral Fibers have been cut.

deanwebb

Another GNS / Packet Tracer exercise is to create a ring of 6-8 switches. The port that has the best path to the root bridge will get the root port. Then, if you disable that port or remove that connection, the spanning-tree will adjust for that switch and any others affected by the connection going down and you'll see a new layout with the other open port being set as the root port.
Take a baseball bat and trash all the routers, shout out "IT'S A NETWORK PROBLEM NOW, SUCKERS!" and then peel out of the parking lot in your Ferrari.
"The world could perish if people only worked on things that were easy to handle." -- Vladimir Savchenko
Вопросы есть? Вопросов нет! | BCEB: Belkin Certified Expert Baffler | "Plan B is Plan A with an element of panic." -- John Clarke
Accounting is architecture, remember that!
Air gaps are high-latency Internet connections.

Dieselboy

A root port is one that connects to the root bridge with the lowest path cost (ie it may not be directly connected to a root bridge).

Think about what a root bridge is. It's the "root" of the layer 2 network. Root bridges do not have any blocked ports, everything connects back to it and STP BPDUs emanate from there and travel outwards. 

So with the rule that root bridges do not have any blocked ports, they are designated ports here. Essentially designated ports are forwarding ports that are not root ports. With a root bridge, it's not possible to have a root port to itself, therefore designated forwarding port.

I've spent a lot of time with STP a long time back and I enjoy it.