Brocade OS Command Reference Manual Supporting Fabric OS v6.0.0 (53-1000599-01, October 2007)

94 Fabric OS Command Reference
53-1000599-01
date
2
date
Displays or sets the switch date and time.
Synopsis date [newdate]
Description Use this command to display or set the date and time. If no operand is specified the current value
is displayed. Specify the newdate operand to set the date and time.
All switches maintain current date and time in flash memory. Date and time are used for logging
events. Normal switch operation does not depend on the date and time; a switch with incorrect
date values continues to function properly.
This command sets a common date and time for the entire fabric. A change in date or time to one
switch is forwarded to the principal switch and distributed to the fabric. It may take up to 64
seconds for the switches in the fabric to be synchronized.
However, if FCS policy is enabled, this command can be executed only on the Primary FCS switch,
and only the primary FCS switch will distribute the time stamp to all other switches in the fabric.
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.
If the switch is operating in FICON Management Server mode (fmsmode), setting the date is
subject to the director clock alert mode (DCAM). If DCAM is 1, the operator issues a warning that
the switch date is about to change. The operator then prompts to confirm the change with a yes or
no response.
Notes This command becomes read-only if external NTP synchronization is enabled. For more
information, refer to tsClockServer.
The execution of this command is subject to Admin Domain restrictions that may be in place.
Operands This command has the following operand:
"newdate" Specify the new date and time, in quotation marks. This operand is optional.
Date and time are specified as a string in the format: "mmddhhmmyy" where:
mm is the month, valid values are 01-12
dd is the date, valid values are 01-31
hh is the hour, valid values are 00-23
mm is minutes, valid values are 00-59
yy is the year, valid values are 00-37 and 70-99
Year values from 70-99 are interpreted as 1970- 1999, year values from
00-37 are interpreted as 2000-2037.
Examples To display the current date and time and then modify it:
switch:admin> date
Fri Jan 29 17:01:48 UTC 2007
switch:admin> date "0227123007"
Thu Feb 27 12:30:00 UTC 2007