Q-Logic 59022-11 A 4-13 Switch User Manual


 
A – Command Line Interface
Date Command
A-22 59022-11 A
0
Date Command
This command 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]
Keywords [MMDDhhmmCCYY]
Specifies the date – this requires an admin session. 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. Refer to the ”Set Setup Command” on page A-77, System keyword, for
information about NTP.
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 The following is an example of the Date command:
SANbox2 #> date
Mon Apr 07 07:51:24 2003