Technical data
2-6 Fabric OS Administrator’s Guide
Publication Number: 53-0000518-09
Setting the Date and Time
2
To set the date and time
1. Connect to the switch and log in as admin.
2. Enter the date command at the command line, using the following syntax:
The values represent the following:
• mm is the month; valid values are 01 through 12.
• dd is the date; valid values are 01 through 31.
• HH is the hour; valid values are 00 through 23.
• MM is minutes; valid values are 00 through 59.
• yy is the year; valid values are 00 through 99 (values greater than 69 are interpreted as
1970 through 1999, and values less than 70 are interpreted as 2000-2069).
Example
For details about how to change time zones, refer to tsTimeZone command in the Fabric OS Command
Reference Manual.
You can synchronize the local time of the Principal or Primary Fabric Configuration Server (FCS)
switch to an external NTP server.
To synchronize local time with an external source
1. Connect to the switch and log in as admin.
2. Enter the following command:
where ipaddr is the IP address of the NTP server, which the switch must be able to access. This
operand is optional; by default this value is LOCL, which uses the local clock of the principal or
primary switch as the clock server.
N
ote
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.
date “mmddHHMMyy”
switch:admin> date
Fri Jan 29 17:01:48 UTC 2000
switch:admin> date "0227123003"
Thu Feb 27 12:30:00 UTC 2003
switch:admin>
tsclockserver ipadd