Adjusting For Daylight Saving Time Or Summer Time - Cisco N5010P-N2K-BE Software Configuration Manual

Nx-os software configuration guide
Table of Contents

Advertisement

Additional Switch Configuration
S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m
Command
Step 1
switch# configure terminal
Step 2
switch(config)# clock timezone
timezone hours_offset minutes_offset
Step 3
switch(config)# exit
Step 4
switch# show clock
Step 5
switch# show run
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:
switch(config)# no clock timezone

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
Step 1
switch# configure terminal
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
3-14
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.
Disables the time zone adjustment feature.
Purpose
Enters configuration mode.
Chapter 3
Configuring the Switch
OL-16597-01

Advertisement

Table of Contents
loading

This manual is also suitable for:

Nexus 5000 series

Table of Contents