beautypg.com

Clock command, Ntp command, Timezonelist command – Raritan Computer DOMINION DSX-0N-E User Manual

Page 145: Table 36 clock command, Table 37 ntp command

background image

C

HAPTER

12:

C

OMMAND

L

INE

I

NTERFACE

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

C

OMMAND

O

PTION

D

ESCRIPTION

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 ] [primaryntpip] [secondaryntpip]

The command options are described in Table 36.

Table 37 ntp Command

C

OMMAND

O

PTION

D

ESCRIPTION

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.