This article was co-authored by wikiHow staff writer, Darlene Antonelli, MA. Darlene has been writing and editing tech content at wikiHow since 2019. She previously worked for AppleCare, served as a writing tutor, volunteered in IT at an animal rescue, and taught as an adjunct professor for EN101 and EN102. Darlene has completed Coursera courses on technology, writing, and language. She holds both a BA (2011) and an MA (2012) from Rowan University in Writing, with a focus on workplace communication. With her extensive experience, academic background, and ongoing learning, Darlene has become the go-to grammar expert for her friends and family, as well as a skilled wordsmith for anyone in need.
This article has been viewed 42,183 times.
Learn more...
Trying to change the time on your Cisco router? This wikiHow guide will teach you how to set the time on a Cisco router. The correct time can help you identify issues in logs, make connections between two different times, and run automated, scheduled commands using the router's kroon scheduler.
How to Change Timezone in Cisco IOS
Set your time zone and configure daylight savings time. If you’re using the CST timezone, for example, enter “Router (config)# clock summer-time CDT recurring.” After setting the time zone and daylight savings time, set your clock.
Steps
-
Set the time zone. When you reset the time zone, the clock will reset. This means that if you set the time before you set the time zone, it will reset and you'll have to repeat the process. By setting the time zone first, you'll save yourself some extra work.
- You need to know your time zone in relation to Greenwich Mean Time (GMT). If you're in the central time zone, you're 6 hours behind GMT, so you'd indicate this via -6. For instance, you'd enter
"Router(config)# clock timezone CST -6"
.
- You need to know your time zone in relation to Greenwich Mean Time (GMT). If you're in the central time zone, you're 6 hours behind GMT, so you'd indicate this via -6. For instance, you'd enter
-
Configure Daylight Saving Time. The time displayed will vary depending on the Daylight Saving Time code.
- If you're using the CST timezone from before, you'll enter
"Router(config)# clock summer-time CDT recurring"
. Use 'recurring' to indicate to the router to change between Daylight Savings Time and Standard Time automatically according to the accepted U.S. Daylight Savings Time rules.
Advertisement - If you're using the CST timezone from before, you'll enter
-
Set the clock. After setting the time zone and Daylight Savings Time, you can set the clock. Use
"Router# clock set 10:50:00 Feb 17 2021"
.- Use military time, which is a 24-hour clock instead of the AM/PM system.
- Include the seconds for the time. If you're not sure, or not that particular, you can set this to
00
. - Use the month's three-letter abbreviation along with the date and year.
- To view the clock, use the show clock command. For example, enter
"Router# show clock"
. - Most Cisco routers and switches don't have internal clocks that keep track of the time when powered off. This means that your router will most likely lose track of the local time when it's restarted.[1]
Expert Q&A
Video
Tips
About This Article
1. Set the time zone.
2. Configure Daylight Saving Time.
3. Set the clock.