Device Management Commands; Clock Datetime; Clock Summer-Time One-Off - HP A7500 Series Command Reference Manual

Fundamentals
Hide thumbs Also See for A7500 Series:
Table of Contents

Advertisement

Device management commands

clock datetime

Syntax
clock datetime time date
View
User view
Default level
3: Manage level
Parameters
time: Specifies a time, in the hh:mm:ss format. The hh value ranges from 00 to 23, the mm value ranges
from 00 to 59, and the ss value ranges from 00 to 59. Zeros can be omitted, unless you are specifying
00:00:00.
date: Specifies a date, in the MM/DD/YYYY or YYYY/MM/DD format. The YYYY value ranges from
2000 to 2035, the MM value ranges from 1 to 12, and the DD value ranges from 1 to 31.
Description
Use the clock datetime command to set the current time and date of the device.
You can leave the SS field when you specify the time parameters.
Related commands: display clock, clock summer-time one-off, clock summer-time repeating, and clock
timezone.
Examples
# Set the current system time to 14:10:20 08/01/201 1.
<Sysname> clock datetime 14:10:20 8/1/2011
# Set the current system time to 00:06:00 01/01/201 1.
<Sysname> clock datetime 0:6 2011/1/1

clock summer-time one-off

Syntax
clock summer-time zone-name one-off start-time start-date end-time end-date add-time
undo clock summer-time
View
System view
Default level
3: Manage level
Parameters
zone-name: Daylight saving time schedule name, a case-sensitive string of 1 to 32 characters.
151

Advertisement

Table of Contents
loading

Table of Contents