Skip to main content
aneshcheret
Staff
Staff
November 9, 2017

Technical Tip: How to update the GeoIP database

  • November 9, 2017
  • 0 replies
  • 29621 views

Description

 
This article describes how to update the GeoIP database on FortiGate equipment. The GeoIP database version does not always update when the following command is run:
 
execute update-now

 

Scope

 

FortiGate.


Solution

 
  1. Check the current version of the GeoIP database:

 

diagnose autoupdate versions | grep -A7 Geo

IP Geography DB

---------

Version: 1.067

Contract Expiry Date: n/a

Last Update Date: Fri Oct 13 15:43:53 2017

 
  1. Update the GeoIP database
 
execute update-geo-ip 
 
  1. Check the version:
 
diagnose autoupdate versions | grep -A7 Geo
 
IP Geography DB
---------
Version: 2.004
Contract Expiry Date: n/a
Last Update Date: Fri Oct 13 15:43:53 2017
 
Or use below command as well to check the version.

 

get sys auto-update versions | grep -iA6 geo

 

IP Geography DB

---------

Version: 3.00243

Contract Expiry Date: n/a

Last Updated using manual update on Tue Aug 20 16:51:00 2024

Last Update Attempt: Wed Aug 28 02:37:18 2024

 
If the database has not been updated, open a ticket with Fortinet support and attach the results of the following debug command:
 
diagnose debug application update -1 
diagnose debug enable
execute update-geo-ip 
 
When completed, clear the debugging with the following command:
 
diagnose debug disable
diagnose debug reset
 
Send IP geolocation-related questions to contact_geoip@fortinet.com.
 
Related article:
Virtual event | September 2026. SASE summit. The age of autonomous trust. Register here!