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) 
23
 
IP Commands – Setup
 
IP Setup Commands 
Command Syntax 
set ip dns <enable/disable>
 
Description 
Enables/disables the DNS client.  
Default Value 
Enabled 
Success 
OK 
Error 
1.  Too few arguments 
 
“Usage: set ip dns <enable/disable> 
  
Type ‘set ip dns ?’ for more information” 
2. Invalid 
string 
 
Type ‘set ip dns ?’ for more information” 
 
 
Command Syntax 
set ip hostname <hostname>
 
Description 
Sets the host name of the MultiConnect IP. 
Default Value 
“MultiConnectIP” 
Success 
OK 
Error 
1.  Too few arguments 
     “Usage: set ip hostname <hostname> 
      Type ‘set ip hostname ?’ for more information” 
 
 
Command Syntax 
set ip pri-dns <ip addr>
 
Description 
Sets the primary DNS IP address to 0.0.0.0. 
Default Value 
0.0.0.0 
Success 
OK 
Error 
1.  Too few arguments 
 
“Usage: set ip pri-dns <ip addr> 
    Type ‘set ip pri-dns ?’ for more information” 
2. Invalid 
IP 
Address 
 
“error: Invalid IP address  
      Type ‘set ip pri-dns ?’ for more information” 
 
 
Command Syntax 
set ip sec-dns <ip addr>
 
Description 
Sets the secondary DNS IP address to 0.0.0.0. 
Default Value 
0.0.0.0 
Success 
OK 
Error 
1.  Too few arguments 
 
“Usage: set ip sec-dns <ip addr> 
  
Type ‘set ip sec-dns ?’ for more information” 
2. Invalid 
IP 
Address 
 
“error: Invalid IP address  
 
Type ‘set ip sec-dns ?’ for more information” 
 
 
Command Syntax 
set ip syslogd <enable/disable> 
Description 
Enables/Disables syslogd. 
Default Value 
Disable 
Success 
OK 
Error 
1.  Too few arguments 
    “Usage: set ip syslogd <enable/disable> 
    Type ‘set ip syslogd ?’ for more information”