Adjusting for Daylight Saving Time or Summer Time
Procedure
Step 1
Step 2
Step 3
Step 4
Step 5
Adjusting for Daylight Saving Time or Summer Time
You can configure your switch to adjust for daylight saving time (or summer time). By default, Cisco NX-OS
does not automatically adjust for daylight saving time. You must manually configure the switch to adjust to
the daylight saving time.
For example, following U.S. standards (defined by the Energy Policy Act of 2005), you can have the switch
advance the clock one hour at 2:00 a.m. on the second Sunday in March and move back the clock one hour
at 2:00 a.m. on the first Sunday in November. You can also explicitly specify the start and end dates and times
and whether or not the time adjustment recurs every year.
To enable the daylight saving time clock adjustment, perform this task:
Procedure
Step 1
Step 2
Step 3
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
42
Command or Action
switch# configure terminal
switch(config)# clock timezone
timezone hours_offset
minutes_offset
switch(config)# exit
switch# show clock
switch# show run
Command or Action
switch# configure terminal
switch(config)# clock summer-time
timezone start_week start_day
start_month start_time end_week
end_day end_month end_time offset
switch(config)# no clock summer-time
Purpose
Enters configuration mode.
Sets the time zone. timezone is the three letter time zone
(PST for Pacific Standard), the hours offset from UTC
(-8 for the PST offset), and minutes offset (needed for
time zones such as Newfoundland Standard (NST) or
India Standard (IST)).
Returns to EXEC mode.
Verifies the time zone configuration.
Displays changes made to the time zone configuration
along with other configuration information.
Purpose
Enters configuration mode.
Sets the daylight savings time for a specified time
zone.
The start and end values are as follows:
• Week ranging from 1 through 5
• Day ranging from Sunday through Saturday
• Month ranging from January through December
The daylight offset ranges from 1 through 1440
minutes, which are added to the start time and deleted
time from the end time.
Disables the daylight saving time adjustment feature.
Configuring the Switch
OL-16597-01