
Chapter 2 – Command Line Interface (CLI)
Command Line Interface and Application Examples for Multi-Tech Systems, Inc. IP Modules (S000368F) 15
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 IP module.
Default Value
“IP module”
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”
Kommentare zu diesen Handbüchern