beautypg.com

Date command – HP McDATA 4Gb SAN Switch for HP BladeSystem p-Class User Manual

Page 124

background image

124 Command Line Interface

Date command

Description 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]

Operands

[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, System operand, 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:

McDATA4GbSAN #> date

Mon Apr 07 07:51:24 2005

See also

Date command

, page 124

Set command

, page 154