in stp ,what's the difference between designated port and root port?

they are both the lowest cost way to reach root bridge,are't they?
bitsnakeAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
scraig84Connect With a Mentor Commented:
I agree with SteveJ - mostly.  A designated port can be viewed as a downstream port, connected to other switches, or devices, away from the root.  A designated bridge is an upstream switch that another switch connects its root port to.  In other words a switch will elect one port as the root port, which connects to another switches (the designated bridge) designated port.  Each switch may act as the designated bridge for another switch, assuming that it is the lowest cost path towards the root.  Whoo, that is a mouthfull!  

However, while a blocked port still receives BPDUs it does not send them.

Cisco's documentation says the following:

A port in the blocking state performs as follows:

Discards frames received from the attached segment.

Discards frames switched from another port for forwarding.

Does not incorporate station location into its address database. (There is no learning at this point, so there is no address database update.)

Receives BPDUs and directs them to the system module.

Does not transmit BPDUs received from the system module.

Receives and responds to network management messages.


0
 
bsadlickCommented:
The root port is the lowest cost path to the root bridge, but the designated port is the path to the designated bridge, which is the only device allowed to forward frames to/from a LAN. So while both ports are the lowest cost path to the root bridge, the Dport has the additional distinction of being the only path in or out.
0
 
Steve JenningsIT ManagerCommented:
The root port is the port closest to the root switch and there's only one root port per switch. Designated ports connect to switches other than the root switch, which only has designated ports. If a port is neither a root port or a designated port it is in a blocking state. However, I think that ports in a blocked state can still send and receive configuration BPDUs.


Good luck.
Steve
0
All Courses

From novice to tech pro — start learning today.