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

Page 26

Advertising
background image

14

Brocade 6520 Hardware Reference Manual

53-1002705-02

Brocade 6520 configuration

2

Setting the date and time

Complete the following steps to set the date and time.

1. Log in to the switch using the default password (the default password is password).

2. Enter the date "mmddHHMMyy" command (the double quotation marks are required):

date

"mmddHHMMyy"

The following values are used in the date command:

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 through 2069).
Refer to the following example to first show the date and time and then change them.

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 first procedure requires you to
select the actual time zone and the second requires you to select the country location of the
switch.

The following procedure describes how to set the current time zone using timezonename mode.

1. Log in to the switch using the default password (the default password is password).

2. Enter the tsTimeZone command as follows:

switch:admin> tstimezone [--interactive]/ [, timezonename]

Use timezonename 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. Enter the tsTimeZone command as follows:

switch:admin> tstimezone --interactive

Advertising