Command-line interface basics
TransPort LR User Guide
136
digi.router> dsl mode ?
Syntax
: dsl 1 mode <value>
Description
: DSL line mode
Current Value
: auto
Valid Values
: auto, adsl2-plus, adsl2, gdmt, glite
Default value
: auto
digi.router> dsl mode
Revert command elements using the ! character
Entering
!
reverts an individual command element to its factory default. For example, to revert the
previous setting of interfaces on the
lan
command, enter:
lan 1 interfaces !
Auto-complete commands and parameters
When entering a command and parameter, pressing the
Tab
key causes the command-line interface
to auto-complete as much of the command and parameter as possible.
Auto-complete applies to these command elements only :
n
Command names. For example, entering
cell<Tab>
auto-completes the command as
cellular
n
Parameter names. For example:
l
ping int<Tab>
auto-completes the parameter as
interface
l
system loc<Tab>
auto-completes the parameter as
location
.
n
Parameter values, where the value is one of an enumeration or an on|off type; for example,
eth 1 duplex auto|full|half
Auto-complete does not function for:
n
Parameter values that are string types
n
Integer values
n
File names
n
Select parameters passed to commands that perform an action
Enter configuration commands
Configuration commands configure settings for various device features. These commands have the
following format:
<command> <instance> <parameter> <value>
Where <instance> is the index number associated with the feature. For example, this command
configures the
eth1
Ethernet interface:
eth 1 ip-address 10.1.2.3
For commands with only one instance, you do not need to enter the instance; for example:
system timeout 100