Setting time zones, Synchronizing local time using ntp – Brocade 6505 Hardware Reference Manual User Manual

Page 25

Advertising
background image

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 to Central Standard time using
timezonename mode.

1. Log in to the switch using the default password (which is password).
2. Enter the tsTimeZone command as follows:

Use timezonename to set the time zone by time zone ID, such as PST or Country/City.

The following example shows how to change the time zone to US/Central. The tsTimeZone
command by itself display the current time zone.

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 to Pacific Standard Time using
interactive mode.

1. Enter the tsTimeZone command as follows:

switch:admin> tstimezone --interactive

You are prompted to select a general location from a list.

Please identify a location so that time zone rules can be set correctly.

2. Enter the appropriate number from the list that appears or Ctrl

D to quit.

3. At the prompt, select a country location from the list.
4. At the prompt, enter the appropriate number from the list to specify the time zone region or Ctrl

D

to quit.

Synchronizing local time using NTP

Perform the following steps to synchronize the local time using NTP.

1. Log in to the switch using the default password(which is password).
2. Enter the tsClockServer command:

switch:admin> tsclockserver "<ntp1;ntp2>"

In the syntax ntp1 is the IP address or DNS name of the first NTP server, which the switch must be
able to access. The value ntp2 is the name of the second NTP server and is optional. The entire
operand "<ntp1;ntp2>" is optional; by default, this value is LOCL, which uses the local clock of the
principal or primary switch as the clock server.

switch:admin> tsclockserver

LOCL

switch:admin> tsclockserver "132.163.135.131"

switch:admin> tsclockserver

132.163.135.131

switch:admin>

Setting time zones

Brocade 6505 Hardware Reference Manual

25

53-1002449-04

Advertising