Fortinet black logo

Handbook

Configuring system time

Configuring system time

The system time must be accurate for many features to work, including scheduling, logging, and SSL/TLS-related features.

We recommend that you use Network Time Protocol (NTP) to maintain the system time. As an alternative when NTP is not available or is impractical, you can set the system time manually.

You can change the system time with the web UI or the CLI.

Before you begin:

  • You must have Read-Write permission for System settings.
To configure the system time:
  1. Go to System > Settings.
  2. Click the Maintenance tab.
  3. Complete the configuration as described in System time configuration.
  4. Save your changes.

System time configuration

Setting Guidelines
System Time Displays the system time. You can use NTP to set the system time, or use the controls to set the system time manually. Specify time in HH:MM:SS format.
Daylight Saving Time Enable if you want the system to adjust its own clock when its time zone changes between daylight saving time (DST) and standard time.
Time Zone Select the time zone where the appliance is located.
NTP
NTP Select to use NTP.
NTP Server Specify a space-separated list of IP addresses or FQDNs for an NTP server or pool, such as pool.ntp.org.

To find an NTP server, go to http://www.ntp.org.
Synchronizing Interval Specify how often the system synchronizes its time with the NTP server. The default is 60 minutes. The valid range is 1-1440.

To configure NTP using the CLI:

config system time ntp

set ntpsync enable

set ntpserver {<server_fqdn> | <server_ipv4>}

set syncinterval <minutes_int>

end

To configure the system time manually:

config system time ntp

set ntpsync disable

end

config system time manual

set zone <timezone_index>

set daylight-saving-time {enable|disable}

end

execute date <MM/DD/YY> <HH:MM:SS>

Configuring system time

Configuring system time

The system time must be accurate for many features to work, including scheduling, logging, and SSL/TLS-related features.

We recommend that you use Network Time Protocol (NTP) to maintain the system time. As an alternative when NTP is not available or is impractical, you can set the system time manually.

You can change the system time with the web UI or the CLI.

Before you begin:

  • You must have Read-Write permission for System settings.
To configure the system time:
  1. Go to System > Settings.
  2. Click the Maintenance tab.
  3. Complete the configuration as described in System time configuration.
  4. Save your changes.

System time configuration

Setting Guidelines
System Time Displays the system time. You can use NTP to set the system time, or use the controls to set the system time manually. Specify time in HH:MM:SS format.
Daylight Saving Time Enable if you want the system to adjust its own clock when its time zone changes between daylight saving time (DST) and standard time.
Time Zone Select the time zone where the appliance is located.
NTP
NTP Select to use NTP.
NTP Server Specify a space-separated list of IP addresses or FQDNs for an NTP server or pool, such as pool.ntp.org.

To find an NTP server, go to http://www.ntp.org.
Synchronizing Interval Specify how often the system synchronizes its time with the NTP server. The default is 60 minutes. The valid range is 1-1440.

To configure NTP using the CLI:

config system time ntp

set ntpsync enable

set ntpserver {<server_fqdn> | <server_ipv4>}

set syncinterval <minutes_int>

end

To configure the system time manually:

config system time ntp

set ntpsync disable

end

config system time manual

set zone <timezone_index>

set daylight-saving-time {enable|disable}

end

execute date <MM/DD/YY> <HH:MM:SS>