SNTP Client Configuration
293
SN#
configure
SN(cfg)#
sntp-client gmt- 02:00:00
There is a short form notation supported as shown in the following example.
SN(cfg)#
sntp-client gmt- 2
29.9 Defining the SNTP Client Anycast Address
Anycast mode is designed for use with a set of cooperating servers whose addresses are not known
beforehand by the SmartNode. An anycast client (SmartNode) sends a request to the designated local
broadcast or multicast group address as described below. For this purpose, the NTP multicast group
address assigned by the IANA is used. One or more anycast servers listen on the designated local
broadcast address or multicast group address. Each anycast server, upon receiving a request, sends a
unicast reply message to the originating client. The client then binds to the first such message
received and continues operation in unicast mode. Subsequent replies from other anycast servers are
ignored.
In anycast mode, the SmartNode sends a request to a designated local broadcast or multicast group
address and expects a reply from one or more anycast servers. The SmartNode uses the first reply
received to establish the particular server for subsequent unicast operations. Later replies from this
server (duplicates) or any other server are ignored.
Other than the selection of address in the request, the operations of anycast and unicast clients are
identical.
Procedure
To set local broadcast address or multicast group address to which the anycast request is sent
Mode
Configure
Command
Purpose
Step 1
node
(cfg)#sntp-client anycast-address
ip-
address
{port |
port-number
}
Set the anycast-address to
ip-address
a
designated local broadcast or multicast
group address to which a request is
sent. In addition an explicit SNTP
server
port-number
in the range from 1
to 65535 can be defined or the
argument port is selected, which sets
the value for port to 123. If none of the
optional argument is used the value for
port is set to 123.
Note:
This command is only relevant in anycast operating-mode.
Example: SNTP Client Anycast Address
In the following example anycast requests are sent to SNTP server at IP address 132.163.4.101 using
port 123 of the SNTP server.
SN(cfg)#
sntp-client anycast-address 132.163.4.101 port
Software Configuration Guide, Revision 1.03