Do these LED's light up when a computer is turned on, or do they turn on when they are patched into a switch? If so, does the port need to be PoE?

Thanks