Synchronizing local time with an external source, Correcting the time zone of a brocade 7800 – Brocade 7800 Extension Switch Hardware Reference Manual User Manual

Page 27

Advertising
background image

• MM is the month (01-12)
• DD is the date (01-31)
• hh is the hour (00-23)
• mm is minutes (00-59)
• CC is the century (19-20)
• 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 May 5 21:50:00 UTC 1989

switch:admin>

switch:admin> date "0624165203"

Tue Jun 24 16:52:30 UTC 2003

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 tsClockServeripaddr command.

The ipaddr variable represents the IP address of the NTP server that the Brocade 7800 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 a Brocade 7800

If the time of your switch is off by hours (and not minutes), use the following procedure to set the time
zone.

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]]

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 universal time conversion (UTC), which is 8 hours ahead of
Pacific Standard Time. Additional time zone conversions are listed later in this section.

The parameters listed do not apply if the time zone of the switches has already been changed from
the default (8 hours ahead of PT).

For more detailed information about the command parameters, see the tsTimeZone command in the
Fabric OS Command Reference.

This needs to be done only once, because the value is stored in nonvolatile memory. For U.S. time
zones, use the following table to determine the correct parameter for the tsTimeZone command.

Synchronizing local time with an external source

Brocade 7800 Extension Switch Hardware Reference Manual

27

53-1001350-05

Advertising