FortiManager
FortiManager supports network operations use cases for centralized management, best practices compliance, and workflow automation to provide better protection against breaches.
DPadula
Staff
Staff
Article Id 364748
Description This article describes how to enable NTP server on FortiGate interfaces via FortiManager.
Scope FortiManager.
Solution

Step 1: On FortiGate select System -> Settings' In this article, FortiGate is using the default interface FortiLink and will change it to port1.

 

b4 NTP enable.PNG

 

 

Step 2: On FortiManager, select the correct ADOM (1) in the top right corner, go under Provisioning Templates (2), select ‘Create New’ (3), and add the template name (4).

 

creating_template.PNG

 

 

Select ‘CLI type’ and paste the following template:

 

config system ntp

    set server-mode enable

    set interface port1

    set ntpsync enable

    set syncinternal 60

end

 

Select ‘OK’ to save the changes.

 

Step 3: Under ‘Device Manager’ (1), select  'Provisioning Templates’ (2), and select the CLI Template just created (3). In this case ‘NTP server interfaces’. Select ‘Assign to Device/Group’.

 

rovisioning templates.PNG

 

 

Step 4: Select the devices that will have the template (1) applied and use the arrow pointing to the right-hand side to move the devices from the 'Available Entries' to ‘Selected entries’ box. Select ‘OK’.

 

select device.PNG

 

Step 5: The ‘config status’ of the devices selected will change to Modified as shown in the picture below.

 

config_modified.PNG

 

Step 6: Select ‘Install’, then ‘Install device settings (only)’, select ‘Next >’, select the device(s) and then ‘Next >’, and finally select ‘Install’. The CLI template will be applied to the devices selected. Wait until it is done. Status should be ‘Synchronized’ as shown below.

 

installed 100.PNG

 

Checking FortiGate settings will show interface port1 only as part of the listen on Interfaces under ‘Setup device as Local NTP server’.

final.png

Contributors