
Chapter 2 – Command Line Interface (CLI)
Command Line Interface and Application Examples for Multi-Tech Systems, Inc. IP Modules (S000368F) 27
Serial Commands – Setup
Command Syntax set serial [s0] auto-dialout <enable/disable>
Description
Enables/disables connectivity to the serial device from the IP-enabled built-in
modem serial interface. This command is valid only for device port s0.
Default Value
Enabled
Success
OK
Error 1. Too few arguments
“Usage: set serial s0 auto-dialout <enable/disable>
Type ‘set serial s0 auto-dialout ?’ for more information”
2. Multiple matches
auto-dialin auto-dialout
auto-dialin-host auto-dialout-port
auto-dialin-port auto-dialout-protocol
auto-dialin-protocol
3. Invalid string
error: Invalid string
Type ‘set serial s0 auto-dialout ?’ for more information”
4. If “set serial s1 auto-dialout <enable/disable>” is given
“error: Command not supported on modem port s1”
Command Syntax set serial [s0] auto-dialout-port <port_num>
Description
If auto-dialout is enabled, specifies auto dialout-port on which client can connect.
By default it is 5000.
Note: The port number should be other than standard TCP ports.
This command is valid only for device port s0.
Default Value
5000
Success
OK
Error 1. Too few arguments
“Usage: set serial s0 auto-dialout-port <port_num>
Type ‘set serial s0 auto-dialout-port ? for more information”
2. Multiple matches
auto-dialin auto-dialout
auto-dialin-host auto-dialout-port
auto-dialin-port auto-dialout-protocol
auto-dialin-protocol
3. Invalid Port Number
“error: Invalid port number
Type ‘set serial s0 auto-dialout-port ? for more information”
4. If “set serial s1 auto-dialout-port 5000” is given
“error: Command not supported on modem port s1”
Command Syntax set serial [s0] auto-dialout-protocol <all/telnet/udp>
Description
Protocol to be used to dialout.
Default Value
Telnet
Success
OK
Error 1. Too few arguments
“Usage: set serial s0 auto-dialout-protocol <all/telnet/udp>
Type ‘set serial s0 auto-dialout-protocol ?’ for more information”
2. Multiple matches
auto-dialin auto-dialout
auto-dialin-host auto-dialout-port
auto-dialin-port auto-dialout-protocol
auto-dialin-protocol
3. Invalid string
error: Invalid parameter
Type ‘set serial s0 auto-dialout-protocol ?’ for more information”
4. If “set serial s1 auto-dialout-protocol telnet” is given
“error: Command not supported on modem port s1”
Comentarios a estos manuales