Set the switch d
ate and time
The date and time switch settings are used for logging events. Switch operation does
not depend on the date and time; a switch with an incorrect date a nd time value still
functions pr o
perly.
You can synchronize the local time of the principal or primary Fabric Configuration
Server (FCS) switch with that of an external N etwork Time Protocol (NTP) server.
Tosetthedateandtimeforaswitch(seeExample2followingtheprocedure):
1. Log in to the s
witch as admin.
2. Enter the da
te command at the CLI prompt, using the following syntax:
date “MMDDhhmm [CC]YY”
The values represent the following:
• MM is the mon
th (01 – 12).
• DD isthedate(01 – 31).
• hh is the hour (00 – 23).
• mm is minut
es (00 – 59).
• CC is the century (19 – 20).
• YY is the year (00 – 99).
Year valu
es greater than 69 are interpreted as 1970–1999; year values less than 70
are inter
preted as 2000–2069. The date function does not support Daylight Savings
Time or t
ime zones. Reset times for Daylight Savings Time or time zones manually.
Example 2:
switch: admin> date
Fri May 5 21:50:00 UTC 1989
switch:admin>
switch:admin> date “0624165203”
Tue Jun 24 16:52:30 UTC 2003
switch:admin>
Synchronize the local time with an external source
To synchronize the local time of the principal or primary FCS switch with that of an
external NTP server:
1. Log in as admin.
2. Issue the tsclockserver [ipaddr] command.
The ipaddr variable represents the I P address of the NTP server that the switch can
access. This argument is optional; by default, its value is LOCL (see Example 3).
SAN Switch installation guide
61