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
CiscoSwitch(config)#clock timezone CST -6
CiscoSwitch#sh ntp assoc

  address         ref clock       st   when   poll reach  delay  offset   disp
*~    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.