ONTAP 9.13

to Japanese version

Record a CLI session

You can record a CLI session into a file with a specified name and size limit, then upload the file to an FTP or HTTP destination. You can also display or delete files in which you previously recorded CLI sessions.

A record of a CLI session ends when you stop the recording or end the CLI session, or when the file reaches the specified size limit. The default file size limit is 1 MB. The maximum file size limit is 2 GB.

Recording a CLI session is useful, for example, if you are troubleshooting an issue and want to save detailed information or if you want to create a permanent record of space usage at a specific point in time.

Steps
  1. Start recording the current CLI session into a file:

    system script start

    For more information about using the system script start command, see the man page.

    ONTAP starts recording your CLI session into the specified file.

  2. Proceed with your CLI session.

  3. When finished, stop recording the session:

    system script stop

    For more information about using the system script stop command, see the man page.

    ONTAP stops recording your CLI session.

Top of Page