Installation guide

158
set time
Purpose Set system time or display current system time.
Sets the Coordinated Universal Time (UTC) and/or system time and date
on the ConnectPort LTS device. If the “offset” option is set to anything
other than “00”, this command assumes that if date and time are being set,
they are system time. Out of the box, all
ConnectPort LTS devices maintain time and date as the UNIX epoch
(00:00:00, January 1, 1970) plus device up-time. Date and time will revert
to the UNIX epoch on each reboot or power-cycle. Device time can be set
manually using the web or command-line interfaces. The time and date are
completely local to the device and have limited usefulness since they are
not persistent over reboots/power-cycles. The “offset” option could be
useful in adjusting for daylight savings time. Setting the date and time to
standard time and setting “offset” to 1 whenever daylight savings time is in
effect would serve that purpose. For users with several devices in different
time zones, keeping “offset=0” might be useful for comparing logs or
traces from different devices, since all would be using UTC.
Required permissions Root privileges are required to set system time. Other users can only display
the current system time.
Syntax Set system time
set time={hh:mm:ss|hh:mm}
date=mm.dd.yy
offset={hh:mm|hh}
Display current system time
set time