Setting the time zone – Brocade Communications Systems Brocade Backbone DCX 8510-4 User Manual

Page 50

Advertising
background image

30

Brocade DCX 8510-4 Backbone Hardware Reference Manual

53-1002177-05

Setting the date and time

3

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 through 2069).

switch:admin> date

Fri Sep 28 17:01:48 UTC 2010

switch:admin> date "0927123010"

Thu Sep 27 12:30:00 UTC 2010

switch:admin>

Setting the time zone

You must perform the procedure on all chassis 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 in to 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

The following procedure describes how to set the current time zone using interactive mode to
Pacific Standard Time.

1. Type the tsTimeZone command as follows:

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.

Advertising