This command configures and displays the management-module clock settings.
Function | What it does | Command | Valid targets |
---|---|---|---|
Display management module clock information | Displays the following information for the management
module clock:
|
clock |
where x is the primary management-module bay number. |
Set management module date | Sets the date for the management module clock. |
clock
-d
date
where date is the current calendar date in mm/dd/yyyy format. The month and day can be input as single digits. The year must be a four-digit number between 2000 and 2089, inclusive. Command use restricted (see Commands and user authority). |
where x is the primary management-module bay number. |
Set management module time | Sets the time for the management module clock. |
clock
-t
time
where time is the current time in 24-hour hh:mm:ss format. The hours, minutes, and seconds can all be input as single digits. Command use restricted (see Commands and user authority). |
where x is the primary management-module bay number. |
Set management module clock GMT offset | Sets the time for the management module clock. |
clock
-g
offset
where offset is a value between +12 and -12, in hours and minutes. Positive offsets are entered using the form: GMT+hh:mm, +hh:mm, +hh, hh:mm, or hh; where, the hours and minutes can be input as single digits. Negative offsets are entered using the form: GMT-hh:mm, -hh:mm, or -hh; where, the hours and minutes can be input as single digits. Valid offsets are:
(continued on next page) |
where x is the primary management-module bay number. |
Set management module clock GMT offset
(continued) |
For some time zones that use daylight-savings time (GMT +10, +2, -5, -6, -7, -8, -9), a special value for the -dst option must be specified to identify the correct daylight-savings time scheme to use in that time zone. Command use restricted (see Commands and user authority). |
||
Set management module clock daylight-savings time mode | Sets the daylight-savings time mode for the management module clock. |
clock
-dst
dst_mode
where dst_mode is one of the following:
Daylight-savings time is not observed in the following GMT offsets: GMT+4:00, GMT+4:30, GMT+5:30, GMT+6:00, GMT+7:00, GMT+8:00, GMT+11:00, GMT-12:00, GMT-11:00, and GMT-10:00. Command use restricted (see Commands and user authority). |
where x is the primary management-module bay number. |
clock -g +5 -dst uc
clock
The following example shows the information that is returned from these two commands:
system:mm[1]> clock -g +5 -dst uc
OK
system:mm[1]> clock
10/17/2006 02:27:11 GMT+5:00 dst uc
system:mm[1]>