为使网络时间进行统一,网络中需要一个时间源提供各系统之间同步时间,这样方便于网络管理。

     

具体配整个网络可以互通。

然后:

 

 
  
  1. R3: 
  2. r3#clock set 1:50:19 jan 18 2011
  3.  
  4. ntp authentication-key 10 md5 cisco
  5. ntp authenticate 
  6.  
  7. ntp master 1 

 

 
  
  1. R1: 
  2. ntp authentication-key 10 md5 cisco  配置密码
  3. ntp authenticate  开启认证
  4. ntp trusted-key 10 使用某个密码

  5. ntp server 13.1.1.3 key 10 打开对服务器的密码使用,让发送给服务器的数据中携带密码

 

 
  
  1. R2: 
  2.  
  3. ntp peer 12.1.1.1