Configuring The Time Zone; Adjusting For Daylight Saving Time Or Summer Time - Cisco AP776A - Nexus Converged Network Switch 5020 Configuration Manual

Cisco mds 9000 family cli configuration guide - release 4.x (ol-18084-01, february 2009)
Hide thumbs Also See for AP776A - Nexus Converged Network Switch 5020:
Table of Contents

Advertisement

Configuring Date, Time, and Time Zone
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
Where HH represents hours in military format (15 for 3 p.m.), MM is minutes (58), SS is seconds (09),
DD is the date (23), Month is the month in words (September), and YYYY is the year (2002).
The date and time 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
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, 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
Cisco MDS 9000 Family CLI Configuration Guide
5-18
Chapter 5
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.
OL-18084-01, Cisco MDS NX-OS Release 4.x
Initial Configuration

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents