Set the switch date 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 and time value still
functions properly.
You can synchronize the local time of the principal or primary Fabric Configuration
Server (FCS) switch with that of an external Network Time Protocol (NTP) server.
To set the date and time for a switch (see Example 2 following the procedure):
1.
Log in to the switch as
admin
.
2.
Enter the
date
command at the CLI prompt, using the following syntax:
date
“MMDDhhmm [CC]YY”
The values represent the following:
•
MM
is the month (
01
–
12
).
•
DD
is the date (
01
–
31
).
•
hh
is the hour (
00
–
23
).
•
mm
is minutes (
00
–
59
).
•
CC
is the century (
19
–
20
).
•
YY
is the year (
00
–
99
).
Year values greater than 69 are interpreted as 1970–1999; year values less than 70
are interpreted as 2000–2069. The date function does not support Daylight Savings
Time or time 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 IP 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
Содержание AA-RWF3A-TE
Страница 1: ...HP StorageWorks SAN Switch installation guide Part number AA RWF3A TE Fifth edition May 2007 ...
Страница 7: ...Supported HBAs 145 Glossary 147 Index 157 SAN Switch installation guide 7 ...
Страница 10: ...10 ...
Страница 64: ...64 Installing and configuring SAN Switches ...
Страница 90: ...90 Managing SAN Switches ...
Страница 117: ...Japanese notice Korean notices SAN Switch installation guide 117 ...
Страница 146: ...146 SAN Switch technical specifications ...
Страница 156: ...156 Glossary ...