Sun Microsystems 5602 用户手册

下载
页码 324
A – Command Line Interface
Date Command
A-22
59097-01 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 
, 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:
SANbox Manager #> date
  Mon Apr 07 07:51:24 2003