Set clock time zone

Unanswered Question
Jun 15th, 2009
User Badges:

Is there a way to set the time zone on routers/switches? We're in the Eastern time zone, but some of my switches show UTC (Greenwich Mean Time/Zulu time). I'd like all of them to show the local time, just to make it easier to read.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
thotsaphon Mon, 06/15/2009 - 07:33
User Badges:
  • Gold, 750 points or more


You can.

Router(config)# clock timezone <(-23) - (23) ;Hours offset from UTC>

F.e Router(config)# clock timezone CST -6



Edison Ortiz Mon, 06/15/2009 - 07:43
User Badges:
  • Super Bronze, 10000 points or more
  • Hall of Fame,

    Founding Member

Toshi has provided the syntax the modify the timezone in the router (btw, Eastern time zone in the US is EST -5).

If you want to see this time being stamped on the log, you need the 'service timestamps' command which can be applied to log messages as well as debug messages





This Discussion