Configuring NTP using GPS Time
You can configure the GPS time as the reference clock for NTP using the command ntp refclock gps.
The GPS time acts as a stratum 0 source, and the Cisco IOS NTP server acts as a stratum 1 device, which in turn provides clock information to its NTP clients (stratum 2 and 3).
Procedure
Step 1 |
Enter global configuration mode: Example:
|
Step 2 |
Configure the NTP reference clock as GPS: Example:
|
Step 3 |
To verify the configuration, use the show commands in the following example: Example:
|
Step 4 |
Use the debug ntp refclock command to troubleshoot the configuration: Example:
|