Skip to content
Home » Blog » How to Change FortiGate System Clock?

How to Change FortiGate System Clock?

FortiGate Sistem Saati Nasıl Değiştirilir

How to change the FortiGate system clock on the web interface;

What you need to do on the web interface;

FortiGate Sistem Saati

On the menu System>Settings section is clicked.
In the screen that opens, "System TimeThere is a section.
System Time within the division;

  • Current system time = Mevcut sistem saati
  • Time Zone = Saati dilimi
  • Set Time = Ayarlanan zaman
  • Setup device as local NTP server = Cihazı yerel NTP sunucusu olarak kurun
    • Listen on Interfaces = Arayüzleri dinle

are available.

  1. Current system time” shows the current time of your device. It allows you to check the accuracy of the device clock from this section.
  2. Time Zone” This is the section where you need to change the time zone according to the region you live in.
  3. Set Time” As set time “Synchronize with NTP Server" By clicking the (Synchronize with the Ntp server) button, in the menu that opens, select the "Select server" In the (Choose server) field, you can select which server you want to synchronize with, “Sync interval" In the (Synchronization interval) field, you can specify how many minutes the synchronization process will take place (Minimum 1 minute, Maximum 1440 minutes) and/or “Manual Settings" By clicking the (Manual settings) button, in the pop-up menu, select the “Date(Tarih), Hour(Saat), Minute(Dakika), Second(Saniye)” fields can be filled in manually.
  4. Setup device as local NTP server” allows you to set up your device as a local Network Time Protocol server. “Listen on Interfaces" In the (Listen to interfaces) field, you can select the network entries to which your devices will listen (synchronize the time) of your NTP server. You must select your device as the NTP Server with NTP Server configuration on your devices within the entry you selected.

Finally, at the bottom of the page to save the changes you have made. "Apply" (Uygula) you have to click the button.

How to change FortiGate system clock on CLI(Command Line Interface) console;

1) Configure the timezone and daylight savings time. (Zaman dilimi ve yaz saati uygulamasını yapılandırın.)
# Config system global (Genel sistem yapılandırma)
set timezone <integer> (zaman dilimini ayarla <tamsayı>)

  • Allows you to set your time zone. To see the time zones in your device, "set timezone ?" You can use the command. E.g; “set timezone 85
    set dst {enable | disable} (dst ayarla {etkinleştir | devre dışı bırak})
  • It's a choice between enabling or disabling your device's daylight saving time adjustments. You can enable it if you want the system to set its own time when the time zone changes.
    end (son)

2) Either manually configure the date and time, or configure an NTP server. (Tarih ve saati manuel olarak yapılandırın veya bir NTP sunucusu yapılandırın.)

Manual. (Manuel)
# execute date <yyyy-mm-dd> (tarihi düzenle <yıl-ay-gün>)

  • It allows you to manually change the date. E.g; “execute date 2020-09-18
    # execute time <hh:mm:ss> (zamanı düzenle <saat:dakika:saniye>)
  • It allows you to change the time manually. E.g; “execute time 17:49:37
NTP server. (NTP Sunucusu)

# config system ntp (ntp sistemi yapılandırma)
set ntpsync enable (ntp senkronizasyonunu etkinleştir)

  • Allows you to enable ntp server synchronization.
    set type {fortiguard | custom} (türü ayarla {fortiguard | özel})
  • Allows you to select the ntp server type. E.g; “set type fortiguard
    set syncinterval <integer> (senkronizasyon aralığını ayarla <tamsayı>)
  • Allows you to set the ntp server sync interval. A minimum of 1 and a maximum of 1440 can be written in minutes. E.g; “set syncinterval 60
    set source-ip <ip_address> (kaynak ip adresini ayarla <ip_address>)
  • Allows you to set the ntp server source ip address. E.g; “set source-ip 10.10.11.26
    set source-ip6 <ip6_address> (kaynak ipv6 adresini ayarla <ip6_address>)
  • Allows you to set ntp server source ipv6 address.

E.g; “set source-ip6 2001:0db8:0000:0000:0000:ff00:0042:8329

set server-mode {enable | disable} (sunucu modunu ayarla {etkinleştir | devre dışı bırak})
set interface <interface> (arayüzü ayarlar <arayüz>)
set authentication {enable | disable} (kimlik doğrulamasını ayarla {etkinleştir | devre dışı bırak})
set key-type {MD5 | SHA1} (anahtar türünü ayarla {MD5 | SHA1})
set key-id <integer> (anahtar kimliği ayarla <tamsayı>)
# config ntpserver (ntp sunucusunu yapılandır)
edit <server_id> (düzenle <server-id>)
set server <ip_address or hostname> (sunucu ip adresi veya ana bilgisayar adı ayarla)
set ntpv3 {enable | disable} (ntpv3’ü ayarla {etkinleştir | devre dışı bırak})
set authentication {enable | disable} (kimlik doğrulamasını ayarla {etkinleştir | devre dışı bırak})
set key <password> (parola ayarla <parola>)
next (sonraki)
end (son)
end (son)