Multi-Tech Systems MTS2SA-T ユーザーズマニュアル

ページ / 181
Chapter 4 – Command Line Interface (CLI) 
Multi-Tech Systems, Inc. MultiConnect Serial-to-Serial Adapter User Guide (S000354A) 
30
 
Serial Commands – Setup 
 
Command Syntax 
set serial [s0] auto-dialin-port [port_num]
 
Description 
Command to specify the auto dial-in port number.  
Note: 
[port_num] is optional here. If port_num is not specified, the standard 
port 23 of the Telnet protocol shall be used. 
This command is valid only for device port S0 
Default Value 
23 
Success 
OK 
Error 
1.  Too few arguments 
 
“Usage: set serial s0 auto-dialin-port [port_num] 
 
Type ‘set serial s0 auto-dialin-port ? for more information” 
2. Multiple matches 
auto-dialin auto-dialin-protocol auto-dialout-protocol 
auto-dialin-ipaddress auto-dialout 
 
auto-dialin-port auto-dialout-port 
3. Invalid port 
 
“error: Invalid port number  
 
Type ‘set serial s0 auto-dialin-port ? for more information” 
4. If “set serial s1 auto-dialin-port 23” is given 
    “error: Command not supported on modem port s1” 
 
Command Syntax 
set serial [s0] auto-dialin-protocol <telnet> 
Description 
By default, Telnet is the protocol used to establish the serial-to-Internet 
connectivity. 
Note:
 This syntax provides for future extensibility (SSH Client, etc.) 
This command is valid only for device port S0<ftp protocol setting is not yet 
implemented> 
Default Value 
Telnet 
Success 
OK 
Error 
1.  Too few arguments 
 
“Usage: set serial s0 auto-dialin-protocol <telnet/ftp> 
 
Type ‘set serial s0 auto-dialin-protocol ? for more information” 
2. Multiple matches 
auto-dialin auto-dialin-protocol auto-dialout-protocol 
auto-dialin-ipaddress auto-dialout 
 
auto-dialin-port auto-dialout-port 
3.  Invalid protocol selected 
 
“error: Selected protocol not supported  
 
Type ‘set serial s0 auto-dialin-protocol ? for more information” 
4.  If “set serial s1 auto-dialin-protocol telnet” is given 
 
“error: Command not supported on modem port s1”