首页 科技问答 H3C H5120-HI NTP无法同步

H3C H5120-HI NTP无法同步

科技问答 305
1675823205,

问题描述:

H3C S5120-58C-HI Comware Software, Version 5.20, Release 5501P31无法同步时钟。内部可以Ping通NTP server,没有NTP-serivce enable命令,配置如下:

<SW2>dis cur | in ntp

 ntp-service source-interface Vlan-interface10

 ntp-service unicast-server 218.75.4.130

 ntp-service unicast-server 202.112.31.197

 ntp-service unicast-server 202.112.29.82

<SW2>dis cur int vl 10

#

interface Vlan-interface10

 ip address 10.0.20.1 255.255.255.0

 ip address 10.0.253.1 255.255.255.248 sub

#

return

<SW2>ping -a 10.0.20.1 218.75.4.130

  PING 218.75.4.130: 56  data bytes, press CTRL_C to break

    Reply from 218.75.4.130: bytes=56 Sequence=1 ttl=53 time=51 ms

    Reply from 218.75.4.130: bytes=56 Sequence=2 ttl=53 time=43 ms

    Reply from 218.75.4.130: bytes=56 Sequence=3 ttl=53 time=44 ms

    Reply from 218.75.4.130: bytes=56 Sequence=4 ttl=53 time=46 ms

    Reply from 218.75.4.130: bytes=56 Sequence=5 ttl=53 time=43 ms


  --- 218.75.4.130 ping statistics ---

    5 packet(s) transmitted

    5 packet(s) received

    0.00% packet loss

    round-trip min/avg/max = 43/45/51 ms


<SW2>ping -a 10.0.20.1 -c 2 202.112.31.197

  PING 202.112.31.197: 56  data bytes, press CTRL_C to break

    Reply from 202.112.31.197: bytes=56 Sequence=1 ttl=46 time=36 ms

    Reply from 202.112.31.197: bytes=56 Sequence=2 ttl=46 time=23 ms


  --- 202.112.31.197 ping statistics ---

    2 packet(s) transmitted

    2 packet(s) received

    0.00% packet loss

    round-trip min/avg/max = 23/29/36 ms


<SW2>dis ntp stat

<SW2>dis ntp status 

 Clock status: unsynchronized

 Clock stratum: 16

 Reference clock ID: none

 Nominal frequency: 100.0000 Hz

 Actual frequency: 100.0000 Hz

 Clock precision: 2^18

 Clock offset: 0.0000 ms

 Root delay: 0.00 ms

 Root dispersion: 0.00 ms

 Peer dispersion: 0.00 ms

 Reference time: 00:00:00.000 UTC Jan 1 1900(00000000.00000000)

<SW2>

(0)

最佳答案

已采纳 zhiliao_97881 zhiliao_97881 知了小白 粉丝:0人 关注:0人

谢谢,换了个时间服务器好了。就是晕了,我一直用的这几个服务器都挺好用的

(0)

暂无评论

回复xxx [x] 1

S5120-HI V5版本的NTP配置不需要配置ntp-serivce enable,指定ntp server地址即可。时间同步不成功可以确认下是不是版本的原因,默认版本为version 3。

(0)

暂无评论

回复xxx [x],H3C H5120-HI NTP无法同步
NTP