Synchronizing local time using ntp, Setting the time zone – Brocade Communications Systems Brocade VDX 8770-4 User Manual
Page 48

28
Brocade VDX 8770-4 Hardware Reference Manual
53-1002563-02
Setting the date and time
3
All switches in the fabric maintain the current clock server value in nonvolatile memory. By default,
this value is the local switch clock.
The ntp server command accepts multiple server addresses in either IPv4 or IPv6 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 configure terminal to change to global configuration mode.
switch# configure terminal
Entering configuration mode terminal
3. 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 as the clock
server.
switch(config)# ntp server "132.163.135.131"
To display the NTP server IP address, use the show ntp status [rbridge-id rbridge-id | all]
command. If you are in config mode, you must use do before the show command.
switch(config)# do show ntp status rbridge-id 1
The request is for the local switch unless an Rbridge 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(config)# no ntp server "132.163.135.131"
Setting the time zone
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 persist through a reboot without having to save the
current running config.
Use the clock timezone command to set the time zone.
1. If necessary, log in to the switch using an account assigned to the admin role. Be sure you are
in privileged EXEC mode.
2. Enter the clock timezone region/city command.
The following example changes the time zone to US/Pacific Standard Time.
switch# clock timezone America/Los_Angeles