From: Anthony Pace (anthonypace@xxxxxxxxxxx)
Date: Fri Jul 19 2002 - 02:37:14 GMT-3
What I am saying is that if I set the TIMEZONE and I know how many
hours off I am from GMT time and put -8 or -7 or whatever, and I set
SUMMERTIME and then look at a clock on the wall and then set the clock
on the router can't I avoid trying to figure out what to set it to and
worrying about what month is is or if it will get pushed up or back.
Will this work getting the time from an NTP server as well?
Anthony PAce
On Thu, 18 Jul 2002 19:33:01 -0700 (PDT), "Jay Hennigan" <jay@west.net>
said:
> On Thu, 18 Jul 2002, Anthony Pace wrote:
>
> > The way I have been doing this is to set up TIMEZONE and SUMMERTIME and
> > then set the clock on the NTP MASTER and it reflects the time for my
> > timezone and I assume that routers in different timezones will offset
> > their timezone accordingly. I am guessing that an NTP client who synced
> > up with my MASTER, and it had no TIMEZONE specified would wind up
> > offsetting my time as if they were on GMT.
>
> Correct.
>
> > Is it considered correct to setup TIMEZONE and SUMMERTIME and then set
> > the clock, thereby avoiding calculating the offset from GMT or wheather
> > its DLT or not?
>
> Well, you specify the offset when you set up timezone. The string
> "PST"
> or whatever is just a character string that gets pasted into the
> display.
> It's the "-8" that does the work.
>
> So you don't "calculate" the offset, but you must specify it, and if
> you
> don't specify it correctly your clock will be wrong. The summer-time
> recurring" paramater will replace the character string and offset by
> one
> hour for daylight savings based on the April/October Sunday algorithm.
>
> r1(config)#clock timezone FOOBAR -8
> r1#sho clock
> 19:25:27.291 FOOBAR Thu Jul 18 2002
> r1#conf t
> Enter configuration commands, one per line. End with CNTL/Z.
> r1(config)#clock timezone PST -8
> r1(config)#^Z
> r1#conf t
> 5w6d: %SYS-5-CONFIG_I: Configured from console by console
> r1#sho clock
> 19:26:32.199 PST Thu Jul 18 2002
> r1#conf t
> r1(config)#clock summer-time FOOBARBAZ recurring
> r1(config)#^Z
> r1#sho clock
> 5w6d: %SYS-5-CONFIG_I: Configured from console by console
> r1#sho clock
> 20:27:07.271 FOOBARBAZ Thu Jul 18 2002
>
> --
> Jay Hennigan - CCIE #7880 - Network Administration - jay@west.net
> NetLojix Communications, Inc. - http://www.netlojix.com/
> WestNet: Connecting you to the planet. 805 884-6323
>
>
-- Anthony Pace anthonypace@fastmail.fm-- http://fastmail.fm - Click it, you'll feel better
This archive was generated by hypermail 2.1.4 : Sat Sep 07 2002 - 19:36:36 GMT-3