华为

ntp时钟同步配置

2019-11-18  本文已影响0人  wo是大富

在配置交换机S5700系列时,碰到因OS版本不同而操作命令不同的案例,记录如下:

旧版本的OS,版本号

VRP (R) software, Version 5.130 (S5700 V200R003C00SPC300)

操作命令

sys
ntp-service server disable
ntp-service unicast-server 10.12.7.65 maxpoll 16
q
sa
q

新版本的OS,版本号

VRP (R) software, Version 5.170 (S5720 V200R010C00SPC600)

操作命令

sys
ntp-service server disable
ntp-service ipv6 server disable
ntp-service max-distance 16
ntp-service unicast-server 10.12.7.65
q
sa
q

诡异的问题

Nov 18 2019 22:35:11+08:00 jifang_4 %%01NTP/4/LEAP_CHANGE(l)[2]:System leap changes from 3 to 0 after clock update.
Nov 18 2019 22:35:11+08:00 jifang_4 %%01NTP/4/PEER_SELE(l)[3]:The peer selected by the system is 10.12.7.65.
Nov 18 2019 22:26:32+08:00 jifang_4 %%01NTP/4/SOURCE_LOST(l)[4]:System synchronization source lost. (SourceAddress=10.12.7.65, Reason=Clock selection failed - No selectable clock)
Nov 18 2019 22:25:27+08:00 jifang_4 %%01NTP/4/STRATUM_CHANGE(l)[5]:System stratum changes from 16 to 2. (SourceAddress=10.12.7.65)

来自官方NE文档的解释 (http://support.huawei.com/hedex/hdx.do?lib=EDOC1000144031AZH1218H&docid=EDOC1000144031&lang=zh&v=06&tocLib=EDOC1000144031AZH1218H&tocV=06&id=AZH1218H_06_42305&tocURL=resources%252fne40e%255fpublic%255fzh%252fvrp%252fdc%255fvrp%255ffaq%255f026004%252ehtml&p=t&fe=1&ui=3&keyword=System%25252Bstratum%25252Bchanges)

屏幕快照 2019-11-18 下午10.44.01.png
上一篇下一篇

猜你喜欢

热点阅读