Configuring NTP Servers and Time Zones
Use this procedure to specify the NTP servers that the system will use and to set the time zone.
We recommend that you always use NTP servers for the system time. If you are unable to use NTP servers, you can set the time manually using the procedure in Setting the Date and Time.
If the NTP server provides a reference time that is different from the local system time, the local system clock is changed gradually to match the reference clock. For larger time differences, the local system clock might take an hour or more to finish synchronizing with the reference clock. For even larger time differences, the local system clock might not synchronize at all. This is standard NTP behavior.
Changing the time affects PMs. For more information, see Effect of a Time Change on PMs.
- Enter system configuration mode.
For example:
bti7800# config
Entering configuration mode terminal bti7800(config)# system bti7800(config-system)#
- Add the list of NTP servers that you want the system to
use.
For example:
bti7800(config-system)# ntp server 10.1.1.1 10.2.2.2
bti7800(config-system)#
The NTP servers are placed on the server list in the order that you add them.
- Set the time zone.
For example:
bti7800(config-system)# clock timezone-location America/New_York
bti7800(config-system)#
- Commit your changes.
bti7800(config-system)# commit
bti7800(config-system)# exit bti7800#
- Warm reload the CMMs for the time change to take
effect.
Determine which CMM is active and which CMM is standby.
For example:
bti7800# show system | include Controller
Active Controller : cmm:1/A Backup Controller : cmm:1/B
Warm reload the standby/backup CMM.
For example:
bti7800# system reload warm cmm:1/B
Wait until the standby CMM finishes reloading before proceeding to the next step. The standby CMM is finished reloading when the HA Status is In Sync, for example:
bti7800# show system | include HA
HA Status : In Sync
Warm reload the active CMM.
For example:
bti7800# system reload warm cmm:1/A
Your CLI session terminates as the active CMM reloads.
Once the CMM finishes reloading, log back in to the CLI and verify your settings by displaying the new settings. This might take several minutes.
For example:
bti7800# show system ntp
remote refid st t when poll reach delay offset jitter ===================================================================== 10.1.1.1 10.1.1.3 2 u 16 64 1 57.721 2.958 0.000 10.2.2.2 10.2.2.5 2 u 15 64 1 38.271 -4.293 0.000 bti7800# show system clock current-datetime : 2015-01-23T16:44:18-05:00 boot-datetime : 2015-01-22T23:58:05-05:00 uptime : 0 days,16:46:13 timezone : America/New_York
Note The T delineates the date from the time. The time shown is the local time in the specified timezone. The timezone is indicated by the UTC offset, which in the above example is UTC-05:00.