NTP协议全称网络时间协议(Network Time Procotol)。它的目的是在国际互联网上传递统一、标准的时间。具体的实现方案是在网络上指定若干时钟源网站,为用户提供授时服务,并且这些网站间应该能够相互比对,提高准确度。

  * 服务器

conf t
ntp autentication
-key 1 md5 cxzhzx 7 NTP认证
ntp authenticate NTP认证
ntp trusted
-key 1 NTP认证
ntp source vlan1 设置ntp时钟原的端口或IP地址
ntp update
-calendar 允许NTP定期更新calendar
ntp master
2 允许本机作为NTP协议的主时钟,精度级别2,供其它对等体同步用
ntp server
202.112.7.150 在网络上指定若干时钟源网站End

  * 客户端:

conf t
ntp authentication
-key 1 md5 cxzhzx 7
ntp authenticate
ntp trusted
-key 1
ntp source vlan1
ntp server
10.1.47.100
end

 

相关文章:

  • 2021-08-31
  • 2021-04-05
  • 2021-11-23
  • 2021-07-08
  • 2022-12-23
  • 2021-05-25
  • 2021-09-02
猜你喜欢
  • 2021-07-13
  • 2021-08-04
  • 2021-12-09
  • 2021-06-07
  • 2021-12-15
相关资源
相似解决方案