Monday, August 20, 2012

Configure NTP - Cisco switch


You will want to be sure that the time on your Cisco switches is accurate.  To do this you can enable NTP and have your switch poll a time server to keep accurate time, just make sure you have access to a time server.

One thing you need to do is set your timezone, I am central time which looks like this:
Switch(config)# clock timezone CST -6


Next, if you recognize daylight savings time, you’ll want to enable that:
Switch(config)# clock summer-time CDT recurring


Next, point at your time server:
Switch(config)# ntp server


This may take a minute to update, but you can verify you now have the proper time you can type:
Switch# show clock