2
Management
36
Manually triggering time synchronization
If
there
is
a
need
to
manually
force
the
system
clock
to
be
updated,
use
the
time
‐
sync
CLI
command.
Example: Manually triggering time synchronization
Time
synchronization
can
be
triggered
from
the
CLI.
Device:/>
time
‐
sync
Time
synchronization
requested
Device:/>
Maximum time adjustment
To
avoid
situations
where
a
faulty
Time
Server
causes
the
clock
to
be
updated
with
an
extremely
inaccurate
time,
a
Maximum
Adjustment
value
(in
seconds)
can
be
set.
If
the
difference
between
the
current
SEG
time
and
the
time
received
from
a
Time
Server
is
greater
than
this
Maximum
Adjustment
value,
the
Time
Server
response
will
be
discarded.
For
example,
assume
that
the
maximum
adjustment
value
is
set
to
60
seconds
and
the
current
SEG
time
is
16:42:35
.
If
a
Time
Server
responds
with
a
time
of
16:43:38
then
the
difference
is
63
seconds.
This
is
greater
than
the
maximum
adjustment
value
so
no
update
occurs
for
this
response.
The
default
value
for
the
maximum
adjustment
is
600
seconds
(ten
minutes).
Example 1: Modifying the maximum adjustment value
Sometimes
it
might
be
necessary
to
override
the
maximum
adjustment
parameter.
For
example,
you
may
want
to
manually
force
a
synchronization
and
disregard
the
maximum
adjustment
if
time
synchronization
has
just
been
enabled
and
the
initial
time
difference
is
greater
than
the
maximum
adjust
value.
Device:/>
set
DateTime
TimeSyncMaxAdjust=4000
Example 2: Forcing time synchronization
This
example
demonstrates
how
to
force
time
synchronization,
overriding
the
maximum
adjustment
setting.
Device:/>
time
‐
sync
‐
force
Time synchronization interval
The
interval
between
each
synchronization
attempt
can
be
adjusted
if
needed.
By
default,
this
value
is
86,400
seconds
(1
day),
meaning
that
the
time
synchronization
process
is
executed
once
in
a
24
hour
period.
Example: Changing the time synchronization interval
Device:/>
set
DateTime
TimeSyncInterval=3600