Reference Guide

3 Configuration commands System commands
NN47928-107 161
system sntp
Use this command to configure the SNTP client.
Syntax config system sntp enabled [yes|no] source [user|dhcp|auto]
server[1|2|3|4] <ip address|FQDN> gmtoffset
[+/-]<hh:mm> sync <days>
Parameters enabled yes|no Enable/disable the SNTP client. The default is
enabled.
source user|dhcp|auto
Sets the configuration of the user, the DHCP or
allows the client to choose the source. The
SNTP client can get SNTP server configuration
automatically. The configuration from comes
from the DHCP server if possible; otherwise, it
uses the user-provided configuration. If the
DHCP server cannot provide a configuration,
the server address is set to 0.0.0.0. The default
is
auto.
server1|2|3|4 ip address|FQDN
Enter the IP address or a fully qualified domain
name of a NTP server.
gmtoffset
+/-hh:mm Set the time zone offset from GMT in
hour:minute format. The default is 00:00.
sync days Set the synchronization interval in number of
days (1-31). The default is
7.
Example This example enables the SNTP client, specifies the configuration source as
the user, and specifies the name of a NTP server and the time zone offset.
The FQDN of the NTP server is ntpserver.wan.com. The GMT offset is one
hour forward (+1).
> config system sntp enabled source user server1
ntpserver.wan.com gmtoffset +1
> save
> show system sntp
SNTP:
Enabled on
Source user
Server 1 ntpserver.wan.com
Server 2 0.0.0.0
Server 3 0.0.0.0
Server 4 0.0.0.0
Gmt Offset+01:00
Sync Interval7 days
Last SyncFRI FEB 17 15:53:25 2007
Next SyncFRI FEB 24 15:53:25 2007