beautypg.com

Clock timezone – Brocade Network OS Command Reference v4.1.0 User Manual

Page 186

background image

148

Network OS Command Reference

53-1003115-01

clock timezone

2

clock timezone

Sets the time zone based on region and longitudinal city.

Synopsis

clock timezone region/city [rbridge-id {rbridge-Id | all}]

no clock timezone [rbridge-id rbridge-Id]

Operands

region

Specifies the region’s time zone.

city

Specifies the city’s time zone.

rbridge-id

Enables RBridge ID mode to support Logical chassis cluster mode on
individual nodes.

rbridge-id

Specifies a unique identifier for a node.

all

Specifies all identifiers for a node.

Defaults

None

Command Modes

Privileged EXEC mode

Description

Sets the local clock time zone.

Usage Guidelines

Regions include the following countries: Africa, America, Pacific, Europe, Antarctica, Asia, Australia,
Atlantic, Indian, and longitudinal city. For a complete listing of supported regions and cities, refer
to Appendix C in the Network OS Administrator’s Guide.

By default, all switches are in the Greenwich Mean Time (GMT) time zone. The no operand
removes the timezone setting for the local clock. When using the no operand, you do not need to
reference a timezone setting.

The no operand is not distributed across the cluster. The RBridge ID of the node should be used.

Network Time Protocol (NTP) commands must be configured on each individual switch.

The region name and city name must be separated by a slash (/).

After upgrading your switch to a new Network OS version, you might need to reset the time zone
information.

The rbridge-id operand is supported in VCS mode only.

Examples

Standalone mode

To set the time zone to Pacific Standard Time in North America:

switch# clock timezone America/Los_Angeles

To remove the timezone setting:

switch# no clock timezone

Logical chassis cluster mode

To set the time zone to Pacific Standard Time in North America on all nodes in the cluster:

switch# clock timezone America/Los_Angeles rbridge-id all