STP/RSTP Election Process

    1. lowest Bridge ID (priority + system mac)
    2. all ports on a Root bridge are designated
  1. Choose Root port on each non-root bridge:
    1. lowest path cost to the root
    2. lowest neighbor Bridge ID
    3. lowest neighbor’s Port ID (port priority + internal port number)
    4. lowest local Port ID (port priority + internal port number)
  2. Choose Designated port on each segment.
    1. bridge with the lowest root path cost
    2. bridge with the lowest Bridge ID
    3. interface with the lowest Port ID
  3. All other ports are non-designated/blocking