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

ページ / 181
Chapter 4 – Command Line Interface (CLI) 
Multi-Tech Systems, Inc. MultiConnect Serial-to-Serial Adapter User Guide (S000354A) 
42
 
PPP Commands – Setup 
PPP Setup Commands 
Note: 
All PPP Commands use the ppp0 interface, which corresponds to the modem port S1. 
Command Syntax 
set ppp <interface> authentication <enable/disable>
 
Description 
Enables/disables PPP Authentication. 
Default Value 
Disabled 
Success 
OK 
Error 
1.  Too few arguments 
 
Possible argument(s) are disable and enable 
2. Invalid string 
 
Invalid argument.  
 
Valid argument(s) are disable and enable 
3. Multiple matches: auth-type and authentication 
 
Command Syntax 
set ppp <interface> auth-type <pap/chap/pap-chap>
 
Description 
Sets the protocol to authenticate the remote peer: PAP/CHAP/PAP-CHAP 
Default Value 
PAP 
Success 
OK 
Error 
1.  Too few arguments 
   Too few argument(s). Possible argument(s) are: 
chap, pap, and pap-chap 
2.  Invalid authentication type 
 
Invalid argument. Valid argument(s) are 
chap, pap, and pap-chap 
3. Multiple matches: auth-type and authentication 
 
 
Command Syntax
 
set ppp <interface> compression <enable/disable>
 
Description
 
Enables/disables CCP compression.
 
Default Value 
Disabled 
Success
 
OK 
Error
 
1.  Too few arguments 
     Possible argument(s) are disable and enable 
2.  Invalid string 
Invalid argument. Valid argument(s) are disable and enable                
 
 
Command Syntax 
set ppp <interface> comp-type <both/bsd/deflate>
 
Description 
Sets the compression type to BSD, DEFLATE or BOTH. 
In the case of NON-RAWMODE: 
When both is configured as the compression type, the module tries to 
negotiate DEFLATE first. In the event of failure, the BSD is negotiated. 
In case of RAW-MODE: 
Compress-type both is not supported in RAW-MODE, since there are no 
negotiations between MultiConnect IP Modules.
 
Default Value 
Deflate 
Success 
OK 
Error 
1.  Too few arguments 
     Too few argument(s). Possible argument(s) are both, bsd, deflate 
2.  Invalid string 
Invalid argument "string" 
Valid argument(s) are both, bsd, deflate