C i s c o C o n f i d e n t i a l - B e t a R e v i e w R 3 . 7. 1
Clock Commands on Cisco IOS XR Software
clock summer-time
SMR-79
Cisco ASR 14000 Series Router System Management Command Reference
OL-17231-01
Use the
clock summer-time
command if you want the system to switch automatically to summer time
(for display only):
•
Use the
recurring
form of the command to apply the rules on the configured day each year. If
clock
summer-time
zone
recurring
is specified without parameters, the summer time rules default to
United States standards. The default for the
offset
argument is 60 minutes.
•
Use the
date
form to specify a start and end date for summer time if you cannot use the first form.
In both forms of the command, the first part of the command specifies when summer time begins, and
the second part specifies when it ends. All times are relative to the local time zone. The start time is
relative to standard time. The end time is relative to summer time. If the starting month is after the ending
month, the system assumes that you are in the Southern Hemisphere.
Task ID
Examples
The following example specifies that summer time starts on the first Sunday in April at 02:00 and ends
on the last Sunday in October at 02:00. The
recurring
keyword indicates that the rules apply every year.
RP/0/RP0/CPU0:router(config)#
clock summer-time PDT recurring 1 Sunday April 2:00 last
Sunday October 2:00
If you live where summer time does not follow the pattern in the first example, you could set it to start
on October 12, 2005 at 02:00 and end on April 26, 2006 at 02:00, with the following example. The
date
keyword indicates that the rules apply for the current year only.
RP/0/RP0/CPU0:router(config)#
clock summer-time PDT date 12 October 2005 2:00 26 April
2006 2:00
Related Commands
Task ID
Operations
host-services
read, write
Command
Description
Sets the software clock settings.
Sets the time zone for display.