[en] NTP time sync on Cisco switch

  у розділі Технічні теми 

Current status:

c3750# sh clock detail
12:02:37.640 UTC Wed Sep 26 2018
Time source is user configuration

Set time zone and DST:

c3750(config)# clock timezone EST 2 # Kyiv, Ukraine
c3750(config)# clock summer-time EET recurring last Sat Mar 3:00 last Sat Oct 4:00

Set NTP server address:

c3750(config)# ntp server 172.22.80.11 prefer

Check results:

c3750# sh clock detail    
.12:22:19.560 EET Wed Sep 26 2018
Time source is NTP
Summer time starts 03:00:00 EST Sat Mar 31 2018
Summer time ends 04:00:00 EET Sat Oct 27 201


c3750# show ntp status 
Clock is unsynchronized, stratum 16, no reference clock
nominal freq is 119.2092 Hz, actual freq is 119.2093 Hz, precision is 2**18
reference time is DF55CC99.24F3E418 (12:15:05.144 EET Wed Sep 26 2018)
clock offset is -6.2347 msec, root delay is 46.11 msec
root dispersion is 59.42 msec, peer dispersion is 7.84 msec


c3750# show ntp associations

      address         ref clock     st  when  poll reach  delay  offset    disp
 ~172.22.80.11     0.0.0.0          16     -    64    0     0.0    0.00  16000.
 * master (synced), # master (unsynced), + selected, - candidate, ~ configured

Коментарі