date
----
.. osdx:opcmd:: set date hwclock from-system
.. raw:: html
AresC640
Atlas840
M2
RS420
RXL15000
SDE
Set hardware clock to current system time
:options:
.. osdx:opcmd:: update-drift
Adjust the drift factor too when fixing the hardware clock
.. osdx:opcmd:: dry-run
Only test setting hardware clock but do nothing
.. osdx:opcmd:: debug
Print debug information about what is going on - useful alongside "dry-run"
.. osdx:opcmd:: set date hwclock to-system
.. raw:: html
AresC640
Atlas840
M2
RS420
RXL15000
SDE
Set system time from hardware clock
:options:
.. osdx:opcmd:: dry-run
Only test setting hardware clock but do nothing
.. osdx:opcmd:: debug
Print debug information about what is going on - useful alongside "dry-run"
.. osdx:opcmd:: set date
.. raw:: html
AresC640
Atlas840
M10-Smart
M2
RS420
RXL15000
SDE
Set system date and time
:arg yyyy-MM-dd:
Set system date and time
:options:
.. osdx:opcmd::
Set system date and time
.. osdx:opcmd:: set date ntp
.. raw:: html
AresC640
Atlas840
M10-Smart
M2
RS420
RXL15000
SDE
Set system date and time from Network Time Protocol (NTP) server
:arg value:
NTP server domain name or ip address
:options:
.. osdx:opcmd:: vrf
Use local VRF to configure the NTP server
:ref Reference: system vrf *
:arg id:
VRF name
.. osdx:opcmd:: key
Use key-ID for authentication
:ref Reference: system ntp authentication-key *
:arg u32:
Key-ID used for authentication