Setting the date, Setting time zones – Brocade 300 Hardware Reference Manual User Manual

Page 22

Advertising
background image

The tsClockServer command accepts multiple server addresses in either IPv4, IPv6, or DNS name
formats. When multiple NTP server addresses are passed, tsclockserver sets the first obtainable
address as the active NTP server. The rest are stored as backup servers that can take over if the
active NTP server fails. The principal or primary FCS switch synchronizes its time with the NTP server
every 64 seconds.

Setting the date

1. Log into the switch using the default password, which is password.
2. Enter the date command, using the following syntax:

date "mmddHHMMyy"

The values are:

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

Setting time zones

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.

Use one of the two following procedures to set the time zone.

The following procedure describes how to set the current time zone using timezone_fmt mode to
Central Standard time.

1. Log into the switch using the default password, which is password.
2. Enter the tsTimeZone command as follows:

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

Setting the date

22

Brocade 300 Hardware Reference Manual

53-1000862-06

Advertising