OPERANDS
The following operands are supported:
address
EXTENDED
■
DESCRIPTION
■
■
■
EXAMPLES
EXAMPLE 1
EXAMPLE 2
Specifies the IP address or host name of an NTP server to be
added or deleted. Up to three IP addresses or host names can be
specified by delimited the spaces. Host name, if specified, must
be resolvable.
A specified IP address is a set of four integer values delimited by
the "." (period). The following address form is accepted:
xxx.xxx.xxx.xxx
xxx
You cannot specify the loopback address (127.0.0.0/8), the
network address, or a broadcast address.
Do not use the Fully Qualified Domain Name (FQDN) format to
specify an XSCF host name, but specify only a host name. The
host name can be specified in the format that complies with RFC
1034.
If "-c add" is specified and address is omitted, an error occurs.
In M8000/M9000 servers the setting is automatically passed to the standby
XSCF. If the standby XSCF is unable to accept that setting, an error occurs.
To apply the specified configuration, execute the rebootxscf(8) command and
reset XSCF.
After the XSCF is reset, its time is synchronized with the time of the selected
NTP server.
The current NTP server settings set by the setntp(8) command can be checked
by using the showntp(8) command.
Adds the three NTP servers with the addresses 192.168.1.2, 10.18.108.10, and
10.24.1.2.
setntp 192.168.1.2 10.18.108.10 10.24.1.2
XSCF>
Please reset the XSCF by rebootxscf to apply the ntp settings.
Deletes the NTP server 10.18.108.10.
setntp -c del 10.18.108.10
XSCF>
Please reset the XSCF by rebootxscf to apply the ntp settings.
An integer from 0–255. Zero suppression can
be used to specify the integer.
System Administration
setntp(8)
249
Need help?
Do you have a question about the Sun SPARC Enterprise M3000 and is the answer not in the manual?
Questions and answers