User guide
set sntp
206 Chapter 2  Command Descriptions 
set sntp
Device support This command is supported in PortServer TS 8/16 Family and PortServer 
TS 8/16 MEI Family devices only.
Purpose Configures a Simple Network Time Protocol (SNTP) client. The purpose of 
the SNTP client is to get the current time from a Network Time Protocol 
(NTP) server and set the device’s clock with this time.
Required 
permissions
The root user can configure SNTP. Normal users can display SNTP 
settings.
Syntax Configure SNTP client
set sntp [state={on|off}]
[mode={unicast|anycast|multicast}]
[polltime={10-100000 seconds}]
[primary={ip address|server hostname}]
[secondary={ip address|server hostname}]
Display SNTP client settings
set sntp
Options state={on|off}
Enables or disables the SNTP client.
mode={unicast|anycast|multicast}
Indicates how the SNTP client is expected to get the time from a NTP 
server. 
unicast
The SNTP client sends a request to a designated unicast server and 
expects a reply.
anycast
The SNTP client sends a request to a broadcast address and expects 
a reply from one or more servers. Upon receiving the first reply, the 
client will establish unicast communication with the server that sent the 
reply and ignore responses from all other servers.
multicast
The SNTP client sends no request and waits for a broadcast from a 
server.
polltime={10-100000 seconds}
Specifies how often an SNTP client will query a server for a time update.
primary={ip address|server hostname}
The IP address or hostname of the primary NTP server.
secondary={ip address|server hostname}
The IP address or hostname of the secondary NTP server.










