Skip to main content
rwpatterson
New Member
August 10, 2018
Question

What Is My Version

  • August 10, 2018
  • 4 replies
  • 5466 views

To answer that question, simply put the first line of your backup file into the attached script.

 

[link]http://fortinet.camerabob.com/WhatIsMyVersion.cgi[/link]

    4 replies

    emnoc
    New Member
    August 10, 2018

    http://socpuppet.blogspot.com/2015/10/fortigate-configuration-files-backups.html

     

    The 1st lines in  enc or non is very crucial

     

    ;)

     

     

    rwpatterson
    New Member
    August 10, 2018

    No doubt, but to just get the "version.MR number.patch" information, that can all be gleaned from just the first line. We aren't going to be restoring or auditing with this simple script. Nice link you posted above, by the way. Thank you.

    Toshi_Esumi
    SuperUser
    SuperUser
    August 10, 2018

    Looks like with 5.6 they started adding the patch number (the third number of the version) into the first line, so you don't have to translate from the build number. I haven't checked 6.0 though. <5.4.8>

    #config-version=FGT60D-5.04-FW-build1183-180115:opmode=0:vdom=0:user=radius-admin

    <5.6.5>

    #config-version=FGT60E-5.6.5-FW-build1600-180620:opmode=0:vdom=1:user=admin

    rwpatterson
    New Member
    August 10, 2018

    toshiesumi wrote:

    Looks like with 5.6 they started adding the patch number (the third number of the version) into the first line, so you don't have to translate from the build number. I haven't checked 6.0 though. <5.4.8>

    #config-version=FGT60D-5.04-FW-build1183-180115:opmode=0:vdom=0:user=radius-admin

    <5.6.5>

    #config-version=FGT60E-5.6.5-FW-build1600-180620:opmode=0:vdom=1:user=admin

    Dangit! I guess I really should get with the times....

    Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
    Fortinet Flag the Hack. Wednesday, August 26, 9:00 AM - 5:00 PM ET, COSM, Atlanta, GA.
    Virtual event | September 2026. SASE summit. The age of autonomous trust. Register here!