Monday, September 21, 2009

Cisco Catalyst and PIX - Set your clock timezone and DST settings

These commands will set your timezone and DST settings properly.  This is especially useful so that your syslog timestamps are correct.

config t
clock timezone EST -5             <--- EST is a timezone name of your choosing, Eastern Time Zone is UTC -5
clock summer-time EST recurring 2 Sunday March 2:00 first Sunday November 2:00
service timestamps log  datetime localtime

This also works for PIX but there is no service timestamps.

No comments:

Post a Comment