I am using Dell switch and I looped it to itself. If I enable STP on 2 ports, what happen the port states? I have attached the topology below. Let me know, if you need clarification.
Because they have the same Bridge ID, the Port Priority will be used to determine which port to block, blocking the port with the higher Port Priority. In most STP implementations, the lower port, in this case port 1, will have a lower port priority unless port priorities are explicitly configured on the ports.