Accurate system time is critical to the correct FortiDDoS operation including all graphs, logs, and scheduling.
Changing the time of a system that is operational may have extreme consequences for the data already collected by the system and the system’s ability to detect and mitigate attacks. All saved traffic graphs, drop data and logs may be lost along with traffic statistics and system Thresholds.
We strongly recommend that you use Network Time Protocol (NTP) to maintain the system time and that you configure date and time NTP settings before you do any other configurations.
As an alternative when NTP is not available or is impractical, you can set the system time manually, but this time will drift and changing times later can have serious consequences on existing data and mitigation.
You can change the system time with the web UI or the CLI.
Before you begin:
formatlogdisk
to clear data that already exists within the time period that will be overwritten. This removes ALL graph, drop and log data from the system.Important: You can change settings for only one group at a time: Time Zone or Time Setting. You must save your changes after each group before making changes in the next.
Note: If the time or time zone is changed, you need to reset the system to its factory state using the command # execute formatlogdisk
so that the graphs are updated accordingly.
Setting | Guidelines |
---|---|
Time Zone | |
Time zone |
|
Automatically adjust clock for daylight saving changes | Enable if you want the system to adjust its own clock when its time zone changes between daylight saving time (DST) and standard time. When enabled, you will see that the Time Zone GMT offset immediately changes, no matter if you are in DST or not. This is for display only and will not affect the system time. |
Synchronize with NTP Server | |
Server | Specify the IP address or domain name of an NTP server or pool, such as pool.ntp.org . To find an NTP server, go to http://www.ntp.org. You may enter more than one IP address or domain name with a space between them. |
Sync Interval | Specify how often the system should synchronize its time with the NTP server, in minutes. For example, to synchronize once a day, type 1440. |
OR | |
Set Time | |
Hour, Minute, Second, Date | This is not required if you have set NTP. Use the controls to set the time manually. The clock is initialized with the time you specified when you click Save. NOTE: Manual time setting is NOT recommended. |
To configure NTP using the CLI:config system time ntp set ntpsync enable set ntpserver {<server_fqdn> | <server_ipv4>} set syncinterval <minutes_int> end To configure the system time manually:
execute date <mm:dd:yyyy> <hh:mm:ss> |