setntp(8)
System Administration 247
NAME setntp - set the NTP servers used on the XSCF network, the stratum value, the
preferred server and the clock address of the local clock of XSCF
SYNOPSIS setntp [-c add] address ...
setntp -c del address ...
setntp -c del -a
setntp -c stratum -i stratum_no
setntp -m type= value
setntp -h
DESCRIPTION setntp(8) command sets the NTP information for XSCF.
The setntp(8) command can specify the following information:
■The NTP servers which are used on the XSCF network. Up to three NTP servers
can be registered for the XSCF network. Any attempt to register four or more
servers causes an error.
■The stratum value which has been set to XSCF.
■Whether to specify the preferred server.
■The clock address of the local clock of XSCF.
Privileges You m ust h ave platadm privileges to run this command.
Refer to setprivileges(8) for more information.
OPTIONS The following options are supported:
-a Deletes all the NTP servers that are currently registered. This
option is used with the "-c del".
-c add Adds the host with the specified address or the host as an NTP
server. This option is used together with address. If the -c option
is omitted, "-c add" is used. When an NTP server is registered,
the existing setting is deleted and overwriting is performed with
the specified address.
-c del Deletes the host with the specified address or the host from the
NTP servers. If the -c option is omitted, "-c add" is assumed
specified. When deleting multiple NTP servers, the servers are
deleted in the order they are specified. See EXAMPLE 4.
-c stratum Sets the stratum value in case you regard XSCF as an NTP server.