- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What Is My Version
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
http://socpuppet.blogspot.com/2015/10/fortigate-configuration-files-backups.html
The 1st lines in enc or non is very crucial
;)
PCNSE
NSE
StrongSwan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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