码迷,mamicode.com
首页 > 其他好文 > 详细

交换机NTP的MD5配置

时间:2016-10-22 17:58:28      阅读:251      评论:0      收藏:0      [点我收藏+]

标签:权限   功能   mode   offset   off   md5   loop   ica   nbsp   

1、ntp-service authentication enable  开启NTP身份验证功能

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

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

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

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

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

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

以前配置过MD5的,要想将MD5关闭在重新配置

交换机NTP的MD5配置

标签:权限   功能   mode   offset   off   md5   loop   ica   nbsp   

原文地址:http://www.cnblogs.com/zhouhbing/p/5987676.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!