Description | This article describes how to run debugs for shorter duration than 1 minute. |
Scope | FortiGate, |
Solution |
The troubleshooting, for various process, can generate lot of debug outputs and sometimes can cause high FortiGate resource utilization or can be unresponsive.
Check the duration first which is at default 30 seconds:
# diag debug duration <----- Current duration is 30 minutes, the timer is not started yet.
Change duration to 1 minute which is lowest:
Once it says 30 seconds elapsed, it is possible to run the debug of any process which will be active for only 30 more seconds.
'# diag deb app ike 255' and flush the particular tunnel name from other terminal and it will show logs of the same VPN setup.
Fortigate # diag deb duration <----- Current duration is 30 minutes, the timer is not started yet. |