Synchronizing local time using ntp, Setting the clock (date and time) manually, Setting time zones – Brocade VDX 6740 Hardware Reference Manual (Supporting VDX 6740, VDX 6740T, and VDX 6740T-1G) User Manual

Page 31

Advertising
background image

Brocade VDX 6740 Hardware Reference Manual

19

53_1002829_02

Date and time on the Brocade VDX 6740

3

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 (the default password is password).

2. Enter the ntp server “IPv4 address”

command

,

where IPv4 address is the IP address of the

first NTP server in IPv4 format, which the switch must be able to access. The IPv4 address
variable is optional. By default, this value is LOCL, which uses the local clock of the principal
switch as the clock server.

switch:admin> ntp server "132.163.135.131"

To display the NTP server IP address, use the show ntp status [switchid switchid | all]
command.

switch:admin> show ntp status switchid 132.163.135.131

The request is for the local switch unless a switch ID is specified. Specify the all parameter to
send the request to all switches in the cluster.

If you need to remove an NTP server, use the no form of the ntp server command.

switch:admin> no ntp server "132.163.135.131"

Setting the clock (date and time) manually

You should set the clock only if there are no NTP servers configured. Time synchronization from
NTP servers overrides the local clock. Date values are limited to between January 1, 1970 and
January 19, 2038.

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

2. Enter the clock set year-month-dayThours:minutes:seconds command.

The following example sets the clock to March 17, 2010, 15 minutes past noon:

switch:admin > clock set 2010-03-17T12:15:00

3. To show the clock and time zone settings, use the show clock [switchid switchid | all]

command.

switch:admin > show clock switchid 1

Setting time zones

You must perform this 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. While not necessary for switch operation, setting a time zone is part of ensuring accurate
logging and audit tracking. Time zone changes take effect after a reboot.

Use the clock TimeZone command to set the time zone.

1. Connect to the switch and log in using an account assigned to the admin role.

2. Enter the clock TimeZone region/city command.

The following example changes the time zone to US/Pacific Standard Time:

switch:admin > clock timezone America/Los_Angeles

Advertising