Cisco Nexus 5000 Series Switch CLI Software Configuration Guide, NX-OS 4.0(1a)N1 (OL-16597-01, January 2009)

Send feedback to nx5000-docfeedback@cisco.com
3-14
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
OL-16597-01
Chapter 3 Configuring the Switch
Additional Switch Configuration
Note The clock command changes are saved across system resets.
You can specify a time zone for the switch. To specify the local time without the daylight saving time
feature, perform this task:
The following example sets the time zone to Pacific Standard Time (PST) and offsets the UTC time by
negative eight hours and 0 minutes:
switch# configure terminal
switch(config)# clock timezone PST -8 0
To disable the local time setting, perform this task:
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:
Command Purpose
Step 1
switch# configure terminal
Enters configuration mode.
Step 2
switch(config)# clock timezone
timezone hours_offset minutes_offset
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)).
Step 3
switch(config)# exit
Returns to EXEC mode.
Step 4
switch# show clock
Verifies the time zone configuration.
Step 5
switch# show run
Displays changes made to the time zone configuration
along with other configuration information.
switch(config)# no clock timezone
Disables the time zone adjustment feature.