nerdexam
Fortinet

NSE4 · Question #300

What are examples of correct syntax for the session table diagnostics command? (Choose two.)

The correct answer is A. diagnose sys session filter clear C. diagnose sys session filter. Correct FortiGate CLI syntax for session table diagnostics includes clearing active filters and displaying the currently configured filter settings.

Submitted by valeria.br· Apr 18, 2026Logging and Monitoring

Question

What are examples of correct syntax for the session table diagnostics command? (Choose two.)

Options

  • Adiagnose sys session filter clear
  • Bdiagnose sys session src 10.0.1.254
  • Cdiagnose sys session filter
  • Ddiagnose sys session filter list dst.

How the community answered

(42 responses)
  • A
    90% (38)
  • B
    5% (2)
  • D
    5% (2)

Why each option

Correct FortiGate CLI syntax for session table diagnostics includes clearing active filters and displaying the currently configured filter settings.

Adiagnose sys session filter clearCorrect

The command `diagnose sys session filter clear` is a valid syntax used to remove all active filters from the session table, allowing a full view of all sessions.

Bdiagnose sys session src 10.0.1.254

The syntax `diagnose sys session src 10.0.1.254` is incorrect for setting a source IP filter; the correct syntax would be `diagnose sys session filter set src 10.0.1.254`.

Cdiagnose sys session filterCorrect

The command `diagnose sys session filter` (without additional arguments) is a valid syntax used to display the currently configured filter settings for the session table.

Ddiagnose sys session filter list dst.

The syntax `diagnose sys session filter list dst.` is incorrect. To list sessions with a filter applied, it would typically be `diagnose sys session list`, and `dst.` is not a valid parameter directly following `filter list` to set a filter.

Concept tested: FortiGate session filter CLI commands

Source: https://docs.fortinet.com/document/fortigate/7.4.0/fortios-cli-reference/853040/diagnose-sys-session-filter

Topics

#CLI commands#diagnostics#session table

Community Discussion

No community discussion yet for this question.

Full NSE4 Practice