How to Set the Time on a Cisco Router: Quick Guide
How to Set the Time on a Cisco Router: Quick Guide
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.
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".

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.

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.

What's your reaction?

Comments

https://hapka.info/assets/images/user-avatar-s.jpg

0 comment

Write the first comment for this!