- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
SYNC fortiswitch
There is a CLI command to force the FSW NTP SYNC again to my FGT NTP
I have my Fswitch managed Through my FGT.
Solved! Go to Solution.
- Labels:
-
FortiSwitch
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I don't have the exact answer for that but I have a workaround for you.
FSW $ config system ntp
FSW (ntp) $ set syncinterval 1
This will ensure that your FSW sends a NTP sync request every minute, so you are certain that it will sync within 1m.
After completion you may restore the syncinterval value to the default value of 10.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @jr14 ,
Can you describe the problem with a few more words?
NSE 4-5-6-7 OT Sec - ENT FW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The switches are not synchronizing with the FGT ntp, i did some change on the fortilink dhcp server, so i would to know if there are a command to execute in the cli in my switch to Force it again to sync up with the ntp, i also know that i can reboot the switch but in this case it is not possible to do that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The managed FSW sync its time directly from the FG without additional config.
You can check with this command:
diag sys ntp status
Created on ‎05-14-2024 06:49 AM Edited on ‎05-14-2024 06:52 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, i know. But i did some change in regard to the dhcp server on the fortilink interface because the switches are not synchronizing with the FGT ntp, so i would to know if there are a command to execute in the cli in my switch to Force it again to sync up.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you can't restart the switch, you can try to kill the NTP process and it will start again (search for the PID of /bin/ntpd):
# fnsysctl ps
# diag sys kill 9 <pid>
If you have found a solution, please like and accept it to make it easily accessible for others.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I don't have the exact answer for that but I have a workaround for you.
FSW $ config system ntp
FSW (ntp) $ set syncinterval 1
This will ensure that your FSW sends a NTP sync request every minute, so you are certain that it will sync within 1m.
After completion you may restore the syncinterval value to the default value of 10.
![](/skins/images/03B6F9D09B0B73D4E0068FD5D5412A2D/responsive_peak/images/icon_anonymous_message.png)