Cisco Systems MDS 9020 manual Configuring Date and Time, Configuring the Time Zone, 3-11, Command

Models: MDS 9020

1 22
Download 22 pages 20.31 Kb
Page 11
Image 11
Configuring Date and Time

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

Configuring Date and Time

A Cisco MDS 9020 Fabric Switch uses Universal Coordinated Time (UTC), which is the same as Greenwich Mean Time (GMT). To change the default time on the switch, enter the clock command from EXEC mode.

switch# clock set <HH:MM:SS> <DD> <Month in words> <YYYY>

The following example sets the time on the switch:

switch# clock set 15:58:09 23 May 2005

Mon May 23 15:58:09 UTC 2005

Where HH represents hours in military format (15 for 3 p.m.), MM is minutes (58), SS is seconds (09),

DDis the date (23), Month is the month in words (May), and YYYY is the year (2005).

Note The clock command changes are saved across system resets.

Configuring the Time Zone

You can specify a time zone for the switch.

To specify the local time without the daylight savings feature, perform this task:

 

Command

Purpose

Step 1

 

 

switch# config t

Enters configuration mode.

Step 2

 

 

switch(config)# clock timezone <timezone

Sets the time zone with a specified name,

 

name> <-23 to 23 hours offset from UTC time>

specified hours, and specified minutes.

 

<0 to 50 minutes offset from UTC>

This example sets the time zone to Pacific

 

 

 

Example:

Standard Time (PST) and offsets the UTC time by

 

switch(config)# clock timezone PST -8 0

negative eight hours and 0 minutes.

 

 

Step 3

 

 

switch(config)# exit

Returns to EXEC mode.

 

switch#

 

Step 4

 

 

switch# show clock

Verifies the time zone configuration.

Step 5

 

 

switch# show run

Displays changes made to the time zone

 

 

configuration along with other configuration

 

 

information.

 

 

 

Cisco MDS 9020 Fabric Switch Configuration Guide and Command Reference

 

OL-6988-02

3-11

 

 

 

Page 11
Image 11
Cisco Systems MDS 9020 manual Configuring Date and Time, Configuring the Time Zone, 3-11, Command, Purpose