Setting the time zone, Setting the clock (date and time) – Brocade VDX 8770-4 Hardware Reference Manual User Manual

Page 54

Advertising
background image

34

Brocade VDX 8770-4 Hardware Reference Manual

53-1002563-04

Setting the date and time

3

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 configuration.

Use the clock timezone command to set the time zone.

1. Log in to the switch using an account that has the admin role.

2. Enter the clock timezone region/city command while in privileged EXEC mode.

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

switch# clock timezone America/Los_Angeles

Setting the clock (date and time)

The following procedure sets the local clock date and time. An active NTP server, if configured,
automatically updates and overrides the local clock time. Time values are limited to between
January 1, 1970 and January 19, 2038.

NOTE

You should set the clock only if there are no NTP servers configured. Time synchronization from NTP
servers overrides the local clock.

1. Log in to the switch using an account that has the admin role.

2. Enter the clock set year-month-dayT hours:minutes:seconds command while in privileged EXEC

mode.

The following example sets the clock to March 17, 2012, 15 minutes past noon.

switch# clock set 2012-03-17T12:15:00

If you want to show the clock and time zone settings, use the show clock [rbridge-id rbridge-id | all]

command.

switch# show clock

rbridge-id 1: 2012-03-17 12:15:00 America/Los_Angeles

Advertising