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.
Jaye17
Staff
Staff
Article Id 419984
Description This article describes the command to use to check the running debugs on the FortiGate.
Scope All FortiGates. 
Solution

While running debugs and supplying filters allows users to load specific debugs, unexpected output can be seen in the console after running 'diagnose debug enable'.

 

To verify what debugs are currently enabled, use the following command.

 

diagnose debug info

 

In the output below, the following debugs are enabled:

  • 'httpsd'.
  • 'iked'.
  • 'fnbamd'.
  • 'console timestamp'.

 

FGT # diagnose debug info


debug output: disable
console timestamp: enable
console no user log message: disable
fnbamd debug level: -1 (0xffffffff)
zebos debug level: 306783954 (0x124926d2)
ike debug level: -1 (0xffffffff)
httpsd debug level: -1 (0xffffffff)
CLI debug level: 3
WAD console log: enable

===== IPS debug settings =====

===== IPS SSL debug settings =====

===== IP router debug settings =====
BGP debugging status:
BGP debug level: ERROR
timestamp enabled


IGMP Debugging status:
IGMP Decoder debugging is off
IGMP Encoder debugging is off
IGMP Events debugging is off
IGMP FSM debugging is off
IGMP Tree-Info-Base (TIB) debugging is off
IGMP debugging level is CRITICAL
timestamp enabled

IS-IS debugging status:
IS-IS debugging level is CRITICAL
timestamp enabled


OSPF debugging status:
OSPF debugging level is ERROR
timestamp enabled

PIM-DM Debugging status:
PIM-DM VR-VRF Context debugging is off
PIM-DM Decoder debugging is off
PIM-DM Encoder debugging is off
PIM-DM FSM debugging is off
PIM-DM MRT debugging is off
PIM-DM NHOP debugging is off
PIM-DM NSM debugging is off
PIM-DM VIF debugging is off
PIM dense-mode debug level: CRITICAL
timestamp enabled

Debugging status (0) :
PIM sparse-mode debug level: CRITICAL
timestamp enabled

RIP debugging status:
RIP debugging level is CRITICAL
timestamp enabled


OSPFv3 debugging status:
OSPFv3 debugging level is CRITICAL
timestamp enabled

RIPng debugging status:
RIPng debugging level is CRITICAL
timestamp enabled

 

Current debug duration is 30 minutes, 2 minutes 0 seconds have passed.

 

 To ensure all filters are reset and debugs are disabled, run the following commands after debugging.

 

diagnose debug disable

diagnose debug reset

 

A list of debug commands can be found here: Technical Tip: FortiGate Debug Commands meaning.