Chapter 63 System
ZyWALL Series CLI Reference Guide
515
63.4.1 Date/Time Commands
The following table describes the commands available for date and time setup. You must use the
configure terminal command to enter the configuration mode before you can use these
commands.
Table 293 Command Summary: Date/Time
COMMAND DESCRIPTION
clock date yyyy-mm-dd time hh:mm:ss
Sets the new date in year, month and day format manually
and the new time in hour, minute and second format.
[no] clock daylight-saving
Enables daylight savings. The no command disables
daylight saving.
[no] clock saving-interval begin
{apr|aug|dec|feb|jan|jul|jun|mar|may|nov|oct|se
p} {1|2|3|4|last} {fri|mon|sat|sun|thu|tue|wed}
hh:mm end
{apr|aug|dec|feb|jan|jul|jun|mar|may|nov|oct|se
p} {1|2|3|4|last} {fri|mon|sat|sun|thu|tue|wed}
hh:mm offset
Configures the day and time when daylight saving time
starts and ends. The
no command removes the day and
time when daylight savings time starts and ends.
offset: a number from 1 to 5.5 (by 0.5 increments)
clock time hh:mm:ss
Sets the new time in hour, minute and second format.
[no] clock time-zone {-|+hh:mm} [+|-]HH:MM.
Sets your time zone where hh: hour 0-14, mm: minute
0-59). The
no command removes time zone settings.
[no] ntp
Saves your date and time and time zone settings and
updates the data and time every 24 hours. The
no
command stops updating the data and time every 24 hours.
[no] ntp server {fqdn|w.x.y.z}
Sets the IP address or URL of your NTP time server. The no
command removes time server information.
ntp sync
Gets the time and date from an NTP time server.
[no] clock auto-sync-timezone
Allows the Zyxel Device to automatically update its time
zone from the cloud server after the set and get commands
below are issued.
The
no command disables the Zyxel Device from
automatically updating its time zone from the cloud server.
[no] clock auto-sync-daylight-saving
Allows the Zyxel Device to automatically update its daylight
savings adjusted time from the cloud server after the set and
get commands below are issued.
The
no command disables the Zyxel Device from
automatically updating daylight savings adjusted time from
the cloud server.
myzyxel-service get-cloud-timezone
Sends a query to the cloud server to get both time-zone and
daylight-savings information for where the Zyxel Device is
located. The Zyxel Device keeps the result in a temporary
file.
myzyxel-service set-timezone-according-cloud
Applies time-zone and daylight-savings settings according
the information received from myzyxel-service get-
cloud-timezone and if clock auto-sync-timezone and/
or clock auto-sync-daylight-saving were issued. For
example, if clock auto-sync-timezone was not issued,
then Zyxel Device will not automatically update the time-
zone.
show myzyxel-service get-cloud-timezone
Displays the time-zone, daylight savings time start-date,
daylight savings time end-date and daylight savings time
offset from the cloud server.