Fabric OS 5.x command reference guide 137
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 4.1.x, 3.1.x, or 2.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 distributes to the fabric.
NOTE:
This command becomes read-only if external NTP synchronization is enabled. For more
information, see
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. See
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.
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
date
Summary of Contents for StorageWorks 2/64 - Core Switch
Page 12: ...12 Contents ...
Page 16: ...16 ...
Page 20: ...20 Fabric OS command line interface ...
Page 36: ...36 Fabric OS commands See also aliCreate aliDelete aliRemove aliShow ...
Page 48: ...48 Fabric OS commands See also aliAdd aliCreate aliDelete aliRemove ...
Page 51: ...Fabric OS 5 x command reference guide 51 See also dlsReset dlsSet dlsShow switchDisable ...
Page 80: ...80 Fabric OS commands cfgRemove cfgSave cfgShow ...
Page 82: ...82 Fabric OS commands See also cfgDisable cfgEnable cfgSave ...
Page 96: ...96 Fabric OS commands cfgShow ...
Page 105: ...Fabric OS 5 x command reference guide 105 Examples To display all FRUs for a switch ...
Page 122: ...122 Fabric OS commands See also configDefault configDownload configShow configure ...
Page 150: ...150 Fabric OS commands See also burninLevel setEsdMode setGbicMode setSplbMode ...
Page 171: ...Fabric OS 5 x command reference guide 171 See also errDelimiterSet errFilterSet errShow ...
Page 175: ...Fabric OS 5 x command reference guide 175 ...
Page 191: ...Fabric OS 5 x command reference guide 191 See also fabricLog fabStateClear fabStateShow ...
Page 208: ...208 Fabric OS commands See also faZoneAdd faZoneCreate faZoneDelete faZoneShow ...
Page 217: ...Fabric OS 5 x command reference guide 217 See also fcPing fcpLogDisable fcpLogEnable ...
Page 219: ...Fabric OS 5 x command reference guide 219 See also portLoginShow portLogShow ...
Page 240: ...240 Fabric OS commands See also firmwareDownload firmwareRestore ...
Page 256: ...256 Fabric OS commands See also bcastShow topologyShow uRouteShow ...
Page 266: ...266 Fabric OS commands See also fwClassInit fwConfigReload fwShow ...
Page 298: ...298 Fabric OS commands See also historyLastShow ...
Page 315: ...Fabric OS 5 x command reference guide 315 See also ipAddrShow ...
Page 357: ...Fabric OS 5 x command reference guide 357 See also msTdEnable msTdReadConfig ...
Page 364: ...364 Fabric OS commands See also interfaceShow portShow switchShow ...
Page 373: ...Fabric OS 5 x command reference guide 373 See also nsShow switchShow ...
Page 376: ...376 Fabric OS commands nsShow switchShow ...
Page 394: ...394 Fabric OS commands See also portLogDump saveCore ...
Page 452: ...452 Fabric OS commands See also portCfgShow ...
Page 458: ...458 Fabric OS commands ...
Page 504: ...504 Fabric OS commands portCfgDefault portShow ...
Page 532: ...532 Fabric OS commands slotPowerOff slotPowerOn slotShow ...
Page 536: ...536 Fabric OS commands See also chassisShow fanShow ...
Page 542: ...542 Fabric OS commands See also qloopAdd qloopCreate qloopDelete qloopShow ...
Page 554: ...554 Fabric OS commands See also none ...
Page 565: ...Fabric OS 5 x command reference guide 565 See also secPolicyDump secPolicyShow ...
Page 591: ...Fabric OS 5 x command reference guide 591 secPolicyRemove secPolicySave secStatsShow ...
Page 673: ...Fabric OS 5 x command reference guide 673 supportShow traceDump traceFtp traceTrig ...
Page 715: ...Fabric OS 5 x command reference guide 715 traceFtp traceTrig ...
Page 722: ...722 Fabric OS commands See also agtCfgSet agtCfgShow trackChangesHelp trackChangesShow ...
Page 725: ...Fabric OS 5 x command reference guide 725 See also portCfgTrunkPort switchCfgTrunk trunkShow ...
Page 765: ...Fabric OS 5 x command reference guide 765 See also zoneAdd zoneCreate zoneDelete zoneRemove ...
Page 766: ...766 Fabric OS commands ...
Page 772: ...772 Licensed product commands ...
Page 776: ...776 Exclusive primary FCS commands ...
Page 796: ...796 supportShow reference ...
Page 830: ...830 Index ...