Use the command-line interface
Using the CLI parameter tables in this guide
Digi TransPort WR Routers User Guide
134
Using the CLI parameter tables in this guide
Many sections in this guide include tables showing the CLI parameters that relate to the web-based
settings. The CLI parameters nearly always take the following format; there are only a few
exceptions.
<entity> <instance> <parameter> <value>
Where:
<entity>=
eth
,
ppp
,
modemcc
,
wifi
,
ike
,
eroute
, etc.
<instance>
=
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:
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:
eth 0 descr “Local LAN”
Because of the space between
Local
and
LAN
, the wording is enclosed in double quotes.
To set an IP address on
192.168.1.1
on
Ethernet 0
:
eth 0 ipaddr 192.168.1.1
To set an IP address of
172.16.0.1
on
Ethernet 1
:
eth 1 ipaddr 172.16.0.1
To enable the DHCP client on
Ethernet 2
:
eth 2 dhcpcli on
Entity
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
Содержание TransPort WR11
Страница 1: ...User Guide Digi TransPort WR Routers ...
Страница 215: ...Configure network interfaces Configure mobile cellular interfaces Digi TransPort WR Routers User Guide 215 ...
Страница 650: ...Configure system settings NTP parameters Digi TransPort WR Routers User Guide 650 ...
Страница 661: ...Configure system settings General system parameters Digi TransPort WR Routers User Guide 661 ...
Страница 662: ...Configure system settings General system parameters Digi TransPort WR Routers User Guide 662 ...
Страница 663: ...Configure system settings General system parameters Digi TransPort WR Routers User Guide 663 ...
Страница 682: ...Configure Remote Management SNMP parameters Digi TransPort WR Routers User Guide 679 ...
Страница 683: ...Configure Remote Management SNMP parameters Digi TransPort WR Routers User Guide 680 ...
Страница 813: ...Manage networks and connections Top Talkers Digi TransPort WR Routers User Guide 808 ...
Страница 814: ...Manage networks and connections Top Talkers Digi TransPort WR Routers User Guide 809 ...
Страница 815: ...Manage networks and connections Top Talkers Digi TransPort WR Routers User Guide 810 ...
Страница 816: ...Manage networks and connections Top Talkers Digi TransPort WR Routers User Guide 811 ...
Страница 817: ...Manage networks and connections Top Talkers Digi TransPort WR Routers User Guide 812 ...
Страница 818: ...Manage networks and connections Top Talkers Digi TransPort WR Routers User Guide 813 ...
Страница 855: ...Device administration Reboot the router Digi TransPort WR Routers User Guide 844 ...