Manually Setting the Device Clock
Manually Setting the Device Clock
You can set the clock manually if your device cannot access a remote time source.
Before You Begin
Configure the time zone.
SUMMARY STEPS
1. clock set time day month year
2. (Optional) show clock
DETAILED STEPS
Command or Action
Step 1
clock set time day month year
Example:
switch# clock set 15:00:00 30 May 2008
Fri May 30 15:14:00 PDT 2008
Step 2
show clock
Example:
switch(config)# show clock
Related Topics
Configuring the Time Zone, on page 91
Managing Users
You can display information about users logged into the device and send messages to those users.
Displaying Information about the User Sessions
You can display information about the user session on the device.
Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide
94
Purpose
Configures the device clock.
The format for the time argument is hh:mm:ss.
The range for the day argument is from 1 to 31.
The values for the month argument are January, February, March,
April, May, June, July, August, September, October, November,
and December.
The range for the year argument is from 2000 to 2030.
(Optional)
Displays the current clock value.
Basic Device Management
OL-29291-02