Command Syntax
Description
Default Value
Success
Error
Command Syntax
Description
Default Value
Success
Error
Command Syntax
Description
Default Value
Success
Error
Command Syntax
Description
Default Value
Success
Error
Multi-Tech Systems, Inc. MultiConnect Serial-to-Serial Adapter User Guide (S000354A)
set serial [s0/s1] chat-script <line-num> <expect-string> <send-string>
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
<expect-string>/<send-string>.
NA
OK
1. Too few arguments
"Usage: set serial s0/s1 chat-script <line-num> <expect-string> <send-string>
Type 'set serial s0/s1 chat-script ?' for more information"
Set serial [s0/s1] connect-type <direct/modem>
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
Direct
OK
1. Too few arguments
"Usage: set serial s0/s1 connect-type <direct/modem>
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
set serial [s0/s1] connect-state <answering/dialing/both>
Sets the connect state of the serial port to answering/dialing/both state.
Both
OK
1. Too few arguments
"Usage: set serial s0/s1 connect-state <answering/dialing/both>
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"
set serial [s0/s1] data-bits <7/8>
Set the data-bits.
8
OK
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"
Chapter 4 – Command Line Interface (CLI)
Serial Commands – Setup
34