IBM AA-RWF3A-TE Set the switch date and time, Synchronize the local time with an external source

Models: AA-RWF3A-TE

1 159
Download 159 pages 29.86 Kb
Page 61
Image 61

Set 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 with that of an external Network Time Protocol (NTP) server.

To set the date and time for a switch (see Example 2 following the procedure):

1.Log in to the switch as admin.

2.Enter the date command at the CLI prompt, 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. Reset times for Daylight Savings Time or time zones manually.

Example 2:

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>

Synchronize the local time with an external source

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.Issue 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 (see Example 3).

SAN Switch installation guide

61

Page 61
Image 61
IBM AA-RWF3A-TE manual Set the switch date and time, Synchronize the local time with an external source