Split command and switch interface.