Sntp client commands – Multi-Tech Systems MTS2SA-T User Manual

Page 57

Advertising
background image

Chapter 4 – Command Line Interface (CLI)

Multi-Tech Systems, Inc. MultiConnect Serial-to-Serial Adapter User Guide (S000354A)

57

SNTP Client Commands – Setup

SNTP Client Commands

Command Syntax

set sntp client <enable/disable>

Description

Starts the SNTP Client to contact the configured server on UDP port 123
and set the local time.

Default Value

Disable

Success

OK

Error

1. Too few arguments

“Usage: set sntp-client <enable/disable>
Type set sntp-client ? for more information”

Command Syntax

set sntp-client ntp-server-name <ip-address>

Description

Sets the NTP server IP address to which the SNTP Client has to contact to
update the time.

Default Value

0.0.0.0

Success

OK

Error

1. Invalid

arguments

"error: Invalid IP address"
Type set sntp-client ? for more information”

2. Too few arguments

“Usage: set sntp-client ntp-server-name <ip-address>
Type set sntp-client ntp-server-name ? for more information”

Command Syntax

set sntp-client time-zone <string (0-3)>

Description

Sets the time zone.

Default Value

UTC

Success

OK

Error

1. Invalid

arguments

"error: Invalid Time Zone"

2. Too few arguments

“Usage: set sntp-client time-zone <string (0-3)>
Type set sntp-client time-zone ? for more information”

Command Syntax

set sntp-client time-zone-offset <+/-hh:mm>
where

hh = 00 to 23
mm = 00 to 59

Description

Sets the offset time from UTC.

Default Value

+00:00

Success

OK

Error

1. Invalid

arguments

"error: Invalid Offset"

2. Too few arguments

“Usage: set sntp-client time-zone-offset <+/-hh:mm>
Type set sntp-client time-zone-offset ? for more information”

Advertising
This manual is related to the following products: