PDF download Download Article

Step-by-step method for setting the time on your Cisco router

PDF download Download Article

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.

  1. 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" .
  2. 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
  3. 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]
  4. Advertisement

Expert Q&A

Ask a Question
      Advertisement

      Video

      Tips

      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Name
      Please provide your name and last initial
      Thanks for submitting a tip for review!

      About This Article

      Article Summary X

      1. Set the time zone.
      2. Configure Daylight Saving Time.
      3. Set the clock.

      Did this summary help you?
      Thanks to all authors for creating a page that has been read 39,344 times.

      Is this article up to date?

      Advertisement