
Chapter 2 – Command Line Interface (CLI)
Command Line Interface and Application Examples for Multi-Tech Systems, Inc. IP Modules (S000368F) 35
Serial Commands – Setup
Command Syntax set serial [s0/s1] stop-bits <1/1.5/2>
Description
Sets the stop bits.
Default Value
1
Success
OK
Error 1. Too few arguments
“Usage: set serial s0/s1 stop-bits <1/1.5/2>
Type ‘set serial s0/s1 stop-bits ?’ for more information”
2. Invalid stop-bit setting
“ERROR: Stop-bit supported : [1, 1.5, 2]
Type ‘set serial s0/s1 stop-bits ?’ for more information”
Serial Commands – Show
Command Syntax show serial [s0/s1] chat-script
Description Displays the Expect and Send sequence for the serial port s0 or s1.
Default Value
NA
Success
OK
Error 1. Too few arguments
Possible value(s) are:
chat-script modem-configuration
configuration statistics
Command Syntax show serial [s0/s1] configuration
Description
Displays serial s0/s1 configuration.
Default Value
-
Success
OK
Error 1. Too few arguments
Possible value(s) are:
chat-script modem-configuration
configuration statistics
Command Syntax show serial [s0/s1] modem-configuration
Description
Displays the modem-related configuration for serial port s0 or s1.
Default Value
NA
Success
OK
Error 1. Too few arguments
Possible value(s) are:
chat-script modem-configuration
configuration statistics
Command Syntax show serial [s0/s1] statistics
Description
Displays Serial Statistics.
• Status (If serial is used by any application)
• Rx Bytes
• Rx Errors
• Tx Bytes
• Tx Errors
• Status of EIA signals (CTS, DSR, DCD, RTS, DTR).
Important Note: Serial statistics are only for the current session. Rx Bytes, Tx
Bytes will be reset for every session opened on the serial.
Default Value
-
Success
OK
Error 1. Too few arguments
Possible value(s) are:
chat-script modem-configuration
configuration statistics
Comentarios a estos manuales