beautypg.com

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

Page 185

background image

Network OS Command Reference

147

53-1003115-01

clock set

2

clock set

Sets the local clock date and time.

Synopsis

clock set CCYY-MM-DDTHH:MM:SS [rbridge-id {rbridge-id | all}]

Operands

CCYY-MM-DDTHH:MM:SS

Specifies the local clock date and time in year, month, day, hours, minutes,
and seconds. Valid date and time settings range from January 1, 1970 to
January 19, 2038.

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

Use this command to set the local clock.

Usage Guidelines

An active NTP server, if configured, automatically updates and overrides the local clock time.
Network Time Protocol (NTP) commands must be configured on each individual switch if you are in
Standalone mode. This command is not distributed across a cluster. The RBridge ID of the node
should be used to set the clock.

The rbridge-id parameter is supported in Logical chassis cluster mode only.

Examples

To set the date and time to March 17, 2010, 15 minutes past noon in Standalone mode or on an
individual node:

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

To set the date and time to March 17, 2010, 15 minutes past noon in Logical chassis cluster mode
for all switches in the cluster:

switch# clock set rbridge-id all 2010-03-17T12:15:00

See Also

clock timezone, ntp server, show clock