HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 141
date
Description
Displays or sets the system date and time. To set the date and time, the information string must be
provided in this format: MMDDhhmmCCYY. The new date and time takes effect immediately.
Authority
Admin session except to display the date.
Syntax
date
[MMDDhhmmCCYY]
Operands
[MMDDhhmmCCYY]
Specifies the date by the day, month, time, and year–this requires an Admin session.
[MMDDhhmmCCYY] is as follows:
• MM—01 through 12 corresponds to January through December
• DD—01 through 31 corresponds to the day of the month
• hh—00 through 23 corresponds to the hour on a 24-hour clock
• mm—00 through 59 corresponds to the minute
• CC—20 corresponds to the millennium and century
• YY—00 through 99 corresponds to the decade and year
If you omit [MMDDhhmmCCYY], the current date is displayed, which does not require an Admin
session.
Notes
Network Time Protocol (NTP) must be disabled to set the time with the
date
command. To disable
the
NTPClientEnabled
parameter, enter the
set setup system
command.
When setting the date and time on a switch that is enabled for SSL connections, the switch time must
be within 24 hours of the workstation time. Otherwise, the connection will fail.
Examples
To display the date, enter the
date
command, as shown in the following example:
SN6000 FC Switch #> date
Mon Apr 07 07:51:24 200x
To set the date and time (January 31, 10:15 AM, 2008), enter the
date
command, as shown in the
following example:
SN6000 FC Switch #> admin start
SN6000 FC Switch (admin) #> date 013110152008
SN6000 FC Switch (admin) #> date
Thu Jan 31 10:15:03 UTC 2008
See also
set setup system
, page 222
Summary of Contents for StorageWorks SN6000
Page 16: ...16 Command Line Interface Usage ...
Page 20: ...20 User Account Configuration ...
Page 34: ...34 Network Configuration ...
Page 82: ...82 Zoning Configuration ...
Page 86: ...86 Connection Security Configuration ...
Page 96: ...96 Device Security Configuration ...
Page 100: ...100 RADIUS Server Configuration ...
Page 124: ...124 Simple Network Management Protocol Configuration ...
Page 318: ...318 Command Reference ...
Page 330: ...330 Index ...