How can we help?

Command line - Ubiquiti router example

Follow

Log into the device with Telnet or SSH. Enter privileged mode by typing enable and entering your enable password.

Enable DNS lookup

Make sure DNS lookups are enabled on your device so it can be synced to an NTP server. Run the following command. Replace 8.8.8.8 8.8.4.4 with the DNS servers you’d like to use.

enable
ip domain lookup
ip name-server 8.8.8.8 8.8.4.4
exit

Set the clock, time zone, and NTP server

There are four locations shown as examples. To see the available global zones from NTP Pool, refer to https://www.ntppool.org/zone/@.

For each example, replace set date MMDDHHmmYYYY with the current time and date at the time the setting was applied. If you use a zone not shown below, also update set system time-zone EST and ntp server north-america.pool.ntp.org, for example.

North America (specifically Eastern Time, UTC-5):

configure
set date 010109002018
set system time-zone EST
delete system ntp
set system ntp server
ntp server north-america.pool.ntp.org
commit
save

Europe (specifically Central European Time, UTC+1):

configure
set date 010109002018
set system time-zone CET
delete system ntp
set system ntp server
ntp server europe.pool.ntp.org
>commit
save

Brazil (specifically Brasília, UTC-3):

configure
set date 010109002018
set system time-zone BRT
delete system ntp
set system ntp server
ntp server br.pool.ntp.org
commit
save

Australia (specifically Sydney, UTC+11):

configure
set date 010109002018
set system time-zone AEST
delete system ntp
set system ntp server
ntp server au.pool.ntp.org
commit
save

Confirm the NTP settings

To make sure the settings took effect, run the following command: date

Exit configuration mode and save changes

Lock in your changes so they'll survive a reboot of the router.

# Save active configuration

end
write memory

 

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request
Powered by Zendesk