[XAS27&28.PRI.LF-OSS]dis cu | in ntp
clock protocol ntp
ntp-service enable
ntp-service source Vlan-interface360
ntp-service unicast-server 10.3.54.1
S125[AGGS01&02.PRI.LF-OSS]dis cu | in ntp
clock protocol ntp mdc 1
ntp-service enable
ntp-service unicast-server 220.192.72.250 priority
ntp-service unicast-server 220.192.72.249
[6800]dis ntp sessions
source reference stra reach poll now offset delay disper
********************************************************************************
[5]10.3.54.1 INIT 16 0 64 6 0.0000 0.0000 0.0000
Notes: 1 source(master), 2 source(peer), 3 selected, 4 candidate, 5 configured.
Total sessions: 1
首先查看68与时间服务器是否互通,不互通则时间同步失败
本次查看可以ping通
[6800]ping 10.3.54.1
Ping 10.3.54.1 (10.3.54.1): 56 data bytes, press CTRL_C to break
56 bytes from 10.3.54.1: icmp_seq=0 ttl=255 time=1.392 ms
56 bytes from 10.3.54.1: icmp_seq=1 ttl=255 time=1.251 ms
56 bytes from 10.3.54.1: icmp_seq=2 ttl=255 time=1.392 ms
56 bytes from 10.3.54.1: icmp_seq=3 ttl=255 time=1.249 ms
56 bytes from 10.3.54.1: icmp_seq=4 ttl=255 time=1.253 ms
-----------------------------------------------------------------------------------
debug ntp all查看ntp报文的交互情况,发现68对ntp报文检查不通过
从debug信息中可以发现,125发来的ntp报文的两个时间误差参数rdel: 15.533, rdsp: 62620.911过大,导致68不接受时间同步
一般来说,只有同时满足如下条件,交换机才会进行时间同步
rdel/2 + rdsp < 16 and rdsp < 16 , rdel <16
通过以上分析,判断为125发出的ntp报文存在问题。在125上重置下ntp进程,时间同步成功
[probe]process restart name ntpd
该案例暂时没有网友评论
✖
案例意见反馈
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作