Chapter 8 Command Reference
Privilege Level 15 Commands
clock {? | set hh:mm:ss month day year}
Syntax Description
set
Sets the system clock.
hh:mm:ss
Current time (for example, 13:32:00).
month
Current month. You can enter full month names or
abbreviations that include at least the first 3 characters of the
month name (for example, jan, feb, mar).
day
Day of the month (for example, 1 to 31).
year
Current year (for example, 2000).
Usage Guidelines
To set the date and time, use the set option.
If you configure the system to use Network Time Protocol (NTP), you do not need
to set the system clock manually using the clock command.
When setting the clock, enter the current time in Coordinated Universal Time
(UTC). The system uses only UTC for keeping and displaying the time and date.
Example
This command sets the date and time:
clock set 13:32:00 apr 22 2000
Tue Dec 11 16:00:00 UTC 2001
Related Commands
ntp server, page 8 34
show clock, page 8 6
discoverycntrl
Use the discoverycntrl command to control polling, discovery, debug, and
timeouts:
discoverycntrl {poll [time minutes | default | off]}
discoverycntrl {discovery [schedule time | status | default]}
User Guide for the CiscoWorks Hosting Solution Engine 1.8.1
OL 6319 01
8 15
footer
Our partners:
PHP: Hypertext Preprocessor Best Web Hosting
Java Web Hosting
Jsp Web Hosting
Cheapest Web Hosting
Visionwebhosting.net Business web hosting division of Web
Design Plus. All rights reserved