Technical Note: Custom NTP server configuration


Products

FortiGate v5.0
FortiGate v5.2
FortiGate v5.4
FortiGate v5.6

Description

 

This article provides an example of the configuration of a custom NTP server via CLI.

Solution

 

A custom NTP server can be configured via CLI as follows:


config system ntp
set ntpsync enable
set type custom -----> Change type first
set syncinterval 1
config ntpserver
edit 1
set server "1.1.1.1" -----> NTP server IP
set ntpv3 disable
next
end
set source-ip 0.0.0.0
set server-mode disable
end

Further information can be found in the appropriate version of the "CLI Reference guide" in the Fortinet Document Library.



Article ID: 137
Created: Fri, Aug 11, 2017
Last Updated: Fri, Aug 11, 2017
Author: Les Carr

Online URL: https://kb2.ic.uk/article.php?id=137