Raritan Computer DSX-0N-E Security Camera User Manual


 
CHAPTER 12: COMMAND LINE INTERFACE 127
clock
ntp
timezonelist
Clock Command
The clock command lets the administrator set the time and date for the server.
The syntax of the clock command is:
clock [tz tz] [datetime datetime] [timezonelist]
The clock command options are described in Table 36.
Table 36 Clock Command
COMMAND OPTION DESCRIPTION
tz tz
The time zone index is a number corresponding to the desired time
zone.
datetime datetime
The date and time string for the console server unit. Enter in the
following format: "YYYY-MM-DD HH:MM:SS"
timezonelist
Using this option displays a list of time zones and index values. Use
the index values with the [tz] option.
Command Example
The following example sets the Dominion SX date and time to 12-Jul-06, 09:22:33 AM, in time
zone 21.
admin > Config > Time > clock tz 21 datetime 2006-07-12 09:22:33
NTP Command
The ntp command lets the administrator determine if a Network Time Protocol (NTP) server
should be used to synchronize the SX clock to a reference.
The syntax of the command is:
ntp [enable <true|false>] [primaryntpip] [secondaryntpip]
The command options are described in Table 36.
Table 37 ntp Command
COMMAND OPTION DESCRIPTION
enable
Enable or disable the use of NTP.
primaryntpip
The NTP server to use first.
secondaryntpip
The NTP server to use if the primary is not available.
Command Example
The following example enables NTP.
admin > Config > Time > ntp enable true primaryntpip 132.163.4.101
Timezonelist Command
The timezonelist command returns a list of timezones and associated index values. The index
values are then used as part of the clock command.