Chapter 4
C Commands
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
clock
To configure the time zone or daylight savings time, use the clock command in configuration mode. To
disable the daylight saving time adjustment, use the no form of the command.
Syntax Description
summer-time
summer-time-name
start-week
end-week
start-day
end-day
start-month
end-month
start-time
end-time
offset-minutes
timezone
timezone-name
hours-offset
minutes-offset
Defaults
Coordinated Universal Time (UTC) is the same as Greenwich Mean Time (GMT).
Command Modes
Configuration mode.
Command History
Release
1.0(2)
3.1(1)
Usage Guidelines
The appropriate daylight savings time zone name should be specified. If it is not, the default name is
used.
OL-18089-01, Cisco MDS NX-OS Release 4.x
clock {summer-time summer-time-name start-week start-day start-month start-time end-week
end-day end-month end-time offset-minutes | timezone timezone-name hours-offset
minute-offset}
no clock {summer-time summer-time-name start-week start-day start-month start-time end-week
end-day end-month end-time offset-minutes | timezone timezone-name hours-offset
minute-offset}
Specifies the name of the time zone in summer.
Specifies the name of the daylight savings time zone, ranging from 1 to 8
characters.
Specifies the starting week and ending week, ranging from 1 (week 1) to 5
(week 5).
Specifies the starting day and ending day, ranging from 1 to 8 characters
(Sunday to Saturday).
Specifies the starting month and ending month, ranging from 1 to 8 characters
(January to December).
Specifies the starting time and ending time, ranging from 00:00 to 23:59.
Specifies the daylight savings time offset, ranging from 1 to 1440 minutes.
Specifies the name of the time zone.
Specifies the name of the time zone, ranging from 1 to 8 characters.
Specifies the offset time in hours, ranging from 0 to 23. Include a dash before
the number; for example, -23.
Specifies the offset time in minutes, ranging from 0 to 59. Include a dash
before the number; for example, -59.
Modification
This command was introduced.
Added a new set of arguments for timezone.
Cisco MDS 9000 Family Command Reference
clock
4-103