可是偏偏和cisco不相容,原因是root dispersion....
所以建議cisco ntp還是設定internet上的ntp server...
或是用unix server
或去找其他windows上的ntp程式...
http://www.meinberg.de/english/sw/ntp.htm
也許是個好選擇...
我是採用internet上的ntp server...懶得再安裝ntp程式了...
底下是測試過還算正確的設法
In order to configure an WIndows 2008 R2 Server you will need to make a number of changes to the registry. This tutorial will show you both the settings for configuring the NTP Server in addition to the client settings.
NOTES
It is worth noting that this example is based on the below,
A Windows 2008 R2 Server acting as the NTP Server
A Windows 2008 R2 Server acting as the NTP client for which it will source its time from the above server.
This configuration is not based upon using a Windows Domain.
NTP SERVER
SERVER SETTINGS
1. Enable the NTP Server
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\NtpServer]"
"Enabled"=dword:00000001
CLIENT SETTINGS
1. Enable NTP Client and set polling interval.
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\NtpClient]"
"Enabled"=dword:00000001
"SpecialPollInterval"="300"
2. Configure the NTP Time Source, period and frequency
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Parameters]
"NtpServer"="[NTP SERVER IP],0x1"
"Type"="NTP"
"Period"="freq" /* 找不到 */
NTP CLIENT
CLIENT SETTINGS
1. Enable NTP Client and set polling interval.
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\NtpClient]"
"Enabled"=dword:00000001
"SpecialPollInterval"="300"
2. Configure the NTP Time Source, period and frequency
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Parameters]
"NtpServer"="[NTP SERVER IP],0x1"
"Type"="NTP"
"Period"="freq"
ADDITIONAL
STARTUP
By default the w32tm service will not automatically start if your Windows machine is not on a domain. To ensure that the service starts automatically run the following command :
sc triggerinfo w32time start/networkon stop/networkoff
TROUBLESHOOTING
To confirm that your clients are correctly peering with your time source run the following command.
w32tm /query /peers
w32tm /query /status
cisco debug
sh ntp asso
sh ntp asso detail
sh ntp status
No comments:
Post a Comment