HP StorageWorks Fabric OS 5.0.0 Command Reference Guide (AA-RW1MA-TE, May 2005)

134 Fabric OS commands
Displays or sets the switch date and time.
Synopsis
date [newdate]
Availability
all users (display)
admin (set)
Description
Use this command to set the date and time. All switches maintain the current date and time in flash
memory. If the security feature (secure mode) is not enabled, switch operation does not depend on the
date and time. A switch with incorrect date values continues to function properly. The date and time are
only used to record events in the various logs: for example, the error log and the port log.
To enable secure mode the fabric must be synchronized. Every switch in the fabric must receive a fabric
timestamp from the primary FCS switch.
Use this command with no operands to display the local switch date and time. Specify an operand to set
the date and time.
This command sets a common date and time for the entire fabric. If secure mode is not enabled, a change
in date or time to one switch is forwarded to the principal switch and distributed to the fabric. If secure
mode is enabled, date or time changes can be made only on the primary FCS switch and distributed to
the fabric.
It might take up to 64 seconds for the switches in the fabric to be synchronized.
If the switches in the fabric are v4.1.x, v3.1.x, or v2.6.x or higher, this command sets date and time for
all switches in the fabric. If secure mode is disabled, a change in date and time to one switch is
forwarded to the principal switch and distributed to the fabric.
NOTE: This command becomes read-only if external NTP synchronization is enabled. For more
information, refer to tsClockServer.
The date specified is always the local switch time, taking into account daylight saving time and the time
zone setup of the switch. Each switch takes care of converting the GMT time distributed fabric-wide to its
local time. Refer to tsTimeZone for more information on time zone support.
The date and time are specified in the following format, as used on many UNIX systems:
mmddHHMMyy
where:
mm is the month, 01-12
dd is the date, 01-31
HH is the hour, 00-23
MM is minutes, 00-59
yy is the year, 00-99
date