Remember to be cautious using the commands in this site. Improper use of a command can cause network outages.

If you need to change your password contact the site administrator at


From Fortinet Diagnostic Wiki
Jump to: navigation, search

Attention: Now accepting requests for contribution level access. See below.

This wiki catalogs and describes FortiOS 5.0 and later diagnose commands and error messages. Work on the 5.4 commands is in progress.

The intended audience of this site is experienced administrators of FortiGate devices looking for an additional resource in troubleshooting their FortiGate.

There are some commands that will produce continuous output or output that is taking much longer than intended. In most cases the use of the hotkey combination of ctrl+c will stop the process and allow you in start inputting commands again.

Read before creating an account

Due to the nature of some of the diagnose commands listed on this website, there is a high level of potential for negatively impacting your network. For this reason, access to its content is limited to account holders. By creating an account to view these commands, you agree to take responsibility for their use on your network.

To create an account use the "Create account" link in the upper right corner of the page.

To get to the diagnostic commands listing:

  • Select "diagnose commands" from the left side menu
  • Use "diagnose command tree" or something close, in the search field in the upper-right corner of this window
  • Use this link.

FortiOS firmware is constantly improving, so we have tagged the commands and error messages on this wiki with a firmware version and FortiGate model number. The commands and error messages should be similar on your particular firmware version and model.

Contributions and Feedback

If you notice any areas in the site that could be improved there are multiple paths for contributing:

  1. Send us an email at
  2. Contribute to the discussion tab of the page you wish to improve. To submit a comment to the Discussion of a page:
    1. Select the "Discussion" tab in the menu bar of the page.
    2. Mediawiki-menubar-Point to discussion.png

      You can view any existing discussions about the page content and make your own contributions, or create a topic of your own.

    3. Select the "Add topic" tab in the menu bar of the page.
    4. Mediawiki-menubar discussion-tab Point to add topic.png

    5. Enter a new topic description in the "Subject/Headline" field and use the much larger editor field to input your comments or feedback. The editor uses MediaWiki markup language, but it is fairly straight forward and easy to learn.
    6. Creating a new topic in the discussion- highlight input fields page.png

  3. Request an elevation in access privileges so that you can edit pages directly. Just send us an email at and let us know your account name.