交换机NTP的MD5配置

一、ntp-service authentication enable  开启NTP身份验证功能服务器

二、ntp-service source-interfer LoopBack0 指定本机发生NTP的端口 loopBack0是端口号oop

三、ntp-service access peer 2098 指定本地时钟也可同步到时钟服务器,2098是一个权限值md5

四、ntp-service authentication-keyid 1 authentication-mode md5 cnnc 其中1是第一个秘钥,cnnc是第一个秘钥的内容同步

五、ntp-service reliable authentication-keyid 1   信任第一个秘钥io

六、ntp-service unicast-service 13.245.8.1 authentication keyid 1 配置NTP源使用MD5的第一个秘钥ast

ntp status中offset的值只回采用第一次的值不会更新,可用 ntp assion查看误差值配置

之前配置过MD5的,要想将MD5关闭在从新配置service

相关文章
相关标签/搜索