config system ntp
Configure system NTP information.
config system ntp
Description: Configure system NTP information.
set authentication [enable|disable]
set interface <interface-name1>, <interface-name2>, ...
set key {password}
set key-id {integer}
set key-type [MD5|SHA1|...]
config ntpserver
Description: Configure the FortiGate to connect to any available third-party NTP server.
edit <id>
set authentication [enable|disable]
set interface {string}
set interface-select-method [auto|sdwan|...]
set ip-type [IPv6|IPv4|...]
set key {password}
set key-id {integer}
set key-type [MD5|SHA1|...]
set ntpv3 [enable|disable]
set server {string}
set vrf-select {integer}
next
end
set ntpsync [enable|disable]
set server-mode [enable|disable]
set source-ip {ipv4-address}
set source-ip6 {ipv6-address}
set syncinterval {integer}
set type [fortiguard|custom]
end
config system ntp
|
Parameter |
Description |
Type |
Size |
Default |
||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
authentication |
Enable/disable authentication. |
option |
- |
disable |
||||||||
|
|
|
|||||||||||
|
interface |
FortiGate interface(s) with NTP server mode enabled. Devices on your network can contact these interfaces for NTP services. Interface name. |
string |
Maximum length: 79 |
|
||||||||
|
key |
Key for authentication. |
password |
Not Specified |
|
||||||||
|
key-id |
Key ID for authentication. |
integer |
Minimum value: 0 Maximum value: 4294967295 |
0 |
||||||||
|
key-type |
Key type for authentication (MD5, SHA1, SHA256). |
option |
- |
MD5 |
||||||||
|
|
|
|||||||||||
|
ntpsync |
Enable/disable setting the FortiGate system time by synchronizing with an NTP Server. |
option |
- |
disable |
||||||||
|
|
|
|||||||||||
|
server-mode |
Enable/disable FortiGate NTP Server Mode. Your FortiGate becomes an NTP server for other devices on your network. The FortiGate relays NTP requests to its configured NTP server. |
option |
- |
disable |
||||||||
|
|
|
|||||||||||
|
source-ip |
Source IP address for communication to the NTP server. |
ipv4-address |
Not Specified |
0.0.0.0 |
||||||||
|
source-ip6 |
Source IPv6 address for communication to the NTP server. |
ipv6-address |
Not Specified |
:: |
||||||||
|
syncinterval |
NTP synchronization interval (1 - 1440 min). |
integer |
Minimum value: 1 Maximum value: 1440 |
60 |
||||||||
|
type |
Use the FortiGuard NTP server or any other available NTP Server. |
option |
- |
fortiguard |
||||||||
|
|
|
|||||||||||
config ntpserver
|
Parameter |
Description |
Type |
Size |
Default |
||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
authentication |
Enable/disable authentication. |
option |
- |
disable |
||||||||
|
|
|
|||||||||||
|
id |
NTP server ID. |
integer |
Minimum value: 0 Maximum value: 4294967295 |
0 |
||||||||
|
interface |
Specify outgoing interface to reach server. |
string |
Maximum length: 15 |
|
||||||||
|
interface-select-method |
Specify how to select outgoing interface to reach server. |
option |
- |
auto |
||||||||
|
|
|
|||||||||||
|
ip-type |
Choose to connect to IPv4 or/and IPv6 NTP server. |
option |
- |
Both |
||||||||
|
|
|
|||||||||||
|
key |
Key for MD5(NTPv3)/SHA1(NTPv4)/SHA256(NTPv4) authentication. |
password |
Not Specified |
|
||||||||
|
key-id |
Key ID for authentication. |
integer |
Minimum value: 0 Maximum value: 4294967295 |
0 |
||||||||
|
key-type |
Select NTP authentication type. |
option |
- |
MD5 |
||||||||
|
|
|
|||||||||||
|
ntpv3 |
Enable to use NTPv3 instead of NTPv4. |
option |
- |
disable |
||||||||
|
|
|
|||||||||||
|
server |
IP address or hostname of the NTP Server. |
string |
Maximum length: 63 |
|
||||||||
|
vrf-select |
VRF ID used for connection to server. |
integer |
Minimum value: 0 Maximum value: 511 |
0 |
||||||||