交换机NTP的MD5配置

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关闭在重新配置

posted @ 2016-10-22 15:08  周人假的  阅读(662)  评论(0编辑  收藏  举报