Extended Daylight Saving Time
Problem
You want the router to automatically adjust to the Extended Daylight Saving Time which takes affect starting in March 2007.
Solution
To automatically adjust the router time to account for the new extended Daylight Saving Time, starting in March 2007, use the following commands:
Router2#configure terminalEnter configuration commands, one per line. End with CNTL/Z. Router2(config)#clock timezoneRouter2(config)#EST -5clock summer-timeEDTrecurring 2Sun Mar 2:00 1 Sun Nov 2:00Router2(config)#endRouter2#
Discussion
The U.S. Energy Policy Act of 2005 includes changes to extend Daylight Saving Time (DST) by one month each to conserve energy. Starting in 2007, DST will begin three weeks earlier, on the first Sunday in November.
In Recipe 14.4, we discussed how to configure the router to adjust the time for DST; however, starting in March 2007, the configuration for most U.S. time zones change, and we need to change the router configuration. Otherwise, the router will continue to abide by outdated and incorrect DST rules.
We can configure the router to follow the new rule using the command shown in the “Solution” section of this recipe:
Router2(config)#clock summer-timeEDTrecurring 2 Sun Mar 2:00 1 Sun Nov 2:00
This command says that DST begins on the second Sunday in March at 2:00 AM and ends on the first Sunday in November at 2:00 AM (exactly the new rule). Please refer to Recipe 14.14 for more options and information on this command.
Table 14-3 shows ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access