Hey guys, I'm kinda confused with STP and I have a question I was hoping you could help me with. I'm having trouble understanding how ports are given roles. I understand that the ports with the lowest cost path to the root are going to be root ports. But when it comes to deciding which port is going to be a designated port and which is alternate port on a redundant link I'm lost. Like this picture, why is port f0/2 the root port and not port f0/3? Also why is g1/1 on s3 the Alternate port and not the DP? Any help would be greatly appreciated.