Setting The Time Zone - HP SN3000B Reference Manual

B-series 16gb switches
Hide thumbs Also See for SN3000B:
Table of Contents

Advertisement

2.
Enter the date command:
date "mmddHHMMyy"
The values are as follows:
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; values less than 70 are interpreted as 2000-2069.)
For example:
switch:admin> date
Fri Sep 30 17:01:48 UTC 2011
switch:admin> date "0929123011"
Thu Sep 29 12:30:00 UTC 2011
switch:admin>

Setting the time zone

Users with administrative permissions can set the time zone for the switch by the zone name (such
as PST), by the country and city, or by time zone location (such as US/Central).
If you do not set the time zone, the switch retains the previous zone settings. The tstimezone
command includes an --old option, which reverts to the prior time zone format. For more
information, see the Fabric OS Command Reference.
The tstimezone command has three options:
The tstimezone command with no parameters displays the current time zone setting.
The tstimezone --interactive command displays all time zones supported in the
firmware.
The timeZone_fmt command sets the time zone based on the country and city, or a time
zone ID, such as PST, that you enter.
This command requires administrator privileges.
The time zone setting has the following characteristics:
Automatically adjusts for Daylight Savings Time.
Changing the time zone updates the local time zone setup and is reflected in local time
calculations.
By default, switches are in the GMT time zone (0,0). If all switches in a fabric are in one time
zone, you can keep the time zone setup at the default setting.
System services that have already started reflect the time zone changes only after the next
reboot.
In the event of failover, time zone settings are retained to ensure high availability.
You need only set the time zone once on each switch because the value is written to nonvolatile
memory. The following examples show how to set the time zone. The first example uses the time
zone selection; the second uses the country location selection.
The following procedure sets the current time zone to Central Standard Time using the
timezone_fmt command:
Setting up the switch
27

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

B-seriesSn6000b

Table of Contents