Fortinet black logo

CLI Reference

system time ntp

system time ntp

Use this command to configure the FortiMail unit to synchronize its system time with a network time protocol (NTP) server.

Accurate system time is required by many features of the FortiMail unit, including but not limited to log messages and SSL-secured connections.

Alternatively, you can manually configure the system time of the FortiMail unit. For details, see system time manual.

Syntax

config system time ntp

set ntpserver {<address_ipv4> | <fqdn_str>}

set ntpsync {enable | disable}

set syncinterval <interval_int>

end

Variable

Description

Default

ntpserver {<address_ipv4> | <fqdn_str>}

Enter either the IP address or fully qualified domain name (FQDN) of an NTP server.

You can add a maximum of 10 NTP servers. The FortiMail unit uses the first NTP server based on the selection mechanism of the NTP protocol.

To locate a public NTP server, visit http://www.ntp.org/.

pool.ntp.org

ntpsync {enable | disable}

Enable to synchronize the FortiMail unit with an NTP server, instead of manually configuring the system time.

enable

syncinterval <interval_int>

Enter the interval in minutes between synchronizations of the system time with the NTP server. The valid range is from 1 to 1440 minutes.

60

Related topics

system time manual

system time ntp

Use this command to configure the FortiMail unit to synchronize its system time with a network time protocol (NTP) server.

Accurate system time is required by many features of the FortiMail unit, including but not limited to log messages and SSL-secured connections.

Alternatively, you can manually configure the system time of the FortiMail unit. For details, see system time manual.

Syntax

config system time ntp

set ntpserver {<address_ipv4> | <fqdn_str>}

set ntpsync {enable | disable}

set syncinterval <interval_int>

end

Variable

Description

Default

ntpserver {<address_ipv4> | <fqdn_str>}

Enter either the IP address or fully qualified domain name (FQDN) of an NTP server.

You can add a maximum of 10 NTP servers. The FortiMail unit uses the first NTP server based on the selection mechanism of the NTP protocol.

To locate a public NTP server, visit http://www.ntp.org/.

pool.ntp.org

ntpsync {enable | disable}

Enable to synchronize the FortiMail unit with an NTP server, instead of manually configuring the system time.

enable

syncinterval <interval_int>

Enter the interval in minutes between synchronizations of the system time with the NTP server. The valid range is from 1 to 1440 minutes.

60

Related topics

system time manual