How to determine an NTP time source by using SSH


Issue

Sometimes you need to check the NTP source for a device. This procedure is useful for devices like a VMS, site controllers, base stations and other linux based devices where applicable.

Environment

VMS, site controller, base station and other linux based devices that are dependent on NTP

Resolution

Prerequisites

  • Knowledge of the Putty application
  • Proper authority to login to and perform commands on end device

Procedure
Use Putty to SSH into the device.
Login to device, putting in appropriate authoritative credentials
Once in, type “ntpq –pn”. Output may be similar to the following example:




In this example, the asterisk (*) indicates which NTP server is providing the time to the device (127.127.1.1).
If the reach is zero (0), the NTP server is not reachable.

Once finished, type “exit” to close out the Putty session.