ntp
Use this command to configure automatic time setting using a network time protocol (NTP) server.
Syntax
config system ntp
set status {enable | disable}
config ntpserver
edit <id>
set ntpv3 {enable | disable}
set authentication {enable | disable}
set key <passwd>
set key-id <integer>
set server <string>
set minpoll <integer>
set maxpoll <integer>
end
end
Variable |
Description |
---|---|
status {enable | disable} |
Enable/disable NTP time setting (default = enable). |
Variables for |
|
<id> |
Time server ID. |
ntpv3 {enable | disable} |
Enable/disable NTPv3 (default = disable). |
authentication {enable | disable} |
Enable/disable MD5 authentication (default = disable). |
key <passwd> |
The authentication key (character limit = 63). |
key-id <integer> |
The key ID for authentication (default = 0). |
server <string> |
Enter the IPv4 or IPv6 address or fully qualified domain name of the NTP server (default = ntpl.fortinet.com). |
minpoll <interger> |
Minimum poll interval in seconds as power of 2 (e.g. 6 means 64 seconds, default = 6). |
maxpoll <integer> |
Maximum poll interval in seconds as power of 2 (e.g. 6 means 64 seconds, default = 10). |