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

ページ / 181
Chapter 4 – Command Line Interface (CLI) 
Multi-Tech Systems, Inc. MultiConnect Serial-to-Serial Adapter User Guide (S000354A) 
28
 
Serial Commands – Setup 
 
Command Syntax 
hangup [serial interface] 
Valid serial interface – Modem port S1 
Description 
When this command is issued, the established live link is brought down. 
This command is only valid only for modem port (S1) 
Default Value 
Success 
If physical link is brought down, OK and  
Physical link is successfully brought down messages are given 
Error 
1.  Too few arguments 
 
"Usage: hangup [S1] 
 
Type 'hangup [S1] ?' for more information" 
2. “error: Link could not be brought down” 
message is given when link could not be brought down 
 
Command Syntax 
linkup [serial interface] 
Valid serial interface – Modem port S1 
Description 
Establishes a physical link and PPP on the modem port. 
This command is relevant only when the serial interface is a dialing end 
with 
dialing-trig-mode configured as "command" 
Default Value 
Success 
If physical link is established  
OK and  
CONNECT 14400 LAPM COMPRESSED 
(i.e., CONNECT message from the modem) 
are given 
Error 
1. Too few arguments 
 
"Usage: linkup [S1] 
 
Type 'linkup [S1]' for more information" 
2. “error: Link cannot be brought up” 
message is given when dialing-trig-mode is not "command” 
3. “error: Link is not established” 
 
message is given when link is not established (in case PPP fails to get the 
logical link up) 
4. “error: Link is already up” 
    message is given when link is established and this command will not 
    tear down and bring up the link 
5. “error: NO CARRIER / NO DIALTONE / NO ANSWER” 
     or any error return code from the modem