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]
Bob - self proclaimed posting junkie!
See my Fortigate related scripts at: http://fortigate.camerabob.com
Nominating a forum post submits a request to create a new Knowledge Article based on the forum post topic. Please ensure your nomination includes a solution within the reply.
http://socpuppet.blogspot.com/2015/10/fortigate-configuration-files-backups.html
The 1st lines in enc or non is very crucial
;)
PCNSE
NSE
StrongSwan
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.
Bob - self proclaimed posting junkie!
See my Fortigate related scripts at: http://fortigate.camerabob.com
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
toshiesumi wrote:Dangit! I guess I really should get with the times....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
Bob - self proclaimed posting junkie!
See my Fortigate related scripts at: http://fortigate.camerabob.com
Select Forum Responses to become Knowledge Articles!
Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.
User | Count |
---|---|
1712 | |
1093 | |
752 | |
447 | |
231 |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.