
Chapter 13 – SNTP Client
Command Line Interface and Application Examples for Multi-Tech Systems, Inc. IP Modules (S000368F) 140
Chapter 13 – SNTP Client
Introduction
SNTP Client is used to synchronize timekeeping among a set of distributed time servers and clients. It is built on the
IP and UDP, which provide a connectionless transport mechanism.
Features
• Supports SNTP client built on UDP (port 123) to update the local time after booting and at periodic
intervals.
• Supports to set Standard Name of Time Zone.
• Supports to set offset from UTC.
• Supports Daylight savings feature.
• Supports the configuration of Offset During Daylight Savings, Start of Daylight Savings Time, and End of
Daylight Savings Time.
Command to Enable/Disable SNTP Client
The host/serial device can the use the command below to enable/disable the SNTP client.
# set sntp-client <enable/disable>
Prerequisites
Mandatory Prerequisites: The following details are mandatory configuration and have to be validated before
starting SNTP client:
• Set NTP server name or IP address.
# set sntp-client ntp-server-name <ipaddress>
• Set the time-zone (Default is UTC).
# set sntp-client time-zone <UTC>
• Set the time zone offset to be added
# set sntp-client time-zone-offset <+00:00>
• Set the polling time.
# set sntp-client polling-time <300>
ERROR Message
The set sntp-client command prompts for the ERROR message if any of the above details are not configured or
not valid.
Optional Prerequisites: The following configurations are optional and can be used when you want the host
device to enable daylight savings mode.
• Enable Daylight Savings Mode.
# set sntp-client daylight-saving <enable>
• Set the Daylight Savings Offset value.
# set sntp-client daylight-saving offset <+60>
• Set the Start Ordinal/week for Daylight Savings.
# set sntp-client daylight-saving start-ordinal <First>
• Set the Start Weekday for Daylight Savings.
# set sntp-client daylight-saving start-weekday <sunday>
• Set the Start Month for Daylight Savings.
# set sntp-client daylight-saving start-month <april>
• Set the Start Time for Daylight Savings.
# set sntp-client daylight-saving start-time <10:00>
• Set the End Ordinal/ week for Daylight Savings.
# set sntp-client daylight-saving end-ordinal <Last
• Set the End Weekday for Daylight Savings
# set sntp-client daylight-saving end-weekday <sunday>
• Set the End Month for Daylight Savings.
# set sntp-client daylight-saving end-month <october>
• Set the End Time for Daylight Savings.
# set sntp-client daylight-saving end-time <10:00>
Kommentare zu diesen Handbüchern