
Setting 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 incorrect date or time values
still functions properly. You can synchronize the local time of the principal or
primary fabric configuration server (FCS) switch to that of an external Network
Time Protocol (NTP) server.
Perform the following steps to set the date and time of the switch.
Setting the date and time
1.
Log in to the switch as
admin
.
2.
Enter the
date
command, using the following syntax:
date
"MMDDhhmm[CC]YY"
The values represent the following:
v
MM is the month (01-12)
v
DD is the date (01-31)
v
hh is the hour (00-23)
v
mm is minutes (00-59)
v
CC is the century (19-20)
v
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, so changes will have to be reset manually.
switch:admin>
date
Fri Sep 29 17:01:48 UTC 2007
switch:admin>
date "0927123007"
Thu Sep 27 12:30:00 UTC 2007
switch:admin>
Synchronizing local time with an external source
Perform the following steps 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.
Enter 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 the value is LOCL.
sw7800:admin> tsclockserver 192.168.126.60
Updating Clock Server configuration...done.
Updated with the NTP servers
sw7800:admin>
Correcting the time zone of the switch
If the time of your switch is off by hours (and not minutes), use the following
procedure to set the time zone. This needs to be done only once, because the value
is stored in nonvolatile memory.
1.
Log in as admin.
2.
You can use the
tstimezone -interactive
command and follow the prompts or
enter the
tsTimeZone
command as follows:
tstimezone [
houroffset
[,
minuteoffset
]]
Chapter 2. Installing and configuring the SAN06B-R
19
Содержание SAN06B-R
Страница 2: ......
Страница 8: ...vi SAN06B R Installation Service and User Guide...
Страница 12: ...x SAN06B R Installation Service and User Guide...
Страница 14: ...xii SAN06B R Installation Service and User Guide...
Страница 24: ...xxii SAN06B R Installation Service and User Guide...
Страница 32: ...6 SAN06B R Installation Service and User Guide...
Страница 62: ...36 SAN06B R Installation Service and User Guide...
Страница 68: ...42 SAN06B R Installation Service and User Guide...
Страница 80: ...54 SAN06B R Installation Service and User Guide...
Страница 83: ......
Страница 84: ...Part Number 98Y5370 Printed in USA GC27 2270 02 1P P N 98Y5370...