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
Description
This article describes how to change debug duration which is 30 minutes by default.

Solution
1) To check current debug duration.
# diagnose debug duration
Current duration is 30 minutes, the timer is not started yet.

2) To change debug duration.
# diagnose debug duration ?
<Integer>                            <----- Duration in minutes, min = 1, max = 99999, 0 means unlimited.
# diagnose debug duration 180
Current duration is set to 180 minutes.
# diagnose debug duration
Current duration is 180 minutes, 0 minutes 21 seconds have passed.

3) To set unlimited debug duration.
# diagnose debug duration 0
Current duration is set to unlimited.
# diagnose debug duration
Current duration is unlimited.

Note:

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

Contributors