Clock/Time and NTP

Pure clock

  cisco#clock set 00:00:00 1 jan 2010
  cisco#
  cisco#show clock
  18:20:07.394 PRAGUE Thu Oct 31 2013

NTP sync

cisco#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
cisco(config)#ntp server 10.0.4.60
cisco(config)#end
cisco#

Timezone

cisco4#show clock
16:20:07.394 UTC Thu Oct 31 2013
cisco4#conf t    
Enter configuration commands, one per line.  End with CNTL/Z.
cisco4(config)#clock timezone PRAGUE 1
cisco4(config)#exit
cisco4#show clock
17:20:29.883 PRAGUE Thu Oct 31 2013
cisco4#show ntp status       
Clock is synchronized, stratum 4, reference is 10.0.4.60
nominal freq is 381.4697 Hz, actual freq is 381.4697 Hz, precision is 2**17
reference time is D61D0063.BE0C7EF4 (16:14:27.742 UTC Thu Oct 31 2013)
clock offset is 3.9019 msec, root delay is 2.37 msec
root dispersion is 16857.76 msec, peer dispersion is 15875.02 msec
 
cisco/clock.txt · Last modified: 2013/10/31 17:51 by admin