Skip to main content

Recording a CLI session

You can use the system script start and system script stop commands to record a CLI session.

  1. To start recording the current CLI session into a file, use the system script start command.

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

    Result

    ONTAP starts recording your CLI session into the specified file.

  2. Proceed with your CLI session.
  3. To stop recording the session, use the system script stop command.

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

    Result

    ONTAP stops recording your CLI session.