Thursday, November 12, 2015

Cisco Switch: Setting NTP For Time

Real quick, here is how to setup NTP on a Cisco switch.  Real easy.  This customer is in the CST timzone, which is -6.

CiscoSwitch#sh ntp stat
%NTP is not enabled.
CiscoSwitch#config t
Enter configuration commands, one per line.  End with CNTL/Z.
CiscoSwitch(config)#ntp server 192.168.9.4
CiscoSwitch(config)#clock timezone CST -6
CiscoSwitch(config)#exit
CiscoSwitch#sh ntp assoc

  address         ref clock       st   when   poll reach  delay  offset   disp
*~192.168.9.4       132.163.4.101    2      1     64     1  5.000  -0.500 939.37
 * sys.peer, # selected, + candidate, - outlyer, x falseticker, ~ configured
CiscoSwitch#sh clock
*00:25:50.210 CST Mon Jun 17 1996
CiscoSwitch#sh clock
22:43:45.299 CST Tue Nov 3 2015

No comments:

Post a Comment

Your comment will be reviewed for approval. Thank you for submitting your comments.