CLI Guide

setractime
Table 94. Details of setractime
Description Sets the date and time on the CMC.
To use this subcommand, you must have the Administrator privilege.
Synopsis racadm setractime -d <yyyymmddhhmmss.mmmmmmsoff>
racadm setractime -l YYYYMMDDhhmmss
racadm setractime -z {?|timezone|timezone-prefix*}
Input -d — Sets the time in the string yyyymmddhhmmss.mmmmmmsoff where:
— yyyy is the year
— mm is the month
— dd is the day
— hh is the hour
— mm is the minutes
— ss is the seconds
— mmmmmm is the number of microseconds
— s is a + (plus) sign or a - (minus) sign, which indicates the sign of the offset.
— off is the offset in minutes
NOTE: 'Off' is the offset in minutes from GMT and must be in 15-minute increments.
The timezone is represented as an offset from GMT, and the clock does not
automatically adjust to daylight savings time (for the '-d' option).
-z <zone> - Sets the time zone by name or index, or lists possible time zones. For example,
PST8PDT (Western United States), 294 (Seoul), 344 (Sydney). <zone> may be:
— <?> lists the major timezone names/prefixes.
— <timezone> is the case-sensitive name of your timezone or the index listed by '-z timezone-
prefix*'.
— <timezone-prefix*> is a prefix of one or more timezones, followed by '*'.
NOTE:
The timezone or daylight savings time is fully supported for '-l' and '-z' options.
Omit the '-l' option to set the timezone only (eg. '-z US/Central').
-l — Sets the local date and time in the string yyymmddhhmmss where:
— yyyy is the year
— mm is the month
— dd is the day
— hh is the hour
— mm is the minute
— ss is the second
— Setting the time using the -l and -z options is recommended. This command format allows
the CMC to fully support local time zones, including the ability to automatically adjust the CMC
time to the local Daylight Savings Time.
RACADM Subcommand Details
89