Fortinet Document Library

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:


Table of Contents

CLI Reference

ntp

Use this command to configure automatic time setting using a network time protocol (NTP) server.

Syntax

config system ntp

set status {enable | disable}

set sync_interval <string>

config ntpserver

edit <id>

set ntpv3 {enable | disable}

set authentication {enable | disable}

set key <passwd>

set key-id <integer>

set server <string>

end

end

Variable

Description

status {enable | disable}

Enable/disable NTP time setting (default = disable).

sync_interval <string>

Enter how often the FortiManager unit synchronizes its time with the NTP server, in minutes (1 - 1440, default = 60).

Variables for config ntpserver subcommand:

<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 address or fully qualified domain name of the NTP server.

ntp

Use this command to configure automatic time setting using a network time protocol (NTP) server.

Syntax

config system ntp

set status {enable | disable}

set sync_interval <string>

config ntpserver

edit <id>

set ntpv3 {enable | disable}

set authentication {enable | disable}

set key <passwd>

set key-id <integer>

set server <string>

end

end

Variable

Description

status {enable | disable}

Enable/disable NTP time setting (default = disable).

sync_interval <string>

Enter how often the FortiManager unit synchronizes its time with the NTP server, in minutes (1 - 1440, default = 60).

Variables for config ntpserver subcommand:

<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 address or fully qualified domain name of the NTP server.