A port acts as an interface between the computer and the external devices. For example, we may attach hard drives and printers to the computer using ports. We'll discuss the following types of ports in this answer:
Root port
Designated port
The root port (switch) on the bridge is the port with the shortest
When many connections connect to the root bridge, a port cost is determined by analyzing the bandwidth of each link.
The designated port has the lowest
Note: A bridge can have many designated ports.
The ports on a root bridge are all designated ports, and there is no root port on a root bridge as shown in the illustration below:
Some key differences between the two ports are as follows:
Root Port | Designated Port |
It is a single port on a switch alongside the root switch. | The designated port is present on every switch. |
There are no root ports on a root switch. | All existing ports on a root switch are designated ports. |
If one end of the link is a root port the other has to be a designated port. | If one end is a designated port the other side can have a designated or non designated port. |
It has the lowest costing path from a non-root brigde to a root bridge. | It has the lowerst STP cost in a LAN to the root bridge. |
Free Resources