NTP client synchronizes local clock with some other time source (NTP server). There are 4 modes in which NTP client can operate:
[admin@MikroTik] > system ntp client print enabled: no mode: unicast primary-ntp: 0.0.0.0 secondary-ntp: 0.0.0.0 status: stopped [admin@MikroTik] >
Statistics:
status (string) - status of NTP client:
status: reached [admin@MikroTik] system ntp client> print enabled: yes mode: unicast primary-ntp: 159.148.60.2 secondary-ntp: 0.0.0.0 status: synchronized [admin@MikroTik] system ntp client>
[admin@MikroTik] > system ntp server print enabled: no broadcast: no multicast: no manycast: yes [admin@MikroTik] >
If NTP server is disabled, all NTP requests are ignored.
If NTP server is enabled, all individual time requests are answered.
CAUTION! Using broadcast, multicast and manycast modes is dangerous! Intruder (or simple user) can set up his own NTP server. If this new server will be chosen as time source for Your server, it will be possible for this user to change time on Your server at his will.
[admin@MikroTik] system ntp client> .. server print enabled: yes broadcast: no multicast: no manycast: no [admin@MikroTik] system ntp client>
[admin@MikroTik] > system clock print time: aug/12/2002 18:31:20 time-zone: +00:00 [admin@MikroTik] >Notes NTP changes local clock to UTC (GMT) time by default
[admin@MikroTik] > system clock set time-zone=1 [admin@MikroTik] > system clock print time: aug/12/2002 19:31:57 time-zone: +01:00 [admin@MikroTik] >If local time is before GMT time, time-zone value will be negative. For example, if GMT is 18:00:00, but correct local time is 15:00:00, time-zone has to be set to -3 hours:
[admin@MikroTik] > system clock set time-zone=-3 [admin@MikroTik] > system clock print time: aug/12/2002 15:32:20 time-zone: -03:00 [admin@MikroTik] >