EMC DS-5100B Hardware Reference - Page 26

Setting time zones, Synchronizing local time using NTP, Central Standard time. - brocade default password

Page 26 highlights

2 Brocade 5100 configuration 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 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. Synchronizing local time using NTP Perform the following steps to synchronize the local time using NTP. 1. Log into the switch using the default password, which is password. 2. Enter the tsClockServer command: switch:admin> tsclockserver "" where ntp1 is the IP address or DNS name of the first NTP server, which the switch must be able to access. The second ntp2 is the second NTP server and is optional. The operand "" 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 14 Brocade 5100 Hardware Reference Manual 53-1000854-02

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54

14
Brocade 5100 Hardware Reference Manual
53-1000854-02
Brocade 5100 configuration
2
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
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.
Synchronizing local time using NTP
Perform the following steps to synchronize the local time using NTP.
1.
Log into the switch using the default password, which is password.
2.
Enter the
tsClockServer
command:
switch:admin> tsclockserver
"
<ntp1;ntp2>"
where
ntp1
is the IP address or DNS name of the first NTP server, which the switch must be
able to access. The second
ntp2
is the second NTP server and is optional. The 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