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

ページ / 181
Chapter 4 – Command Line Interface (CLI) 
Multi-Tech Systems, Inc. MultiConnect Serial-to-Serial Adapter User Guide (S000354A) 
32
 
Serial Commands – Setup 
 
Command Syntax 
set serial [s0] auto-dialout-port <port_num>
 
Description 
If auto-dialout is enabled, specifies the auto dialout-port on which the client 
can connect.  
Default 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-dialin-protocol auto-dialout-protocol 
auto-dialin-ipaddress auto-dialout 
 
auto-dialin-port auto-dialout-port 
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 <telnet/>
 
Description Note:  
This syntax gives a provision for future extensibility. <SSH Server, etc>.  
This command is valid only for device port S0. 
Default Value 
Telnet 
Success 
OK 
Error 
1.  Too few arguments 
 
“Usage: set serial s0 auto-dialout-protocol <telnet/> 
 
Type ‘set serial s0 auto-dialout-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 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” 
 
Command Syntax 
set serial [s0/s1] baud-rate <baud>
 
Description 
Sets the serial baud rate. 
Default Value 
115200 
Success 
OK 
Error 
1.  Too few arguments 
 
“Usage: set serial s0/s1 baud-rate <baud> 
 
Type ‘set serial s0/s1 baud-rate ?’ for more information” 
2. Invalid baud-rate 
 
“error: baud-rate range : [300,……] 
 
Type ‘set serial s0/s1 baud-rate ?’ for more information”