Dell FC4 Brocade 5000 Hardware Reference - Page 22

Setting the Switch Date and Time, Synchronizing Local Time with an External Source

Page 22 highlights

2 Configuring the Brocade 5000 You should back up the configuration on a regular basis to ensure that a complete configuration is available for downloading to a replacement switch. For specific instructions about how to back up the configuration, refer to the Fabric OS Administrator's Guide. The switchShow, fabricShow, and configUpload commands are described in detail in the Fabric OS Command Reference. SETTING THE SWITCH DATE AND TIME The date and time switch settings are used for logging events. Switch operation does not depend on the date and time; a switch with an incorrect date and time value still functions properly. You can synchronize the local time of the principal or primary fabric configuration server (FCS) switch to that of an external Network Time Protocol (NTP) server. To set the date and time of a switch: 1. Log in to the switch as admin. 2. Type the date command at the command line using the following syntax: date "MMDDhhmm[CC]YY" The values represent the following: • MM is the month (01-12). • DD is the date (01-31). • hh is the hour (00-23). • mm is minutes (00-59). • CC is the century (19-20). • YY is the year (00-99). Year values greater than 69 are interpreted as 1970-1999; year values less than 70 are interpreted as 2000-2069. The date function does not support Daylight Savings Time or time zones, so changes will have to be reset manually. Example switch:admin> date Fri May 5 21:50:00 UTC 1989 switch:admin> switch:admin> date "0624165203" Tue Jun 24 16:52:30 UTC 2003 switch:admin> SYNCHRONIZING LOCAL TIME WITH AN EXTERNAL SOURCE Use this procedure to synchronize the local time of the principal or primary FCS switch with that of an external NTP server: 1. Log in as admin. 2. Enter the tsClockServer [ipaddr] command The ipaddr variable represents the IP address of the NTP server that the switch can access. This argument is optional; by default, its value is "LOCL". 12 Brocade 5000 Hardware Reference Manual Publication Number: 53-1000424-03

  • 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

12
Brocade 5000 Hardware Reference Manual
Publication Number: 53-1000424-03
Configuring the Brocade 5000
2
You should back up the configuration on a regular basis to ensure that a complete
configuration is available for downloading to a replacement switch. For specific instructions
about how to back up the configuration, refer to the
Fabric OS Administrator’s Guide
. The
switchShow
,
fabricShow
, and
configUpload
commands are described in detail in the
Fabric OS
Command Reference.
SETTING THE SWITCH DATE AND TIME
The date and time switch settings are used for logging events. Switch operation does not depend
on the date and time; a switch with an incorrect date and time value still functions properly.
You can synchronize the local time of the principal or primary fabric configuration server (FCS)
switch to that of an external Network Time Protocol (NTP) server.
To set the date and time of a switch:
1.
Log in to the switch as admin.
2.
Type the
date
command at the command line using the following syntax:
date
MMDDhhmm[CC]YY
The values represent the following:
MM is the month (01-12).
DD is the date (01-31).
hh is the hour (00-23).
mm is minutes (00-59).
CC is the century (19-20).
YY is the year (00-99).
Year values greater than 69 are interpreted as 1970-1999; year values less than 70 are
interpreted as 2000-2069. The date function does not support Daylight Savings Time or time
zones, so changes will have to be reset manually.
Example
SYNCHRONIZING LOCAL TIME WITH AN EXTERNAL SOURCE
Use this procedure to synchronize the local time of the principal or primary FCS switch with that of
an external NTP server:
1.
Log in as admin.
2.
Enter the
tsClockServer
[
ipaddr
] command
The
ipaddr
variable represents the IP address of the NTP server that the switch can access.
This argument is optional; by default, its value is “LOCL”.
switch:admin>
date
Fri May
5 21:50:00 UTC 1989
switch:admin>
switch:admin>
date "0624165203"
Tue Jun 24 16:52:30 UTC 2003
switch:admin>