Header
Home | Set as homepage | Add to favorites
  Search the Site     » Advanced Search
Sections
Syndication


Blogroll:

||||| ALL Cisco-Network ARTICLES |||||  
CCIE Journey,
The CCIE Journey,


Configuring Daylight Saving Time

Sep 29,2009 by alperen

image

Configuring Daylight Saving Time

To configure daylight saving time (summer time) in areas where it starts and ends on a particular day of the week each year, use the following global configuration mode command. To avoid automatically switching to summer time, use the no form of this command.

Rtr1(config)#clock summer-time zone recurring [week day month hh:mm week day month hh:mm [offset]]

zone

Time zone name, such as PDT for Pacific Daylight Time, to be displayed when summer time is in effect

recurring

Summer time starts and ends on the corresponding specified days every year

week

Week of the month, 1 to 5 or last (Optional)

day

Day of the week (Sunday, Monday, and so on) (Optional)

month

Month (January, February, and so on) (Optional)

offset

Number of minutes to add during summer time (default is 60) (Optional)

The first week day month hh:mm is when daylight saving time starts, while the last one represents when it ends.

The following example specifies that summer time starts on the first Sunday in April at 2 A.M. and ends on the last Sunday in October at 2 A.M.:

Rtr1(config)# clock summer-time PDT recurring 1 Sunday April 2:00 last Sunday October 2:00

For those areas that have a varying daylight saving time, it’s possible to configure the exact date and time of the next summer time event by using either of the following global configuration mode commands. To avoid automatically switching to summer time, use the no form of this command.

Rtr1(config)#clock summer-time zone date month date year hh:mm month date year hh:mm [offset]

Rtr1(config)#no clock summer-time zone date month date year hh:mm month date year hh:mm [offset]

Rtr1(config)#clock summer-time zone date date month year hh:mm date month year hh:mm [offset]

Rtr1(config)#no clock summer-time zone date date month year hh:mm date month year hh:mm [offset]

date

Summer time starts on the first specific date listed in the command and ends on the second specific date in the command

date

Date of the month (1 to 31)

month

Text month (January, February, and so on) (Optional)

year

Four-digit year (1993 to 2035)

offset

Number of minutes to add during summer time (default is 60) (Optional)

In the following example, daylight saving time (summer time) for Pacific Daylight Time is configured to start on April 26, 1997 at 2 A.M. and end on October 12, 1997at 2 A.M. The show clock command with the Detail option displays the current settings:

Rtr1(config)#clock summer-time PDT date 26 Apr 2004 2:00 12 Oct 2004 2:00
Rtr1(config)#^Z
Rtr1#show clock detail
18:23:40.399 PST Thu Apr 15 2004
Time source is user configuration
Summer time starts 02:00:00 PST Mon Apr 26 2004
Summer time ends 02:00:00 PDT Tue Oct 12 2004
Rtr1#
Monitoring Time and Calendar Services

To monitor clock, calendar, and NTP EXEC services, use the following commands in EXEC mode, as needed:

Rtr1#show calendar

Displays the current hardware clock time.

Rtr1#show clock [detail]

Displays the current software clock time.

Rtr1#show ntp associations [detail]

Displays the status of NTP associations.

Rtr1#show ntp status

Displays the status of NTP.



299 times read

Related news

» Adjusting for Daylight Saving Time
by admin posted on Jul 21,2008
» Extended Daylight Saving Time
by admin posted on Jul 21,2008
» Setting the Time
by admin posted on Jul 21,2008
» The clock set Command Setting the Hardware Clock
by alperen posted on Sep 29,2009
» The clock timezone Command
by alperen posted on Sep 29,2009
Did you enjoy this article?
(total 0 votes)

comment Comments (0 posted) 

More Top News
CCSP-Cisco Certified Security Professional
Most Popular
Most Commented
Featured Author