Set Port Direction Set Port Direction The Set Port Direction command sets the direction that the information flows - in, out, or inout.