Fortinet white logo
Fortinet white logo

config system ntp

config system ntp

Configure settings for up to five NTP servers.

Usage

config system ntp
   config ntpserver
      edit {1 | 2 | 3 | 4 | 5}
         set server <ntp_server>
         set authentication {enable | disable}
         set key_type SHA256
         set key_id <integer>
         set key <string>
         set key_format {hex | ascii | legacy}
end

Subcommands

Command

Description

abort

End and discard last config.

config

Configure NTP.

help

List available commands or provide detailed help for a specific command.

show

Show all table values.

Set arguments

Argument

Description

authentication

Enable or disable NTP authentication. Default: disable.

key

Authentication shared secret.

key_format

Authentication key format. Default: hex.

key_id

Authentication key ID.

key_type

Authentication key type.

server

NTP server. Default: ntp1.fortinet.net.

config system ntp

config system ntp

Configure settings for up to five NTP servers.

Usage

config system ntp
   config ntpserver
      edit {1 | 2 | 3 | 4 | 5}
         set server <ntp_server>
         set authentication {enable | disable}
         set key_type SHA256
         set key_id <integer>
         set key <string>
         set key_format {hex | ascii | legacy}
end

Subcommands

Command

Description

abort

End and discard last config.

config

Configure NTP.

help

List available commands or provide detailed help for a specific command.

show

Show all table values.

Set arguments

Argument

Description

authentication

Enable or disable NTP authentication. Default: disable.

key

Authentication shared secret.

key_format

Authentication key format. Default: hex.

key_id

Authentication key ID.

key_type

Authentication key type.

server

NTP server. Default: ntp1.fortinet.net.