clock set
The clock set Privileged EXEC mode command manually sets the system clock.
Syntax
clock set hh
mm
:
or
clock set hh
mm
:
Parameters
■
hh
mm
ss — Current time in hours (military format), minutes, and seconds (hh: 0-23,
:
:
mm: 0-59, ss: 0-59).
■
day — Current day (by date) in the month (1-31).
■
month — Current month using the first three letters by name (Jan, ..., Dec).
■
year — Current year (2000-2097).
Default Setting
This command has no default configuration.
Command Mode
Privileged EXEC mode
Command Usage
There are no user guidelines for this command.
Example
The following command sets the system time to 13:32:00 on March 7th, 2006.
Console# clock set 13:32:00 7 Mar 2006
HP PC Blade Switch CLI Reference Guide
ss day month year
:
ss month day year
:
www.hp.com
Clock Commands
6
6-1