S e n d c o m m e n t s t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m
1-14
Cisco Nexus 5000 Series Command Reference
OL-16599-01
Chapter 1 Basic System Commands
clock set
clock set
To manually set the clock on a Cisco Nexus 5000 Series switch, use the
clock set
command.
clock set
time day month year
Syntax Description
Command Default
None
Command Modes
EXEC mode
Command History
Usage Guidelines
Use this command when you cannot synchronize the switch with an outside clock source, such as an NTP
server.
Examples
This example shows how to manually configure the clock:
switch#
clock set 12:00:00 04 July 2008
Related Commands
time
Time of day. The format is
HH
:
MM
:
SS
.
day
Day of the month. The range is from 1 to 31.
month
Month of the year. The values are
January
,
February
,
March
,
April
,
May
,
June
,
July
,
August
,
September
,
October
,
November
, and
December
.
year
Year. The range is from 2000 to 2030.
Release
Modification
4.0(0)N1(1a)
This command was introduced.
Command
Description
show clock
Displays the clock time.