beautypg.com

Multi-Tech Systems MTS2SA-T User Manual

Page 38

background image

Chapter 4 – Command Line Interface (CLI)

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

38

Serial Commands – Setup

Command Syntax

set serial [s0/s1] modem init-string

Description

Configures the modem initial strings.
Init-num can range from 1-5.
Triggers for a reboot upon save.

Example:

Set serial s0 modem init-string 1 ATZ

Set serial s0 modem init-string 1 "ATZ AT&F"

Important Note:

Use double quotes if more than one word is used in the . Refer to
example 2 above. This holds true for all the following commands that need
a string as a parameter.

Default Value

Init-string 1 is set to 'ATZ'
Init-string 2 is set to ' '
Init-string 3 is set to ' '
Init-string 4 is set to ' '
Init-string 5 is set to ' '

Success

OK

Error

1. Too few arguments

"Usage: set serial s0/s1 modem init-string

Type 'set serial s0/s1 modem init-string ?' for more information"

Invalid

init-num

"ERROR: init-num range supported : [1-5]"


Command Syntax

set serial [s0/s1] modem ok-string

Description

Sets the modem OK string.
Triggers for a reboot upon save.

Default Value

OK

Success

OK

Error

1. Too few arguments

"Usage: set serial s0/s1 modem ok-string

Type 'set serial s0/s1 modem ok-string ?' for more information"


Command Syntax

set serial [s0/s1] modem ring-string

Description

Sets the modem ring string. Triggers for a reboot upon save.

Default Value

RING

Success

OK

Error

1. Too few arguments

"Usage: set serial s0/s1 modem ring-string

Type 'set serial s0/s1 modem ring-string ?' for more information"

Command Syntax

set serial [s0/s1] parity

Description

Sets parity to even/odd/none.

Default Value

None

Success

OK

Error

1. Too few arguments

“Usage: set serial s0/s1 parity

Type ‘set serial s0/s1 parity ?’ for more information”

2. Invalid parity setting

“error: parity supported: [even/odd/none]

Type ‘set serial s0/s1 parity ?’ for more information”

This manual is related to the following products: