Berikut pengaturan dasar NTP Client untuk MikroTik RouterOS v6 dan RouterOS v7 (dua versi berbeda karena lokasi menu berubah).
Pada RouterOS v6, NTP Client ada di menu /system ntp client (paket system atau system + ntp).
Gunakan skrip berikut:
# ===========================
# NTP CLIENT — RouterOS v6
# ===========================
/system ntp client set enabled=yes \
primary-ntp=203.89.146.23 \
secondary-ntp=1.1.1.1
# Opsional: zona waktu
/system clock set time-zone-autodetect=yes
Contoh server NTP lokal/umum:
203.89.146.23 (id.pool.ntp.org)0.id.pool.ntp.org1.id.pool.ntp.orgDi RouterOS v7, menu berubah ke /system ntp client dengan sub-menu servers.
Skripnya:
# ===========================
# NTP CLIENT — RouterOS v7
# ===========================
/system ntp client set enabled=yes mode=unicast
/system ntp client servers add address=203.89.146.23
/system ntp client servers add address=1.id.pool.ntp.org
# Opsional: zona waktu otomatis
/system clock set time-zone-autodetect=yes
Perbedaan besar v7 vs v6:
/system ntp client servers add ...OS6:
/system ntp client print
OS7:
/system ntp client print
/system ntp client servers print
Jika status sudah synchronized, berarti sinkronisasi berhasil.