Create a preference file for yourself or for the devices that you want to use. Make sure you include the .py extension. The first thing you do after entering the Python shell is entering setpreferences(): python from ixnetCli import * setpreferences('your preference file') connecttowindows() or connecttolinux() Inside the preference file: ---------------------------- apiServerType = 'windows' ;# Options: windows|linux windowsApiServerIp = '192.168.70.3' windowsApiServerIpPort = 11009 linuxApiServerIp = '192.168.70.9' linuxApiServerIpPort = 443 apiKey = None username = 'admin' password = 'admin' licenseServerIp = '192.168.70.3' licenseMode = 'subscription' forceTakePortOwnership = True deleteSessionAfterTest = False ;# For Linux only enableDebugTracing = False ;# Display error tracebacks