Skip to main content
aneshcheret
Staff
Staff
Nov 9, 2017 3:31 AM UTC

Technical Tip: How to update the GeoIP database

  • Apr 16, 2026 12:41 PM UTC
  • 0 replies
  • 29937 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:
Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
Security Operations Summit: Modernize SecOps. Operate AI-Native.AMER: November 4 | 9:00 AM PST. India and SAARC: November 5 | 10:00 AM IST. EMEA: November 5 | 10:30 AM CET. APAC: November 5 | 11:00 AM SGT