Cisco Systems MDS 9020 manual Adjusting for Daylight Saving Time

Page 12

Chapter 3 Initial Configuration

Configuring Date and Time

Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck - d o c @ c i s c o . c o m

Adjusting for Daylight Saving Time

Following U.S. standards, the switch can advance the clock one hour at 2:00 a.m. on the first Sunday in April and move the clock back one hour at 2:00 a.m. on the last Sunday in October. You can also explicitly specify the start and end dates and times, and you can specify whether or not the time adjustment recurs every year.

To enable the daylight saving time clock adjustment according to the U.S. rules, perform this task:

 

Command

Purpose

Step 1

 

 

switch# config t

Enters configuration mode.

Step 2

 

 

switch(config)# clock timezone

Offsets the time zone as specified.

 

timezone_name hour_offset_from_UTC

 

 

minute_offset_from_UTC

This example sets the Pacific standard offset time as

 

 

 

Example:

negative 8 hours and 0 minutes.

 

switch(config)# clock timezone PST -8 0

 

 

 

 

 

switch(config)# no clock timezone

Disables the time zone adjustment feature.

Step 3

 

 

switch(config)# clock summer-time

Sets the daylight savings time for a specified time

 

daylight_timezone_name start_week

zone.

 

start_day start_month start_time end_week

The start and end values are as follows:

 

end_day end_month end_time

 

daylight_offset_inminutes

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

 

Follow this example:

minutes, which are added to the start time and

 

deleted time from the end time.

 

 

 

switch(config)# clock summer-time PDT 1

This example adjusts the daylight savings time for

 

Sun Apr 02:00 5 Sun Oct 02:00 60

 

the Pacific daylight time by 60 minutes, starting the

 

switch(config)#

 

 

first Sunday in April at 2 a.m. and ending the last

 

 

Sunday in October at 2 a.m.

 

 

 

 

switch(config)# no clock summer-time

Disables the daylight saving time adjustment

 

 

feature.

Step 4

 

 

switch(config)# exit

Returns to EXEC mode.

 

switch#

 

Step 5

 

 

switch# show clock

Verifies the time zone configuration.

 

 

 

Cisco MDS 9020 Fabric Switch Configuration Guide and Command Reference

3-12

OL-6988-02

 

 

Image 12
Contents Initial Configuration Starting a Cisco MDS 9020 Fabric Switch Initial Setup RoutinePreparing to Configure the Switch Default LoginSetup Options SubnetworkAssigning Setup Information Enter yes to enter the setup modeEnter yes no is the default to create additional accounts Enter the user passwordEnter a name for the switch Enter the default gateway IP addressEnter no no is the default to disable the SSH service Enter no no is the default to not configure the NTP serverEnter yes yes is default to use and save this configuration Using the setup Command Accessing the Switch 2illustrates serial console access and out-of-band accessAssigning a Switch Name Where Do You Go Next?Verifying the Status of the Switch Configuring Date and Time Configuring the Time ZoneAdjusting for Daylight Saving Time Management Interface Configuration NTP ConfigurationObtaining Remote Management Access Using the force OptionDefault Gateway Configuration Configuring the Default GatewayWorking with Configuration Files Disables the Telnet serverTelnet Server Connection Disabling a Telnet ConnectionDisplaying Configuration Files Initial Configuration Working with Configuration Files Downloading Configuration Files to the Switch Saving Configuration Files to an External DeviceSaving the Configuration Backing Up the Current ConfigurationCopying Files Rolling Back to a Previous Configuration Deleting FilesInitial Configuration Deleting Files