beautypg.com

Understanding time synchronization, Synchronizing local time using ntp – Brocade VDX 6730 Hardware Reference Manual (Supporting VDX 6730-32 and VDX 6730-76) User Manual

Page 39

background image

Brocade VDX 6730 Hardware Reference Manual

21

53-1002389-06

Setting the date and time

3

The clock TimeZone setting automatically adjusts for Daylight Savings Time.

Changing the time zone on a switch updates the local time zone setup and is reflected in local
time calculations.

By default, all switches are in the Greenwich Mean Time (GMT) time zone (0,0). If all switches
in a fabric are in one time zone, it is possible for you to keep the time zone setup at the default
setting.

System services that have already started will reflect the time zone changes only after the next
reboot.

Time zone settings persist across failover for high availability.

Time zone settings are not affected by Network Time Protocol (NTP) server synchronization.

The following regions are supported: Africa, America, Antarctica, Asia, Atlantic, Australia, Europe,
Indian, and Pacific. One of these, along with a city name, establishes the time zone.

Understanding time synchronization

To keep the time in your network current, it is recommended that the principal switch has its time
synchronized with at least one external NTP server. The other switches in the fabric will
automatically take their time from the principal switch.

All switches in the fabric maintain the current clock server value in nonvolatile memory. By default,
this value is the local clock server of the principal switch. Changes to the clock server value on the
principal switch are propagated to all switches in the fabric.

When a new switch enters the fabric, the time server daemon of the principal switch sends out the
addresses of all existing clock servers and the time to the new switch.

The ntp server command accepts multiple server addresses in IPv4 format. When multiple NTP
server addresses are passed, ntp server sets the first obtainable address as the active NTP server.
If there are no reachable time servers, then the local switch time is the default time.

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 is the IP address of

the first NTP server in IPv4 format, which the switch must be able to access. The 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.