On the ESG/PSG: press Utility > GPIB/RS-232/LAN.

On the N5162A MXG ATE and N5182A MXG: press Utility > I/O Config > GPIB Setup.

For the MXG ATE, use the web interface.