FortiGate
FortiGate Next Generation Firewall utilizes purpose-built security processors and threat intelligence security services from FortiGuard labs to deliver top-rated protection and high performance, including encrypted traffic.
tahmadov
Staff
Staff
Article Id 191069

Description

 

This article describes how to change debug duration which is 30 minutes by default.

 

Scope

 

FortiGate.

Solution

 

  1. To check the current debug duration.

 

diagnose debug duration

 

Current duration is 30 minutes, the timer has not started yet.

 

  1. To change debug duration.

 

diagnose debug duration ?

<Integer>                            <----- Duration in minutes, min = 1, max = 99999, 0 means unlimited.

diagnose debug duration 180

 

The current duration is set to 180 minutes.

 

diagnose debug duration

 

The current duration is 180 minutes, 0 minutes and 21 seconds have passed.

 

  1. To set unlimited debug duration.

 

diagnose debug duration 0

 

The current duration is set to unlimited.

 

diagnose debug duration

 

The current duration is unlimited.

 

  1. To disable the debug, at any moment.


diagnose debug disable


Note:
After a reboot, the debug duration will be reset to the default value (30 minutes).