HP StorageWorks 8/80 HP StorageWorks 8Gb SAN Switch hardware reference manual - Page 43

Set the switch date and time, About setting time zones, Thu Sep 27 12:30:00 UTC 2007

Page 43 highlights

4. Type off to disable DHCP when prompted. DHCP [OFF]: off 5. Optional: Verify that the address is correct by issuing the ipaddrshow command at the prompt. 6. Record the IP address on the label located on the port side of the chassis. Record the IP address on the pull-out tab on the port side of the switch. 7. If the serial port is no longer required, log out of the serial console, remove the serial cable, and replace the safety plug in the serial port. Set the switch date and time The 8Gb SAN Switch maintains the current date and time inside a battery-backed real-time clock (RTC) circuit. Switch operation does not depend on the date and time. An 8Gb SAN Switch with an incorrect date and time value still functions properly. However, it is important that your switch shows the accurate date and time, because these are used for logging, error detection, and troubleshooting. 1. Log in to the switch using the default password, (password). 2. Enter the date command: date "mmddHHMMyy" 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.) 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> About setting time zones You can set the time zone for the switch by name. You can also set country, city, or time zone parameters. If the time zone is not set with the new options, the switch retains the offset time zone settings. The tsTimeZone command includes an option to revert to the prior time zone format. For more information about the --old option, see the Fabric OS command reference manual. You can set the time zone for a switch using the tsTimeZone command. The tsTimeZone command allows you to perform the following tasks: • Display all of the time zones supported in the firmware. • Set the time zone based on a country and city combination or based on a time zone ID, such as PST. • You can view the time zone settings. However, only those with administrative permissions can set the time zones. • The tsTimeZone setting automatically adjusts for daylight savings time. • Changing the time zone on a switch updates the local time zone setup and is reflected in local time calculations. 8Gb SAN Switch hardware reference manual 43

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84

4.
Type
off
to disable DHCP when prompted.
DHCP [OFF]: off
5.
Optional:
Verify that the address is correct by issuing the
ipaddrshow
command at the prompt.
6.
Record the IP address on the label located on the port side of the chassis.
Record the IP address on the pull-out tab on the port side of the switch.
7.
If the serial port is no longer required, log out of the serial console, remove the serial cable, and
replace the safety plug in the serial port.
Set the switch date and time
The 8Gb SAN Switch maintains the current date and time inside a battery-backed real-time clock (RTC)
circuit. Switch operation does not depend on the date and time. An 8Gb SAN Switch with an incorrect
date and time value still functions properly. However, it is important that your switch shows the accurate
date and time, because these are used for logging, error detection, and troubleshooting.
1.
Log in to the switch using the default password,
(password)
.
2.
Enter the
date
command:
date "mmddHHMMyy"
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.)
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>
About setting time zones
You can set the time zone for the switch by name. You can also set country, city, or time zone parameters.
If the time zone is not set with the new options, the switch retains the offset time zone settings. The
tsTimeZone
command includes an option to revert to the prior time zone format. For more information
about the
--old
option, see the
Fabric OS command reference manual
.
You can set the time zone for a switch using the
tsTimeZone
command. The
tsTimeZone
command
allows you to perform the following tasks:
Display all of the time zones supported in the
rmware.
Set the time zone based on a country and city combination or based on a time zone ID, such
as PST.
You can view the time zone settings. However, only those with administrative permissions can set
the time zones.
The
tsTimeZone
setting automatically adjusts for daylight savings time.
Changing the time zone on a switch updates the local time zone setup and is re
ected in local
time calculations.
8Gb SAN Switch hardware reference manual
43