Type AT+GTUSBMODE=7 (or the specific mode code for your firmware version).
Once the modem is in USB/Diagnostic mode, you can use a terminal emulator (like PuTTY or Minicom) to communicate with the modem port (often /dev/ttyACM0 or a COM port in Windows).