date

set date hwclock from-system
SDE M10-Smart M2 RS420 AresC640

Set hardware clock to current system time

Options:

update-drift

Adjust the drift factor too when fixing the hardware clock

dry-run

Only test setting hardware clock but do nothing

debug

Print debug information about what is going on - useful alongside “dry-run”

set date hwclock to-system
SDE M10-Smart M2 RS420 AresC640

Set system time from hardware clock

Options:

dry-run

Only test setting hardware clock but do nothing

debug

Print debug information about what is going on - useful alongside “dry-run”

set date <txt>
SDE M10-Smart M2 RS420 AresC640

Set system date and time

Values:
  • yyyy-MM-dd – Set system date and time

Options:

<txt>

Set system date and time

set date ntp <value>
SDE M10-Smart M2 RS420 AresC640

Set system date and time from Network Time Protocol (NTP) server

Values:
  • value – NTP server domain name or ip address

Options:

vrf <id>

Use local VRF to configure the NTP server

Reference:

system vrf <id>

Values:
  • id – VRF name

key <u32>

Use key-ID for authentication

Values:
  • u32 – Key-ID used for authentication