HP StorageWorks 1606 HP StorageWorks 8GB SAN Switch hardware reference guide ( - Page 49

Setting the time zone, For Pacific Standard Time, enter

Page 49 highlights

Setting the time zone IMPORTANT: The following procedure describes how to set the time zone for a switch. You must perform the procedure on all switches for which the time zone must be set. However, you only need to set the time zone once on each switch, because the value is written to nonvolatile memory. 1. Log in to the switch using the default password, (password). 2. Enter the tstimezone command: switch:admin> tstimezone [--interactive]/ [, timezone_fmt] Use timezone_fmt to set the time zone by Country/City or by time zone ID, such as PST. The following example shows how to change the time zone to US/Central: switch:admin> tstimezone Time Zone : US/Pacific switch:admin> tstimezone US/Central switch:admin> tstimezone Time Zone : US/Central To set the time zone using interactive mode: 1. Enter the tstimezone command: switch:admin> tstimezone --interactive 2. You are prompted to select a general location. Please identify a location so that time zone rules can be set correctly. 3. Enter the appropriate number or Ctrl+D to quit. 4. At the prompt, select a country location. 5. At the prompt, enter the appropriate number to specify the time zone region or Ctrl+D to quit. Correcting the time zone If the switch time is off by hours (not minutes), set the time zone as follows: 1. Log in as admin. 2. Enter the tstimezone -interactive command and follow the prompts or enter the tstimezone command as follows: tstimezone [houroffset [, minuteoffset]] For Pacific Standard Time, enter tstimezone -8,0 For Central Standard Time, enter tstimezone -6,0 For Eastern Standard Time, enter tstimezone -5,0 The default time zone for switches is UTC, which is 8 hours ahead of Pacific Standard Time. To determine the tstimezone command parameter for other U.S. time zones, see Table 7 on page 50. 8-Gb SAN Switch Hardware Reference Guide 49

  • 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
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120

Setting the time zone
IMPORTANT:
The following procedure describes how to set the time zone for a switch. You must perform the
procedure on all switches for which the time zone must be set. However, you only need to set the time
zone once on each switch, because the value is written to nonvolatile memory.
1.
Log in to the switch using the default password,
(password)
.
2.
Enter the
tstimezone
command:
switch:admin> tstimezone
[
--interactive
]/ [,
timezone_fmt
]
Use
timezone_fmt
to set the time zone by Country/City or by time zone ID, such as PST. The
following example shows how to change the time zone to US/Central:
switch:admin> tstimezone
Time Zone : US/Pacific
switch:admin> tstimezone US/Central
switch:admin> tstimezone
Time Zone : US/Central
To set the time zone using interactive mode:
1.
Enter the
tstimezone
command:
switch:admin> tstimezone --interactive
2.
You are prompted to select a general location.
Please identify a location so that time zone rules can be set correctly.
3.
Enter the appropriate number or
Ctrl
+
D
to quit.
4.
At the prompt, select a country location.
5.
At the prompt, enter the appropriate number to specify the time zone region or
Ctrl
+
D
to quit.
Correcting the time zone
If the switch time is off by hours (not minutes), set the time zone as follows:
1.
Log in as
admin
.
2.
Enter the
tstimezone -interactive
command and follow the prompts or enter the
tstimezone
command as follows:
tstimezone [
houroffset
[,
minuteoffset
]]
For Pacific Standard Time, enter
tstimezone -8,0
For Central Standard Time, enter
tstimezone -6,0
For Eastern Standard Time, enter
tstimezone -5,0
The default time zone for switches is UTC, which is 8 hours ahead of Pacific Standard Time. To
determine the
tstimezone
command parameter for other U.S. time zones, see
Table 7
on page 50.
8-Gb SAN Switch Hardware Reference Guide
49