Fortinet white logo
Fortinet white logo

NTP

NTP

NTP configuration is handled inside the ntp context

To enter the ntp context, from the base context run:

config system ntp

Available commands

Command

Description

abort

Cancels any edits made since entering the context, and returns to the base context

end

Saves changes made since entering the context, and returns to the base context

help

Shows the available commands

show

Show the current configuration, including uncommitted edits

set ntpserver [<ntp address>]

Sets the NTP server address list. You may specify up to 10 addresses, space separated. All addresses must be reachable

set ntpsync [disable|enable]

Enable or disable syncing time with specified ntp servers

set syncinterval [1-1440]

Set the interval to sync in minutes, between 1 and 1440

unset [ntpserver|ntpsync|syncinterval]

Unset the configured value for the specified property, and reset it to default

NTP

NTP

NTP configuration is handled inside the ntp context

To enter the ntp context, from the base context run:

config system ntp

Available commands

Command

Description

abort

Cancels any edits made since entering the context, and returns to the base context

end

Saves changes made since entering the context, and returns to the base context

help

Shows the available commands

show

Show the current configuration, including uncommitted edits

set ntpserver [<ntp address>]

Sets the NTP server address list. You may specify up to 10 addresses, space separated. All addresses must be reachable

set ntpsync [disable|enable]

Enable or disable syncing time with specified ntp servers

set syncinterval [1-1440]

Set the interval to sync in minutes, between 1 and 1440

unset [ntpserver|ntpsync|syncinterval]

Unset the configured value for the specified property, and reset it to default