clock
P
URPOSE
The
variable is used for working with clock settings in the following ways:
clock
• Setting the appliance time
• Displaying and exporting the appliance clock settings
S
YNTAX
When used with
set
set clock [time time] [day day] [month month] [year year] [timezone timezone] [ntp1
ntp1] [ntp2 ntp2]
When used with
show
show clock [time | day | month | year | timezone | ntp1 | ntp2]
F
IELDS
time
day
month
Chapter 5: CLI Variables
:
:
String. The current time, in the format:
HH:MM:SS<meridian>
where
HH
= hours
MM
= minutes
SS
= seconds
<meridian>
Integer. The day of the month.
For example, 4.
Integer. The current month.
For example, December is 12.
= AM or PM
clock
121