Reference v4.1.0 Instruction Manual

710 Network OS Command Reference
53-1003115-01
show clock
2
show clock
Returns the local time, date, and time zone.
Synopsis show clock [rbridge-id {rbridge-id | all }]
Operands rbridge-id rbridge-id Specifies an RBridge ID for the switch
all Specifies all switches in the VCS cluster.
Defaults The local clock is used.
Command Modes Privileged EXEC mode
Description Use this command to display the current local clock and time zone.
If the RBridge ID is not provided, status results default to the local switch (LOCL). If rbridge-id all is
executed, the command displays the status for all switches in the VCS cluster.
Usage Guidelines This command is currently supported only on the local RBridge.
Examples Stand Alone mode
To show the local switch clock time:
switch# show clock
rbridge-id 1: 2012-05-04 16:01:51 Etc/GMT+0
VCS mode
To show clock time for all switches in the cluster (Logical chassis cluster mode only):
switch# show clock rbridge-id all
To show clock time for switch with rbridge-id 16:
switch# show clock rbridge-id 16
See Also clock set, clock timezone, ntp server