Configuring The Time Zone - Cisco DS-X9530-SF1-K9 - Supervisor-1 Module - Control Processor Configuration Manual

Mds 9000 family
Table of Contents

Advertisement

Chapter 4
Initial Configuration
S e 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 c k - d o c @ c i s c o . c o m .
The clock command changes are saved across system resets.
Note

Configuring the Time Zone

You can specify a time zone for the switch.
To specify the local time without the daylight saving time feature, follow these steps:
Command
Step 1
switch# config t
Step 2
switch(config)# clock timezone <timezone
name> <-23 to 23 hours offset from UTC time>
<0 to 50 minutes offset from UTC>
Example:
switch(config)# clock timezone PST -8 0
Step 3
switch(config)# exit
switch#
Step 4
switch# show clock
Step 5
switch# show run
Adjusting for Daylight Saving Time or Summer Time
You can configure your switch to adjust for daylight saving time (or summer time). By default, MDS
SAN-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, you can have the switch advance the clock one hour at 2:00 a.m.
on the first Sunday in April and move back the clock 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 whether or not the time adjustment
recurs every year.
To enable the daylight saving time clock adjustment, follow these steps:
Command
Step 1
switch# config t
switch(config)#
Step 2
switch(config)# clock timezone
timezone_name hour_offset_from_UTC
minute_offset_from_UTC
Example:
switch(config)# clock timezone PST -8 0
switch(config)# no clock timezone
OL-6973-03, Cisco MDS SAN-OS Release 2.x
Purpose
Enters configuration mode.
Sets the time zone with a specified name,
specified hours, and specified minutes.
This example sets the time zone to Pacific
Standard Time (PST) and offsets the UTC time by
negative eight hours and 0 minutes.
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.
Offsets the time zone as specified.
This example sets the U.S. Pacific standard offset
time as negative 8 hours and 0 minutes.
Disables the time zone adjustment feature.
Cisco MDS 9000 Family Configuration Guide
Configuring Date and Time
4-17

Advertisement

Table of Contents
loading

Table of Contents