两台作了M-LAG的交换机,一个是NTP服务器,一个是客户端,ntp status显示同步成功,但是时间却差了将近90秒,这是什么情况?
(0)
最佳答案
把两台设备时间和状态贴出来看看
(0)
就是2台交换机之间的同步有误差 服务端配置是 ntp-service enable,ntp-service refclock-master 1 客户端配置ntp-service enable,ntp-service unicast-server x.x.x.x
<Core_10508x-S>dis ntp status Clock status: synchronized Clock stratum: 1 System peer: LOCAL(0) Local mode: client Reference clock ID: LOCL Leap indicator: 00 Clock jitter: 0.000000 s Stability: 0.000 pps Clock precision: 2^-18 Root delay: 0.00000 ms Root dispersion: 11.30676 ms Reference time: e87ec76e.93e6976b Thu, Aug 10 2023 10:18:22.577 System poll interval: 64 s
你的NTP服务器是Windows还是Linux,如果是Windows,那可以尝试更换为Linux的时候
(0)
就是两台交换机之间同步出现的误差
就是两台交换机之间同步出现的误差
[Core_10508x_M]dis ntp status
Clock status: synchronized
Clock stratum: 2
System peer: 131.100.65.9
Local mode: client
Reference clock ID: 131.100.65.9
Leap indicator: 00
Clock jitter: 0.000687 s
Stability: 0.000 pps
Clock precision: 2^-18
Root delay: 1.93787 ms
Root dispersion: 25378.03198 ms
Reference time: e87ec0f7.87500aea Thu, Aug 10 2023 9:50:47.528
System poll interval: 64 s
[Core_10508x_M]*Aug 10 09:36:30:528 2023 Core_10508x_M NTP/7/EVENT: -MDC=1; Event at 17371015: 0.0.0.0 063c 0c clock_step -90.897261 s
%Aug 10 09:36:41:484 2023 Core_10508x_M OPTMOD/5/RX_POW_LOW: -MDC=1-Slot=5; GigabitEthernet5/0/27: RX power is low!
*Aug 10 09:37:34:528 2023 Core_10508x_M NTP/7/EVENT: -MDC=1; Event at 17371079: 0.0.0.0 064c 0c clock_step -90.897442 s
*Aug 10 09:38:41:528 2023 Core_10508x_M NTP/7/EVENT: -MDC=1; Event at 17371146: 0.0.0.0 065c 0c clock_step -90.897442 s
*Aug 10 09:39:47:530 2023 Core_10508x_M NTP/7/EVENT: -MDC=1; Event at 17371212: 0.0.0.0 066c 0c clock_step -90.897442 s
*Aug 10 09:40:54:528 2023 Core_10508x_M NTP/7/EVENT: -MDC=1; Event at 17371279: 0.0.0.0 067c 0c clock_step -90.897442 s
*Aug 10 09:41:59:528 2023 Core_10508x_M NTP/7/EVENT: -MDC=1; Event at 17371344: 0.0.0.0 068c 0c clock_step -90.897442 s
*Aug 10 09:43:06:528 2023 Core_10508x_M NTP/7/EVENT: -MDC=1; Event at 17371411: 0.0.0.0 069c 0c clock_step -90.897442 s
<Core_10508x-S>dis ntp status Clock status: synchronized
Clock stratum: 1 System peer: LOCAL(0)
Local mode: client
Reference clock ID: LOCL Leap indicator: 00 Clock jitter: 0.000000 s
Stability: 0.000 pps
Clock precision: 2^-18
Root delay: 0.00000 ms
Root dispersion: 11.30676 ms
Reference time: e87ec76e.93e6976b Thu, Aug 10 2023 10:18:22.577
System poll interval: 64 s
(0)
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
不太还看,要打开debug ntp看看报文交互情况