Command can switch between host and client