nerdexam
ExamsNS0-157Questions#377
Network_Appliance

NS0-157 · Question #377

NS0-157 Question #377: Real Exam Question with Answer & Explanation

The correct answer is C: system script start. In FortiOS, the correct CLI command to begin recording the current session to a file is 'execute system script start', capturing all subsequent commands and output.

Core Cluster-Mode Configuration

Question

What is the command to start recording the current CLI session into a file?

Options

  • Asystem cli record
  • Bsystem script record
  • Csystem script start
  • Dsystem record start

Explanation

In FortiOS, the correct CLI command to begin recording the current session to a file is 'execute system script start', capturing all subsequent commands and output.

Common mistakes.

  • A. 'system cli record' is not a valid FortiOS command; 'cli' is not a recognized sub-keyword in the execute system command path for session recording.
  • B. 'system script record' uses the wrong action keyword; 'record' is not the valid verb in this command - 'start' is required to initiate a script capture session.
  • D. 'system record start' incorrectly places 'record' as the sub-command, which does not exist in the FortiOS CLI hierarchy for this function.

Concept tested. FortiOS CLI session recording command syntax

Reference. https://docs.fortinet.com/document/fortigate/7.4.0/cli-reference/707620/execute-system-script

Topics

#CLI recording#system script#session logging#CLI commands

Community Discussion

No community discussion yet for this question.

Full NS0-157 Practice
What is the command to start recording the current CLI session... | NS0-157 Q#377 Answer | NerdExam