Reference Guide

Brocade Fabric OS Command Reference 1121
53-1004112-02
tsTimeZone
tsTimeZone
Displays or sets the system time zone.
Synopsis tstimezone --interactive
tstimezone timezonename
tstimezone --old hourOffset[,minuteOffset]
Description Use this command to display or set the system time zone.
All switches maintain the current time zone setup in nonvolatile memory. Changing the time zone on a switch
updates the local time zone setup and is reflected in local time calculations.
All switches are by default in the 0,0 time zone:, which is, GMT. If all switches in a fabric are located in the same
time zone, you may leave the default time zone setup.
Time zone is used in computing local time for error reporting and logging. An incorrect time zone setup does not
affect the switch operation in any way.
System services started during the switch boot reflect a time zone change only at the next reboot.
The time zone can be specified in the following two ways, by name or in an hours and minutes offset format:
The offset format is specified with the --old option, followed by an hour offset value and optionally a minute
offset value.
The time zone name format uses the timezone database, which automatically adjusts for Daylight Saving
Time.
By default, the switch is in offset mode (--old), with zero offsets, that is, time is displayed in GMT. Use tsTimeZone
timezonename to change the offset format to the timezone name format.
When executed without parameters, this command displays the current time zone configuration in the format in
which it was set.
Negative hour offset values mean that the local time is behind GMT; for example, -8,0 is GMT-08:00.
Positive hour offset values mean the that local time is ahead of GMT; for example, 3,0 is GMT+03:00.
When Virtual Fabrics are enabled, the hardware clock is updated by the default switch in the chassis, and the time
zone set on any logical switch applies to all logical switches on the chassis. The tsTimeZone command requires
chassis permissions.
Because there is only one clock on the chassis, for the time server to function correctly, ensure that all logical
switches in the fabric have the same NTP Clock Server configured. This includes any Pre-v6.2.0 switches in the
fabric.
Notes The execution of this command is subject to Virtual Fabric restrictions that may be in place. Refer to "Using Fabric
OS Commands" and "Command Availability" for details.
The option 11 (none) in interactive command mode to specify the time zone using the POSIX TZ format is not
supported.