Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2(1) (OL-16599-01, March 2009)

Send comments to nx5000-docfeedback@cisco.com
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.