3: Command Line Interface
EDS-MD® Wired IoT Device Gateway Command Reference
11
Boot to CLI and Device Recovery
Serial Recovery mode will temporarily override the line and tunnel settings for the serial line to
allow configuration changes to be made. The line and tunnel settings will be restored once the
user exits the Serial Recovery mode CLI.
To configure the EDS-MD wired IoT device gateway locally using a serial port:
1. Connect a terminal or a PC running a terminal emulation program to one of the wired IoT
device gateway's serial ports.
2. Configure the terminal to the following settings:
9600 baud
8-bit
No parity
1 stop bit
No flow control.
3. Power off the device.
4. Press and hold down the exclamation point (!) key.
5. Power on the device. After about 5 seconds, the exclamation point will display on the terminal
or PC screen.
6. Type xyz within 5 seconds to display the CLI prompt.
Navigating the CLI Hierarchy
The CLI is organized into a hierarchy of levels. Each level has a group of commands for a specific
purpose. For example, to configure a setting for the FTP server, one would navigate to the FTP
level, which is under the configuration level.
To move to a different level—Enter the name of the level from within its parent level. For
example, to enter the tunnel level, type
tunnel <number>
at the enable prompt. This
displays:
<enable> tunnel <number>#
.
To exit and return to one level higher—Type
exit
and press the
Enter
key. Typing exit at the
login level or the enable level will close the CLI session. If Line - Command Mode is specified
as Always, a new session starts immediately.
To view the current configuration at any level—Type
show
.
To view the list of commands available at the current level—Type the question mark "
?
". Items
within
< >
(e.g.
<string>
) are required parameters.
To view the available commands and explanations—Type the asterisk (
*
).
To view the list of commands available for a partial command—Type the partial command
followed by the question mark "
?
". For example:
<tunnel-1>#show?
displays a list of all
show commands at the tunnel level.
To view available commands and their explanations for a partial command—Type the partial
command followed by the asterisk (
*
). For example:
<tunnel-1>#show*
displays a list of all
show commands and descriptions at the tunnel level.
To view the last 20 commands entered at the CLI—Type
show history
.