Device Configuration Using The Command Line Interface; Execute Configuration Commands At The Root Admin Cli Prompt; Display Help For The Config Command From The Root Admin Cli Prompt - Digi IX40 User Manual

Table of Contents

Advertisement

Command line interface
defaultip
IPv4 up
defaultlinklocal IPv4 up
lan
IPv4 up
lan
IPv6 up
loopback
IPv4 up
wan
IPv4 up
wan
IPv6 up
>

Device configuration using the command line interface

The config command allows for device configuration from the command line. All configuration tasks
that can be performed by using the WebUI can also be performed by using the config command.
There are two ways to invoke the config command from the CLI:
n
Execute the config command and parameters at the root prompt. See
commands at the root Admin CLI prompt
n
Enter configuration mode by executing the config command without any parameters. See
Configuration mode

Execute configuration commands at the root Admin CLI prompt

You can execute the config command at the root Admin CLI prompt with any appropriate parameters.
When the config command is used in this way, changes to the device's configuration are
automatically saved when the command is executed.
For example, to disable the SSH service from the root prompt, enter the following command:
> config service ssh enable false
>
The IX40 device's ssh service is now disabled.
Note
When the config command is executed at the root prompt, certain configuration actions that
are available in configuration mode cannot be performed. This includes validating configuration
changes, canceling and reverting configuration changes, and performing actions on elements in lists.
See
Configuration mode
Display help for the config command from the root Admin CLI
prompt
Display additional configuration commands, as well as available parameters and values, by entering
the question mark (?) character after the config command.
1. For example:
> config ?
IX40 User Guide
192.168.210.1/24
169.254.100.100/16
192.168.2.1
0:0:0:0:0:ffff:c0a8:301
127.0.0.1/8
192.168.3.1/24
fd00:2704::240:ffff:fe80:120/64
for more information.
for information about using configuration mode.
Device configuration using the command line interface
for more information.
Execute configuration
981

Advertisement

Table of Contents
loading

Table of Contents