3 command line interface (cli) – Digi TransPort WR44 User Manual
Page 10

TransPort® WR44 Installation Guide
Page 18
TransPort® WR44 Installation Guide
Page 19
4.3 Command Line Interface (CLI)
In order to configure the unit serially, ensure that the unit is connected to a PC (as outlined in Step 5 on page
14 of the Installation section). Also, terminal emulation software (such as HyperTerminal) will be required.
4.3.1 CLI Notes
• To view the current configuration settings, enter the command
CONFIG C SHOW.
• To save changes made to the unit, enter the command
CONFIG 0 SAVE.
• All entered commands will take effect immediately.
4.3.2 Communication Settings
Step 1) Configure the following settings for the unit:
COM Port: [select the appropriate port; typically COM1]
Baud Rate: 11500
Data Bits: 8
Stop Bits: 1
Parity: No Parity
Flow Control: None
Step 2) Ensure the connection is active by entering the command AT. If the device is functioning properly, it
will return the response OK.
Step 3) Ensure the COM port is setup correctly by entering the command ATI5.
4.3.3 Network Settings
To configure the unit with an IP address as part of an existing network, use the commands below.
Note: The DHCP server will still operate unless it is disabled.
Command
Description
ETH 0 IPADDR XXX.XXX.XX.XXX
Sets the Eth 0 IP address
ETH 0 MASK XXX.XXX.XX.XXX
Sets the Eth 0 subnet mask
As an example, to assign the IP address 192.168.10.254/24, the following commands would be entered:
ETH 0 IPADDR 192.168.10.254
ETH 0 MASK 255.255.255.0
Note: When setting the mask to the above 255.255.255.0 value, it will not appear in the output of the
CONFIG C SHOW command as it is a default value.
To stop the DHCP server from serving addresses, use the following command:
Command
Description
DHCP 0 IPMIN X
Removes the minimum IP address that will be server via DHCP,
disabling the DHCP server
As an example, to stop the DHCP sever from DHCP requests, enter the command
DHCP 0 IPMIN !. The !
variable is used to remove a value or set it back to its default.
To retain the DHCP server, but on a different subnet, the following parameters will need to be configured:
Command
Description
DHCP 0 IPMIN x.x.x.x
Minimum IP address to assign, the start of the DHCP pool
DHCP 0 IPRANGE
The number of IP addresses in the DHCP pool
DHCP 0 GATEWAY x.x.x.x
The IP gateway address the DHCP clients should use
(normally this router’s LAN IP address)
DHCP 0 MASK x.x.x.x
The subnet mask DHCP clients should use
DHCP 0 DNS
The DNS server DHCP clients should use
For more information on CLI commands, visit
manuals available.