Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
EvanRaci
New Contributor III

diagnose debug enable command

Hi all,

 

I just want to confirm about the command "diagnose debug enable".

If I enabled "diag debug enable" command in Fortigate it will only enabled only for 30 min or it will run as long as I don't reset or manually disable the debug?

Also , after I reboot or shutdown the FortiGate , "diag debug" state will still be enable state or disabled state when it comes up? 

Thank you

1 Solution
Anonymous
Not applicable

Hi @EvanRaci ,

 

diagnose debug enable will be run for 30min only. It will automatically stopped after 30min to avoid using resources of the Fortigate.

After reboot, you need to run your debug command from scratch.

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Hi @EvanRaci ,

 

diagnose debug enable will be run for 30min only. It will automatically stopped after 30min to avoid using resources of the Fortigate.

After reboot, you need to run your debug command from scratch.

EvanRaci
New Contributor III

Thanks for the help

mzainuddinahm
Staff & Editor
Staff & Editor

Hello EvanRaci,

 

You may refer the KB for debug duration.

https://community.fortinet.com/t5/FortiGate/Technical-Tip-Changing-debug-duration/ta-p/191069

 

Best Regards,

Mohammed Ahmed

MZA
BSeklecki_GE
New Contributor III

Recent versions of FortiOS let one specify the debug duration: 

FG# diag debug console duration [####}

Announcements
Check out our Community Chatter Blog! Click here to get involved
Labels
Top Kudoed Authors