[PATCH v6 1/2] cmd: Introduce MODE command.