
Chapter 2 – Command Line Interface (CLI)
Command Line Interface and Application Examples for Multi-Tech Systems, Inc. IP Modules (S000368F) 55
SNTP Client Commands – Setup
Command Syntax set sntp-client polling-time <value>
where value = 2 to 1440
Description
Sets the polling time at which SNTP client requests the server to update the time.
Default Value
300
Success
OK
Error 1. Invalid arguments
"error: Invalid Polling time"
2. Too few arguments
“Usage: set sntp-client polling-time <value>
Type set sntp-client polling-time ? for more information”
Command Syntax set sntp-client daylight-saving <enable/disable>
Description
Enables/Disables the Day Light Saving Mode.
Default Value
Enable
Success
OK
Error 1. Invalid arguments
"error: Invalid parameter"
2. Too few arguments
“Usage: set sntp-client daylight-saving <enable/disable>
Type set sntp-client daylight-saving ? for more information”
Command Syntax set sntp-client daylight-saving offset <+/-value>
where value = 0 to 120 minutes
Description
Sets the offset to use during the Day Light Saving Mode.
Default Value
60
Success
OK
Error 1. Invalid arguments
"error: Invalid offset value"
2. Too few arguments
“Usage: set sntp-client daylight-saving offset <value>
Type set sntp-client daylight-saving offset ? for more information”
Command Syntax set sntp-client daylight-saving start-ordinal <string>
where string = first/second/third/forth/last
Description
Sets the start ordinal to use during the Day Light Saving Mode.
Default Value
First
Success
OK
Error 1. Invalid arguments
"error: Invalid start ordinal"
2. Too few arguments
“Usage: set sntp-client daylight-saving start-ordinal <string>
Type set sntp-client daylight-saving start-ordinal ? for more information”
Command Syntax set sntp-client daylight-saving start-weekday <dayofweek>
where dayofweek = Sunday, Monday ... Saturday
Description
Sets the start weekday to use during the Day Light Saving Mode.
Default Value
Sunday
Success
OK
Error 1. Invalid arguments
"error: Invalid start day of the week"
2. Too few arguments
“Usage: set sntp-client daylight-saving start-weekday <dayofweek>
Type set sntp-client daylight-saving start-weekday ? for more information”
Comentarios a estos manuales