Using the command-line interface Application commands
Digi TransPort® Routers User Guide
134
Using the command-line parameter tables in this guide
Command line
Many sections in this guide include tables showing the command-line interface parameters that relate
to the web-based settings. With a few exceptions, these parameters nearly always take the following
format:
<ent i t y> <i nst ance> <par am_name> <val ue>
Where:
<entity>
The name of the router feature being configured.
eth, ppp, modemcc, wifi, ike, eroute, etc.
<instance>
The instance of the feature, such as 0, 1, 2, 3, etc… Some entities only use 0. Others have multiple
instances.
<parameter>
The parameter name, such as, ipaddr, mask, gateway, etc.
<value>
The value to set, such as, off, on, 192.168.1.1, username, free_text, etc.
For example, the following table is displayed for Ethernet parameters:
Command Instance Parameter Values Equivalent web parameters
eth n descr Free text field Description
eth n ipaddr Valid IP address IP Address
eth n mask Valid Subnet
Mask
Mask
eth n gateway IP address Gateway
eth n dnsserver IP address DNS Server
eth n secdns IP address Secondary DNS Server
eth n dhcpcli Off / On On=Get an IP address automatically
using DHCP
Off=Use the following IP address
To use this table, read the row from left to right and replace values as appropriate. The first four
columns only are needed for entering commands; the rightmost column shows the equivalent setting
in the web interface.
If the Instance is n in the table, it is because there are multiple instances available. Use the instance
number you need for your requirements. If the Instance is set to a specific number, such as 0, use the
number specified in the table.
For example, to set a Description of Local LAN on Ethernet 0, enter: