Setntp – FUJITSU SPARC ENTERPRISE M4000 User Manual

Page 211

Advertising
background image

setntp(8)

System Administration

187

NAME

setntp - set the NTP information for XSCF

SYNOPSIS

setntp

[-c add] address ...

setntp -c del

address ...

setntp -c del -a

setntp -c stratum -i

stratum_no

setntp -h

DESCRIPTION

setntp

(8) command sets the NTP information for XSCF.

The setntp(8) command can specify the following information:

In case XSCF is regarded as the NTP client:

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.

In case XSCF is regarded as the NTP server:

The stratum value which has been set to XSCF.

Privileges

You must have 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.

Advertising