R2# clock set 20:12:00 Dec 17 2014
R2#
*Dec 17 20:12:18.000: %SYS-6-CLOCKUPDATE: System clock has been updated from 01:20:26 UTC Mon Dec 15 2014 to 20:12:00 UTC Wed Dec 17 2014, configured from console by admin on console.
Configure NTP authentication by defining the authentication key number, hashing type, and password that will be used for authentication. The password is case sensitive.
R2# config t
R2(config)# ntp authentication-key 1 md5 NTPpassword
Configure the trusted key that will be used for authentication on R2.
R2(config)# ntp trusted-key 1
Enable the NTP authentication feature on R2.
R2(config)# ntp authenticate
Configure R2 as the NTP master using the ntp master stratum-number command in global configuration mode. The stratum number indicates the distance from the original source. For this lab, use a stratum number of 3 on R2. When a device learns the time from an NTP source, its stratum number becomes one greater than the stratum number of its source.
R2(config)# ntp master 3
Share with your friends: |