华三配置:
clock protocol ntp
ntp-service enable
ntp-service authentication enable ntp-service authentication-keyid 100
authentication-mode md5 simple 123456
ntp-service reliable authentication-keyid 100
ntp-service unicast-server 192.168.1.1 authentication-keyid 100
华为(192.168.1.1)配置:
ntp-service source-interface Vlanif1000
ntp-service authentication-keyid 100 authentication-mode md5 simple 123456
ntp-service reliable
authentication-keyid 100
ntp-service refclock-master 4
ntp-service unicast-server 192.168.2.1
配置如上但是时钟一直同步不上:
[H3C]dis ntp-service sess verbose
Clock source: 192.168.1.1
Session ID: 61081
Clock stratum: 16
Clock status: configured, insane, valid, unsynced
Reference clock ID: INIT
VPN instance: Not specified
Local mode: client, local poll interval: 6
Peer mode: unspec, peer poll interval: 10
Offset: 0.0000ms, roundtrip delay: 0.0000ms, dispersion: 0.0000ms
Root roundtrip delay: 0.0000ms, root dispersion: 0.0000ms
Reachabilities:0, sync distance: 0.0010
Precision: 2^-19, version: 4, source interface: Not specified
Reftime: 00000000.00000000 Thu, Feb 7 2036 14:28:16.000
Orgtime: e333ab0e.daa23d5a Fri, Oct 16 2020 13:15:58.854
Rcvtime: 00000000.00000000 Thu, Feb 7 2036 14:28:16.000
Xmttime: 00000000.00000000 Thu, Feb 7 2036 14:28:16.000
Roundtrip delay samples: 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000
Offset samples: 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
Filter order: 0 1 2 3 4 5 6 7
Total sessions: 1
[H3C]disp ntp-service status
Clock status: unsynchronized
Clock stratum: 16 #时钟层数16表示未同步
Reference clock ID: none
Clock jitter: 0.000000 s
Stability: 0.000 pps
Clock precision: 2^-19
Root delay: 0.00000 ms
Root dispersion: 15.74707 ms
Reference time: e333a6ed.da9d45a2 Fri, Oct 16 2020 12:58:21.853
华三交换机上:
[H3C]ntp-service source Vlan-interface 1000 #指定NTP服务器vlan虚接口后时钟正常同步,跟思科对接也需要指定vlan虚接口。
该案例暂时没有网友评论
✖
案例意见反馈
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作