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
Mod
---
2
5
6
8
9
* this terminal session
If the status is OK or active, you can continue with your configuration (see
Modules").
Configuring Date, Time, and Time Zone
Switches in the Cisco MDS 9000 Family use Universal Coordinated Time (UTC), which is the same as
Greenwich Mean Time (GMT).
To change the default time on the switch, issue the clock command from EXEC mode.
switch# clock set <HH:MM:SS> <DD> <Month in words> <YYYY>
For example:
switch# clock set 15:58:09 23 September 2002
Mon Sep 23 15:58:09 UTC 2002
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#
Cisco MDS 9000 Family CLI Configuration Guide
5-16
MAC-Address(es)
--------------------------------------
00-05-30-00-9d-d2 to 00-05-30-00-9d-de
00-05-30-00-64-be to 00-05-30-00-64-c2
00-d0-97-38-b3-f9 to 00-d0-97-38-b3-fd
00-05-30-01-37-7a to 00-05-30-01-37-fe
00-05-30-00-2d-e2 to 00-05-30-00-2d-e6
Chapter 5
Serial-Num
----------
JAB064605a2
JAB06350B1R
JAB06350B1R
JAB072705ja
JAB06280ae9
Chapter 11, "Managing
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.
OL-16184-01, Cisco MDS SAN-OS Release 3.x
Initial Configuration