beautypg.com

Multi-Tech Systems MTS2SA-T User Manual

Page 34

background image

Chapter 4 – Command Line Interface (CLI)

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

34

Serial Commands – Setup

Command Syntax

set serial [s0/s1] chat-script

Description

Sets expect and send strings for the chat script to act on the modem.
Triggers for a reboot upon save.

Important Note:

Use double quotes if more than one word is used in the

/.

Default Value

NA

Success

OK

Error

1. Too few arguments
"Usage: set serial s0/s1 chat-script
Type 'set serial s0/s1 chat-script ?' for more information"

Command Syntax

Set serial [s0/s1] connect-type

Description

Sets the connect type of the serial port to direct/modem connect.

Note:

Modem port (S1) will always have connect-type as modem since it is a

built-in modem

Default Value

Direct

Success

OK

Error

1. Too few arguments

“Usage: set serial s0/s1 connect-type

Type ‘set serial s0/s1 connect-type ?’ for more information”
2. Invalid string

“error: Invalid string

Type ‘set serial s0/s1 connect-type ?’ for more information”

3. If “set serial s1 connect-type direct” is given
error: modem port s1 is a built-in modem interface; it cannot be set to direct

Command Syntax

set serial [s0/s1] connect-state

Description

Sets the connect state of the serial port to answering/dialing/both state.

Default Value

Both

Success

OK

Error

1. Too few arguments

“Usage: set serial s0/s1 connect-state

Type ‘set serial s0/s1 connect-state ?’ for more information”
2. Invalid string

“error: Invalid string

Type ‘set serial s0/s1 connect-state ?’ for more information”


Command Syntax

set serial [s0/s1] data-bits <7/8>

Description

Set the data-bits.

Default Value

8

Success

OK

Error

1. Too few arguments

“Usage: set serial s0/s1 data-bits <7/8>

Type ‘set serial s0/s1 data-bits ?’ for more information”

2. Invalid data-bit setting

“error: Data-bits range supported: [7/8]

Type ‘set serial s0/s1 data-bits ?’ for more information”

This manual is related to the following products: