Lantronix and XPort are registered trademarks of Lantronix, Inc. in the United States and other
countries. DeviceInstaller is a trademark of Lantronix, Inc. U.S. Patents 6,881,096; 7,018,242.
Additional patents pending.
Windows and Internet Explorer are a registered trademarks of Microsoft Corporation. Mozilla and
Firefox are registered trademarks of the Mozilla Foundation. Chrome is a trademark of Google,
Inc. Opera is a trademark of Opera Software ASA Corporation Norway. All other trademarks and
trade names are the property of their respective holders.
Contacts
Lantronix, Inc. Corporate Headquarters
167 Technology Drive
Irvine, CA 92618, USA
Toll Free: 800-526-8766
Phone: 949-453-3990
Fax: 949-453-3995
Technical Support
Online: www.lantronix.com/support
Sales Offices
For a current list of our domestic and international sales offices, go to the Lantronix web site at
www.lantronix.com/about/contact
Disclaimer
The information in this guide may change without notice. The manufacturer assumes no
responsibility for any errors that may appear in this guide.
Revision History
DateRevisionComments
ember 2013A
Dec
.
Initial document.
XPort® Pro Lx6 Embedded Device Server Command Reference2
Table of Contents
Copyright and Trademark ____________________________________________________2
Table 4-7 XCR Groups ____________________________________________________________20
Table 4-8 XSR Group and Items ____________________________________________________28
Table 5-1 Commands and Levels ____________________________________________________39
XPort® Pro Lx6 Embedded Device Server Command Reference5
1:About This Guide
This guide describes how to configure the XPort® Pro Lx6 embedded device server using the
Command Line Interface (CLI) and/or Extensible Markup Language (XML). CLI provides an
interactive mode for accessing the device configuration and management interface. It is most
suited for system and network administrators comfortable with using similar interfaces on
Enterprise IT and Networking products. It is also helpful as a quick tool for access via the
product's serial ports or console/management ports.
XML provides an extensible mode for software developers interfacing with the device and system
integrators performing batch provisioning/updates.
Chapter Summaries
This table lists and summarizes content of each chapter.
ChapterSummary
Chapter 2: OverviewGives an overview of CLI and XML.
Chapter 3: Command Line InterfaceLists commands and describes how to use CLI to configure the
Chapter 4: Configuration Using XMLLists XCR groups and items and describes how to use XCRs to
Chapter 5: Commands and LevelsProvides an index of the CLI Command Hierarchy with hyperlinks
XPort Pro Lx6 embedded device server.
configure the XPort® Pro Lx6 embedded device server.
to the corresponding command details.
Conventions
The table below lists and describes the conventions used in this book.
ConventionDescription
Bold textDefault parameters.
Italic textRequired values for parameters
Brackets [ ]Optional parameters.
Angle Brackets < > Possible values for parameters.
Pipe |Choice of parameters.
WarningWarning: Means that you are in a situation that could cause
NoteNote: Means take notice. Notes contain helpful suggestions, information,
CautionCaution:Means you might do something that could result in faulty
Screen Font
(Courier New)
equipment damage or bodily injury. Before you work on any
equipment, you must be aware of the hazards involved with electrical
circuitry and familiar with standard practices for preventing accidents.
or references to material not covered in the publication.
equipment operation, or loss of data.
CLI terminal sessions and examples of CLI input.
XPort® Pro Lx6 Embedded Device Server Command Reference6
Additional Documentation
Visit the Lantronix website at www.lantronix.com/support/documentation for the latest
documentation and the following additional documentation.
DocumentDescription
XPort® Pro Lx6 Embedded Device
Server User Guide
XPort® Pro Embedded Device
Server Integration Guide
DeviceInstaller Online HelpInstructions for using the Lantronix Windows-based utility to locate
1: About This Guide
Describes how to configure and use the XPort Pro Lx6 embedded
device server.
Contains information about the hardware and integrating the XPort
Pro Lx6 into your product.
the XPort Pro Lx6 and to view its current settings.
XPort® Pro Lx6 Embedded Device Server Command Reference7
2:Overview
XPort Pro Lx6 embedded device server supports three convenient configuration methods: Web
Manager, Command Line Interface (CLI) and Extensible Markup Language (XML). For more
information about the Web Manager, see the XPort Pro Lx6 Embedded Device Server User Guide
on the Lantronix website.
XML Architecture and Device Control
XML is a fundamental building block for the future growth of Machine-to-Machine (M2M) networks.
XPort Pro Lx6 embedded device server supports XML configuration records that make configuring
the device server easy for users and administrators. XML configuration records are easy to edit
with a standard text editor or an XML editor.
For a brief overview of XML, see Chapter 4: Configuration Using XML. It provides rules on basic
XML syntax, a guide to the specific XML tags used, and a guide to using XML configuration
records.
Command Line Interface
Making the edge-to-enterprise vision a reality, the XPort Pro Lx6 embedded device server uses
industry-standard tools for configuration, communication, and control. For example, the XPort Pro
Lx6 uses a command line interface (CLI) whose syntax is very similar to that used by data center
equipment such as routers and hubs.
For details of the CLI, see Chapter 5: Commands and Levels. It provides an index of the CLI
Command Hierarchy with links to the corresponding command details. The CLI provides
commands for configuring, monitoring, and controlling the device server.
XPort® Pro Lx6 Embedded Device Server Command Reference8
3:Command Line Interface
This chapter describes accessing the XPort Pro Lx6 embedded device server by using Telnet or
serial ports to configure the device, navigating the Command Line Interface (CLI), typing keyboard
shortcuts, and moving between the levels.
It contains the following sections:
Configuration Using Telnet
Configuration Using the Serial Port
Navigating the CLI Hierarchy
Using Keyboard Shortcuts and CLI
Understanding the CLI Level Hierarchy
Refer to Chapter 5: Commands and Levels for a complete list of levels, commands, and
descriptions.
Configuration Using Telnet
To access and configure the device server by using a Telnet session over the network, you must
first establish a Telnet connection. You can also establish a Telnet connection by clicking the
Telnet Configuration tab in the DeviceInstaller utility. See the DeviceInstaller Online Help for more
information, available on our website www.lantronix.com/support/downloads
.
To access the XPort Pro Lx6 embedded device server by using Telnet, perform the following
steps.
1. Click Start > Run. The Run dialog box displays.
2. Type cmd in the dialog box and press OK.
3. Enter telnet command according to the type of device you are utilizing:
a. Type telnet x.x.x.x (x.x.x.x is the IP address) in a Windows/Linux command prompt.
a. To login through telnet using IPv6 address, please use the below commands.
Type telnet x:x:x::x%eth0 (x:x:x::x is the IPv6 address) in Linux machines.
Type telnet x:x:x::x (x:x:x::x is the IPv6 address) in Windows command
prompt.
4. The XPort Pro Lx6 embedded device server is online when the command prompt (>) displays.
You are at the root level of the CLI.
Note:Depending on the level of security, a password may be required.
Configuration Using the Serial Port
Serial 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.
XPort® Pro Lx6 Embedded Device Server Command Reference9
3: Command Line Interface
To configure the Lantronix device server locally using a serial port:
1. Connect a terminal or a PC running a terminal emulation program to one of the device server'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 15 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.
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
echo 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
echo commands and descriptions at the tunnel level.
To view the last 20 commands entered at the CLI—Type show history.
XPort® Pro Lx6 Embedded Device Server Command Reference10
Using Keyboard Shortcuts and CLI
One useful shortcut built into XPort Pro Lx6 embedded device server is that the complete text of a
command does not have to be entered to issue a command. Typing just enough characters to
uniquely identify a command, then hitting enter, can be used as a short cut for a command. For
example, at the enable level, "sh" can be used for the "show" command.
Tab Completion is also available using the Tab and Enter keys on the keyboard. Typing the first
few characters of a command, then hitting the Tab key displays the first command that begins with
those characters. Hitting the Tab key again displays the next command that begins with the
original characters typed. You can press Enter to execute the command or you can backspace to
edit any parameters.
The following key combinations are allowed when configuring the device server using the CLI:
Table 3-1 Keyboard Shortcuts
Key CombinationDescription
Ctrl + aPlaces cursor at the beginning of a line
Ctrl + bBackspaces one character
Ctrl + dDeletes one character
Ctrl + ePlaces cursor at the end of the line
Ctrl + fMoves cursor forward one character
Ctrl + kDeletes from the current position to the end of the line
Ctrl + lRedraws the command line
Ctrl + nDisplays the next line in the history
Ctrl + pDisplays the previous line in the history
Ctrl + uDeletes entire line and places cursor at start of prompt
Ctrl + wDeletes one word back
Ctrl + zExits the current CLI level
Esc + bMoves cursor back one word
Esc + fMoves cursor forward one word
3: Command Line Interface
Understanding the CLI Level Hierarchy
The CLI hierarchy is a series of levels. Arranging commands in a hierarchy of levels provides a
way to organize and group similar commands, provide different levels of security, and reduce the
complexity and number commands and options presented to a user at one time.
When you start a command line session, you begin at the login level. This level can be password
protected and provides access to high level status, a few diagnostic commands, and the enable
level. Further device information and configuration are accessed via the enable level.
The enable level can also be password protected and is the gateway to full configuration and
management of the device server. There are commands for gathering and effecting all elements of
device status and configuration, as well as commands that take you to additional levels. For
instance, tunnel specific status and configuration is found under the "tunnel" level, and network
specific status and configuration commands are found under the "configuration" level.
XPort® Pro Lx6 Embedded Device Server Command Reference11
3: Command Line Interface
(login)enable
ethernet
link
if 1
syslog
cpm
line <line>
filesystem
configure
device
telnet
dns
email <number>
arp
diagnostics
discovery
http
icmp
ip
smtp
terminal
<line>
terminal
network
tunnel <line>
xml
accept
connect
disconnect
modem
packing
serial
icmpv6
cp
cli
cp output
password
cp output
host
<number>
log
ftp
An overview of the levels in the XPort Pro Lx6 embedded device server is presented in Figure 3-2
CLI Level Hierarchy below.
Figure 3-2 CLI Level Hierarchy
Commands at the login level (see Figure 3-3 Login Level Commands below) do not affect current
configuration settings and are not displayed initially. If you type ?, you will see the login subcommands. These commands provide diagnostic and status information only.
Note:To configure the XPort Pro Lx6 embedded device server, you must be in the
enable level and any of its sub-levels. Figure 3-4 below shows the enable level
commands.
XPort® Pro Lx6 Embedded Device Server Command Reference12
3: Command Line Interface
Figure 3-4 Enable Level Commands
>
>enable
(enable)#?
auto show interfaces auto show processes
clrscrn configure
connect connect line <line>
cpm device
disable dns
email <number> exit
filesystem iperf <params>
kill telnet <session> line <line>
ping <host> ping <host> <count>
ping <host> <count> <timeout> ping6 <host>
ping6 <host> <count> ping6 <host> <count> <timeout>
reload reload factory defaults
show show history
show interfaces show ip sockets
show processes show sessions
telnet <host> telnet <host> <port>
trace route <host> trace route <host> <protocol>
tunnel <line> write
xml
(enable)#
See the Chapter 5: Commands and Levels at the end of this document for a complete list of levels,
commands, and descriptions.
XPort® Pro Lx6 Embedded Device Server Command Reference13
4:Configuration Using XML
The device server provides an Extensible Markup Language (XML) interface that you can use to
configure device server devices. Every configuration setting that can be issued from the device
server Web Manager and CLI can be specified using XML.
The device server can import and export configuration settings as an XML document known as an
XML Configuration Record (XCR). An XCR can be imported or exported via the CLI, a Web
browser, FTP, or the device server filesystem. An XCR can contain many configuration settings or
just a few. For example, it might change all of the configurable parameters for a device server, or it
may only change the baud rate for a single serial line. Using XCRs is a straightforward and flexible
way to manage the configuration of multiple device server devices.
XML Configuration Record Document Type Definition
An XML document type definition (DTD) is a description of the structure and content of an XML
document. It verifies that a document is valid. XCRs are exported using the DTD as shown in
Figure 4-1 DTD for XCRs.
Figure 4-1 DTD for XCRs
<!DOCTYPE configrecord [
<!ELEMENT configrecord (configgroup+)>
<!ELEMENT configgroup (configitem+,configgroup*)>
<!ELEMENT configitem (value+)>
<!ELEMENT value (#PCDATA)>
<!ATTLIST configrecord version CDATA #IMPLIED>
<!ATTLIST configgroup name CDATA #IMPLIED>
<!ATTLIST configgroup instance CDATA #IMPLIED>
<!ATTLIST configitem name CDATA #IMPLIED>
<!ATTLIST value name CDATA #IMPLIED>
]>
The device server DTD rules state the following:
The XML document element is a <configrecord> element. This is the root element.
A <configrecord> must have one or more <configgroup> elements and can have a
version attribute.
A <configgroup> must have one or more <configitem> elements and can have name
and instance attributes.
A <configitem> element must have one or more <value> elements and can have a name
attribute.
A <value> element can have only data and can have a name attribute.
The name attribute identifies a group, item, or value. It is always a quoted string.
The instance attribute identifies the specific option, like the serial port number. The "instance"
attribute is always a quoted string.
XPort® Pro Lx6 Embedded Device Server Command Reference14
Note:
The name for each <configgroup> (specified with the name attribute) is the group
name listed in the Web Manager XCR groups or with the "xcr list" CLI command. See
the XPort Pro Lx6 Embedded Device Server User Guide for more information about
the XCR groups.
An empty or missing <value> element in each present <configgroup> clears the
setting to its default.
Quick Tour of XML Syntax
Declaration
The first line, <?xml version="1.0" standalone="yes"?>, is called the XML declaration.
It is required and indicates the XML version in use (normally version 1.0). The remainder of the file
consists of nested XML elements, some of which have attributes and content.
Element Start and End Tags
An element typically consists of two tags: a start tag and an end tag that surrounds text and other
elements (element content). The start tag consists of a name surrounded by angle brackets, for
example <configrecord>. The end tag consists of the same name surrounded by angle
brackets, but with a forward slash preceding the name, for example </configrecord>. The
element content can also contain other "child" elements.
4: Configuration Using XML
Element Attributes
The XML element attributes that are name-value pairs included in the start tag after the element
name. The values must always be quoted, using single or double quotes. Each attribute name
should appear only once in an element.
Figure 4-2 shows an XML example which consists of a declaration (first line), nested elements with
XPort® Pro Lx6 Embedded Device Server Command Reference15
Record, Group, Item, and Value Tags
A <configgroup> is a logical grouping of configuration parameters and must contain one or
more <configitem> elements. It must have a name attribute and may have an instance
attribute.
A <configitem> is a specific grouping of configuration parameters relevant to its parent group.
An item takes the name attribute and must contain one or more value elements. For example, the
line group might have parameters such as baud rate, data bits, and parity.
A value may specify the value of a configuration parameter. It may contain the name attribute. In
this example, a value of 9600 might be specified for baud rate; 7 may be specified for data bits,
and even may be specified for parity.
A name attribute identifies the group, item, or value. It is always quoted (as are all XML attributes).
For example, a group that contains serial port parameters has the name "line".
An instance attribute identifies which of several instances is being addressed. It is always quoted.
For example, the serial port name (in the line configgroup) has the instance "1" to indicate serial
port 1 or "2" to specify serial port 2.
The following figures show examples of XML configuration records and the use of the
<configrecord>, <configgroup>, <configitem>, and <value> XML elements.
An XCR can be imported or exported using the following methods:
Filesystem-XCRs can be saved to the device server file system and imported or accessed as
needed. See Best Practices on page 18 or the Filesystem Browser section in the XPort Pro
Lx6 Embedded Device Server User Guide.
CLI-XCRs can be imported (captured) or exported (dumped) directly to a Telnet or serial line
CLI session. Capturing an XCR can be started by pasting a valid XCR directly into the CLI
prompt. The XPort Pro Lx6 embedded device server immediately processes the configuration
record, changing any settings specified. This can be done on any level, including the root.
Special tags in the XML allow for providing root and enable level passwords so that this can
also be done at the password prompt.
4: Configuration Using XML
Web browser-Web Manager can be used to import and export an XCR to the device server file
system. It can also be used to import an XCR from an external source such as your local hard
drive.
FTP-The device server FTP server can export and import XCRs when an FTP get or put
command for the filename (xport_pro_lx6.xcr for export, xport_pro_lx6_import.xcr for import;
both are under the pwxcr directory) is requested. On export (FTP get of xport_pro_lx6.xcr), the
FTP server obtains the current XCR from the XPort Pro Lx6 and sends it as a file. On import
(FTP put of xport_pro_lx6_import.xcr), the FTP server processes the file by sending it directly
to the XML engine. In both cases the device server filesystem is not accessed. The files
xport_pro_lx6.xcr and xport_pro_lx6_import.xcr are not read from or written to the file system.
See FTP in the XPort Pro Lx6 Embedded Device Server User Guide.
Best Practices
You can import or export an entire XCR, or just a portion of it, by specifying the group name and/or
group instances. In the examples below, import and export operations are performed from the CLI
on the local filesystem and require a XCR on the local filesystem. The Web Manager provides the
same functionality.
Caution:Using Microsoft Word to edit and save an XCR will change the format of
the file and make it incompatible with XPort Pro Lx6 embedded device
server. This is true even if the file is saved as Plain Text (.txt) or an XML
Document (.xml). Notepad, a third party text editor, or a specialized XML
editor should be used instead.
XPort® Pro Lx6 Embedded Device Server Command Reference18
4: Configuration Using XML
Importing
The following syntax can be used to import configurations from a file:
The first line imports all groups specified in the XML config record named in <file>. Any filename is
valid, and the file name and extension are not important.
In the second line:
Instance follows group with a colon (see the third example on the next page).
Multiple groups are separated with a comma.
Any white space requires the list of groups to be quoted.
Only the named groups get imported, even if the XCR contains additional XCR groups.
The following syntax can be used to export configurations to a file on the device server's file
system:
The same guidelines above regarding importing configurations also apply to exporting
configurations. If no groups are specified, then the export command will export all configuration
settings to the file. If instances are specified after the groups, only those group instances are
written. If no instance is specified, all instances of that group are written.
Exporting
The following example exports only the accept mode tunneling settings for 1 to the file
"tunnel_1.xcr" on the device server filesystem:
xcr export tunnel_1.xcr "tunnel accept:1"
The following example exports only the mode tunneling settings for all to the file "tunnel_all.xcr"
on the device server filesystem:
xcr export tunnel_all.xcr "tunnel "
The following example imports only the settings for 2 from an XCR named "factory_config.xcr" on
the device server filesystem. If "factory_config.xcr" has other configuration settings, they are
ignored:
xcr import factory_config.xcr ":2"
The following example imports only settings for all from a configuration record on the device
server filesystem named "foobar.xcr":
xcr import foobar.xcr ""
To import only mode tunnel settings for 1 and all settings for 2 from an XML configuration record
named "production.xcr" that contains these settings (and possibly more), issue the following
command:
xcr import production.xcr "tunnel :1"
The following example exports mode tunneling for all to the file tunnel_config.xcr on the device
server filesystem:
xcr export tunnel_config.xcr "tunnel"
XPort® Pro Lx6 Embedded Device Server Command Reference19
4: Configuration Using XML
XML Configuration Groups
Table 4-7 lists the XPort Pro Lx6 embedded device server XCR groups in alphabetical order. This
table indicates the various group items, as well as some possible value names and options.
Note:Any instance of < in the table may be read as "less than" and any instance of
> may be read as "greater than".
Table 4-7 XCR Groups
Group NameGroup ItemValue NameValue OptionsAdditional
Information
arparp deleteip addressRemove an entry from
the ARP table. Specify
the entry by its IP
address.
ip address
mac address
control characters, for
example,
<control>A
represents control-A
Default: <control>L
assert low
bit
type
assert low
bit
type
cli
cp group
(Attribute of an
instance is
“Line1_Modem_Ctl_
In”)
cp group
(Attribute of an
instance is Out”)
cp group
(Attribute of an
instance is
“Line1_RS485_HDp
x”)
cp group
(Attribute of an
instance is
“Line1_RS485_Sele
ct”)
arp entry
inactivity timeoutDefault: 15 minutes
line authenticationenable, disableDefault: disable
quit connect lineAccepts text containing
cp (Attribute of an
instance is “3”)
stateenable, disableDefault: disable
cp (Attribute of an
instance is “2”)
stateenable, disableDefault: disable
stateenable, disableDefault: disable
stateenable, disableDefault: disable
XPort® Pro Lx6 Embedded Device Server Command Reference20
4: Configuration Using XML
Group Name
(continued)
cp group
(Attribute of an
instance is
“Line1_RS485_TxE
nable”)
cp group
(Attribute of an
instance is
“Line1_RTS_CTS”)
devicefirmware version7.5.0.0R20
diagnosticslogoutput
discoverystateenable, disable
dnsipv6 precedenceenable, disable
email (Attribute
of“instance” is a
number.)
ethernet
(Attribute of an
instance is “eth0”)
ftp serverstateenable, disableDefault: enable
Group ItemValue NameValue OptionsAdditional
Information
cp (Attribute of an
instance is “2”)
stateenable, disableDefault: disable
cp (Attribute of an
instance is “1)
cp (Attribute of an
instance is “3”)
stateenable, disableDefault: disable
long nameLantronix XPort Pro
serial number07110977T8OOR2
short nameXPort Pro Lx6
login password
cc
cpgroup
from
local port<None>, ...
message file
overriding domain
prioritynormal
reply to
server port25
subject
to
duplex
speed
assert low
bit
type
assert low
bit
type
assert low
bit
type
Lx6
max length
trigger value
XPort® Pro Lx6 Embedded Device Server Command Reference21
4: Configuration Using XML
Group Name
(continued)
http authentication
uri
http server
icmp
interface
(Attribute of an
instance is
“eth0”)
Group ItemValue NameValue OptionsAdditional
Information
realm
type
user deletename
user (Attribute of an
instance is “admin”)
authentication
timeout
log format
logging state
max bytes
max log entries
max timeout
port
state
statedisable, enableDefault: enable
state
bootp
default gateway
dhcp client id
password
dhcp
dhcpv6
domain
hostname
ip address
ipv6 address
ipv6 autoconf
ipv6 default gateway
mtu
primary dns
secondary dns
ip
ip time to live
multicast time to live
XPort® Pro Lx6 Embedded Device Server Command Reference22
4: Configuration Using XML
Group Name
(continued)
line
(Attribute of
“instance” is a
number.)
Group ItemValue NameValue OptionsAdditional
Information
name
interfacers232, rs485 half-
duplex, rs485 fullduplex, usb-cdc-acm
terminationenable, disableDefault: disable
stateenable, disableDefault: depends on
protocolnone, tunnelDefault:
baud rateDefault: 9600 bits per
parityeven, none, oddDefault: none
data bits7, 8Default: 8
stop bits1, 2Default: 1
flow controlnone, hardware,
software
xon charAccepts a control
xoff charAccepts a control
gap timer<None>, ...Default: <None>
thresholdDefault: 56 bytes
Default:
instance
second
Default: none
character, for example,
<control>A
represents control-A
Default: <control>Q
character, for example,
<control>A
represents control-A
Default: <control>S
XPort® Pro Lx6 Embedded Device Server Command Reference23
be entered at boot time
to enter command
mode. This text may
specify binary
characters. Within []
use binary decimal up
to 255 or hex up to
0xFF. Within {} specify
decimal milliseconds
time delay.
message that is sent
from the serial port
when the device boots
and when the line is in
command mode. This
text may specify binary
characters. Within []
use binary decimal up
to 255 or hex up to
0xFF.
milliseconds
Default: none
XPort® Pro Lx6 Embedded Device Server Command Reference24
4: Configuration Using XML
Group Name
(continued)
terminal
(Attribute of
“instance” is a
number or
“network”)
tunnel accept
(Attribute of
“instance” is a
number.)
Group ItemValue NameValue OptionsAdditional
Information
terminal typeDefault: UNKNOWN
login connect menuenable, disableDefault: disable
exit connect menuenable, disableDefault: disable
send breakAccepts a control
character, for example,
<control>A
represents control-A
break durationDefault: 500
milliseconds
echoenable, disableDefault: enable
accept modedisable, alwaysDefault: always
start characterAccepts a control
character, for example,
<control>A
represents control-A
Default: <control>B
character, for example,
<control>A
represents control-A
Default: <control> M
character, for example,
<control>A
represents control-A
Default: asserted while
connected
authentication URIs
before importing new
ones.
HTTP authentication
URI.
importing.
XPort® Pro Lx6 Embedded Device Server Command Reference27
4: Configuration Using XML
XML Status Record Groups and Items
Table 4-8lists the supported XML Status Record (XSR) groups and items. These groups and
items show the status of the device in XML form and can only be exported. The XSR schema
differs slightly from the XCR groups and items in that the XSR allows groups within groups.
Note:The Valid Values column of Table 4-8 indicates the default value.
Table 4-8 XSR Group and Items
Group NameItem NameValue NameValid Values
arparp entryip addressip address in format
nnn.nnn.nnn.nnn
mac addressmac address in format
xx:xx:xx:xx:xx:xx
typedynamic or static
interfaceeth0
deviceproduct infoproduct typeLantronix XPort Pro Lx6
serial number14 characters alpha-numeric
value
firmware versionstring in version format like
7.3.0.1R7
uptimeelapsed time in format d
days hh:mm:ss
permanent configsaved or unsaved
email (Attribute of
"instance" is "<decimal>")
email log (Attribute of
"instance" is "<decimal>")
hardwarecpuspeedstring
httpstate
http logtotalsentriesdecimal number
successsentdecimal number
sent with retriesdecimal number
faileddecimal number
queueddecimal number
entrytimetimestamp in format d days
hh:mm:ss
logstring
typestring
memoryflash sizedecimal number
ram sizedecimal number
bytesdecimal number
entry (Attribute of "instance"
is "<decimal>")
String
XPort® Pro Lx6 Embedded Device Server Command Reference28
4: Configuration Using XML
Group Name (continued) Item NameValue NameValid Values
icmpsnmpInMsgsdecimal number
InErrorsdecimal number
InDestUnreachsdecimal number
InTimeExcdsdecimal number
InParmProbsdecimal number
InSrcQuenchsdecimal number
InRedirectsdecimal number
InEchosdecimal number
InEchoRepsdecimal number
InTimestampsdecimal number
InTimestampRepsdecimal number
InAddrMasksdecimal number
InAddrMaskRepsdecimal number
OutMsgsdecimal number
OutErrorsdecimal number
OutDestUnreachsdecimal number
OutTimeExcdsdecimal number
OutParmProbsdecimal number
OutSrcQuenchsdecimal number
OutRedirectsdecimal number
OutEchosdecimal number
OutEchoRepsdecimal number
OutTimestampsdecimal number
OutTimestampRepsdecimal number
OutAddrMasksdecimal number
OutAddrMaskRepsdecimal number
XPort® Pro Lx6 Embedded Device Server Command Reference29
4: Configuration Using XML
Group Name (continued) Item NameValue NameValid Values
interface (Attribute of
"instance" is "eth0")
default gatewaydotted notation
ip addressdotted notation
ipv6 addressesip
source
ipv6 default gatewayip
source
genericstatuslinkup
network maskdotted notation
receivebytesdecimal number
packetsdecimal number
errsdecimal number
dropdecimal number
fifodecimal number
framedecimal number
compresseddecimal number
multicastdecimal number
transmitbytesdecimal number
packetsdecimal number
errsdecimal number
dropdecimal number
fifodecimal number
collsdecimal number
carrierdecimal number
compresseddecimal number
XPort® Pro Lx6 Embedded Device Server Command Reference30
4: Configuration Using XML
Group Name (continued) Item NameValue NameValid Values
ipsnmpForwardingdecimal number
DefaultTTLdecimal number
InReceivesdecimal number
InHdrErrorsdecimal number
InAddrErrorsdecimal number
ForwDatagramsdecimal number
InUnknownProtosdecimal number
InDiscardsdecimal number
InDeliversdecimal number
OutRequestsdecimal number
OutDiscardsdecimal number
OutNoRoutesdecimal number
ReasmTimeoutdecimal number
ReasmReqdsdecimal number
ReasmOKsdecimal number
ReasmFailsdecimal number
FragOKsdecimal number
FragFailsdecimal number
FragCreatesdecimal number
netstatInTruncatedPktsdecimal number
InMcastPktsdecimal number
OutMcastPktsdecimal number
InBcastPktsdecimal number
OutBcastPktsdecimal number
InNoRoutesdecimal number
ip socketsip socketprotocoltcp or udp
rx queuedecimal number
tx queuedecimal number
local addressip address in format
nnn.nnn.nnn.nnn
local portdecimal number
remote addressip address in format
nnn.nnn.nnn.nnn
remote portdecimal number or *
stateLISTEN, SYN_RECVD,
SYN_SENT,
ESTABLISHED,
CLOSE_WAIT, LAST_ACK,
FIN_WAIT_1, FIN_WAIT_2,
CLOSING, or TIME_WAIT.
XPort® Pro Lx6 Embedded Device Server Command Reference31
4: Configuration Using XML
Group Name (continued) Item NameValue NameValid Values
line (Attribute of "instance"
is "<decimal>")
line (group nested within
line above)
memorymain heaptotal memorydecimal number of bytes
processesprocess (Attribute of
receiverbytesdecimal number
breaksdecimal number
parity errorsdecimal number
framing errorsdecimal number
overrun errorsdecimal number
no receive buffer errorsdecimal number
queued bytesdecimal number
flow controlgo, stop, or n/a
transmitterbytesdecimal number
breaksdecimal number
queued bytesdecimal number
flow controlgo, stop, or n/a
line levelsctsasserted or not asserted
rtsasserted or not asserted
dsrasserted or not asserted
dtrasserted or not asserted
stateenable or disable
protocolTunnel or None.
baud rate<decimal> bits per second
parityNone, Odd, or Even
data bits7 or 8
stop bits1 or 2
flow controlNone, Hardware, or
Software
xon charof form
<control>
;Q
xoff charof form
<control>
;S
available memorydecimal number of bytes
stack useddecimal number
"instance" is "<decimal>")
stack sizedecimal number
cpu %decimal number
thread nameString
XPort® Pro Lx6 Embedded Device Server Command Reference32
4: Configuration Using XML
Group Name (continued) Item NameValue NameValid Values
query port
last connectionip addressip address in format
nnn.nnn.nnn.nnn
portdecimal number
indiscoveriesdecimal number
unknown queriesdecimal number
erroneous packetsdecimal number
outdiscovery repliesdecimal number
errorsdecimal number
status
sessionsline (Attribute of an instance
is a “number”)
baud
data bits
flow control
parity
stop bits
XPort® Pro Lx6 Embedded Device Server Command Reference33
4: Configuration Using XML
Group Name (continued) Item NameValue NameValid Values
tcpsnmpRtoAlgorithmdecimal number
RtoMindecimal number
RtoMaxdecimal number
MaxConndecimal number
ActiveOpensdecimal number
PassiveOpensdecimal number
AttemptFailsdecimal number
EstabResetsdecimal number
CurrEstabdecimal number
InSegsdecimal number
OutSegsdecimal number
RetransSegsdecimal number
InErrsdecimal number
OutRstsdecimal number
netstatSyncookiesSentdecimal number
SyncookiesRecvdecimal number
SyncookiesFaileddecimal number
EmbryonicRstsdecimal number
PruneCalleddecimal number
RcvPruneddecimal number
OfoPruneddecimal number
OutOfWindowIcmpsdecimal number
LockDroppedIcmpsdecimal number
ArpFilterdecimal number
TWdecimal number
TWRecycleddecimal number
TWKilleddecimal number
PAWSPassivedecimal number
PAWSActivedecimal number
PAWSEstabdecimal number
DelayedACKsdecimal number
DelayedACKLockeddecimal number
DelayedACKLostdecimal number
ListenOverflowsdecimal number
ListenDropsdecimal number
TCPPrequeueddecimal number
TCPDirectCopyFromBacklogdecimal number
TCPDirectCopyFromPrequeuedecimal number
TCPPrequeueDroppeddecimal number
TCPHPHitsdecimal number
XPort® Pro Lx6 Embedded Device Server Command Reference34
4: Configuration Using XML
Group Name (continued) Item NameValue NameValid Values
tcp (continued)netstat (continued)TCPHPHitsToUserdecimal number
TCPPureAcksdecimal number
TCPHPAcksdecimal number
TCPRenoRecoverydecimal number
TCPSackRecoverydecimal number
TCPSACKRenegingdecimal number
TCPFACKReorderdecimal number
TCPSACKReorderdecimal number
TCPRenoReorderdecimal number
TCPTSReorderdecimal number
TCPFullUndodecimal number
TCPPartialUndodecimal number
TCPDSACKUndodecimal number
TCPLossUndodecimal number
TCPLossdecimal number
TCPLostRetransmitdecimal number
TCPRenoFailuresdecimal number
TCPSackFailuresdecimal number
TCPLossFailuresdecimal number
TCPFastRetransdecimal number
TCPForwardRetransdecimal number
TCPSlowStartRetransdecimal number
TCPTimeoutsdecimal number
TCPRenoRecoveryFaildecimal number
TCPSackRecoveryFaildecimal number
TCPSchedulerFaileddecimal number
TCPRcvCollapseddecimal number
TCPDSACKOldSentdecimal number
TCPDSACKOfoSentdecimal number
TCPDSACKRecvdecimal number
TCPDSACKOfoRecvdecimal number
TCPAbortOnSyndecimal number
TCPAbortOnDatadecimal number
TCPAbortOnClosedecimal number
TCPAbortOnMemorydecimal number
TCPAbortOnTimeoutdecimal number
TCPAbortOnLingerdecimal number
TCPAbortFaileddecimal number
TCPMemoryPressuresdecimal number
TCPSACKDiscarddecimal number
TCPDSACKIgnoredOlddecimal number
TCPDSACKIgnoredNoUndo decimal number
XPort® Pro Lx6 Embedded Device Server Command Reference35
4: Configuration Using XML
Group Name (continued) Item NameValue NameValid Values
tcp (continued)netstat (continued)TCPSpuriousRTOsdecimal number
TCPMD5NotFounddecimal number
TCPMD5Unexpecteddecimal number
TCPSackShifteddecimal number
TCPSackMergeddecimal number
TCPSackShiftFallbackdecimal number
TCPBacklogDropdecimal number
TCPMinTTLDropdecimal number
TCPDeferAcceptDropdecimal number
IPReversePathFilterdecimal number
TCPTimeWaitOverflowdecimal number
tunnel
(Attribute of an “instance”
is a number.)
aggregatecompleted connectsdecimal number
completed acceptsdecimal number
disconnectsdecimal number
dropped connectsdecimal number
dropped acceptsdecimal number
octets from decimal number
octets from networkdecimal number
connect 0 connection timeelapsed time in format d
days hh:mm:ss
connect 1 connection timeelapsed time in format d
days hh:mm:ss
connect 2 connection timeelapsed time in format d
days hh:mm:ss
connect 3 connection timeelapsed time in format d
days hh:mm:ss
connect 4 connection timeelapsed time in format d
days hh:mm:ss
connect 5 connection timeelapsed time in format d
days hh:mm:ss
connect 6 connection timeelapsed time in format d
days hh:mm:ss
connect 7 connection timeelapsed time in format d
days hh:mm:ss
connect 8 connection timeelapsed time in format d
days hh:mm:ss
connect 9 connection timeelapsed time in format d
days hh:mm:ss
connect 10 connection time elapsed time in format d
days hh:mm:ss
connect 11 connection time elapsed time in format d
days hh:mm:ss
connect 12 connection time elapsed time in format d
days hh:mm:ss
XPort® Pro Lx6 Embedded Device Server Command Reference36
4: Configuration Using XML
Group Name (continued) Item NameValue NameValid Values
tunnel
(Attribute of an “instance”
is a number.)
(continued)
tunnel modemecho commands
udpsnmpInDatagramsdecimal number
xsroutbytesdecimal number
aggregate (continued)connect 13 connection time elapsed time in format d
days hh:mm:ss
connect 14 connection time elapsed time in format d
days hh:mm:ss
connect 15 connection time elapsed time in format d
days hh:mm:ss
accept connection timeelapsed time in format d
days hh:mm:ss
connect dns address
changes
connect dns address
invalids
echo commands
verbose response
response type
error unknown commands
incoming connection
verbose response
response type
error unknown commands
incoming connection
NoPortsdecimal number
InErrorsdecimal number
OutDatagramsdecimal number
RcvbufErrorsdecimal number
SndbufErrorsdecimal number
linesdecimal number
elementsdecimal number
errorsdecimal number
decimal number
decimal number
XPort® Pro Lx6 Embedded Device Server Command Reference37
5: Commands and Levels
Click the level in the tree structure and it will take you to the command list for that level.
root
•enable (enable)
•configure (config)
•arp (config-arp)
•cli (config-cli)
•telnet (config-cli-telnet)
•diagnostics (config-diagnostics)
•log (config-diagnostics-log)
•discovery (config-discovery)
•ftp (config-ftp)
•http (config-http)
•icmp (config-icmp)
•icmpv6 (config-icmpv6)
•if 1 (config-if:eth0)
•link (config-ethernet:eth0)
•ip (config-ip)
•smtp (config-smtp)
•syslog (config-syslog)
•terminal 1 (config-terminal:1)
•terminal network (config-terminal:network)
•cpm (cpm)
•device (device)
•dns (dns)
•email 1 (email:1)
•cp (email-cp:1)
•email 2 (email:2)
•cp (email-cp:2)
•email 3 (email:3)
•cp (email-cp:3)
•email 4 (email:4)
•cp (email-cp:4)
•filesystem (filesystem)
•line 1 (line:1)
•tunnel 1 (tunnel:1)
•accept (tunnel-accept:1)
•cp output (tunnel-accept-cp_output:1)
•password (tunnel-accept-password:1)
•connect (tunnel-connect:1)
•cp output (tunnel-connect-cp_output:1)
•host 1 (tunnel-connect-host:1:1)
•host 2 (tunnel-connect-host:1:2)
•host 3 (tunnel-connect-host:1:3)
•host 4 (tunnel-connect-host:1:4)
•host 5 (tunnel-connect-host:1:5)
•host 6 (tunnel-connect-host:1:6)
•host 7 (tunnel-connect-host:1:7)
•host 8 (tunnel-connect-host:1:8)
•host 9 (tunnel-connect-host:1:9)
5: Commandsand Levels
XPort® Pro Lx6 Embedded Device Server Command Reference 38
•disconnect (tunnel-disconnect:1)
accept (tunnel-accept:1) level commands
accept mode always
Enables the tunneling server to always accept tunneling
connections.
accept mode any character
Enables the tunneling server to accept tunneling connec-
al port).
accept mode disable
Disables accept mode tunneling.
accept mode modem control asserted
Enables the tunneling server to accept tunneling conneccontrol pin is asserted.
accept mode modem emulation
Enables modem emulation for accept mode tunnel ing.
accept mode start character
Enables accept mode tunneling when the configured start
is received on the line.
aes decrypt key <hexadecimal>
Sets the accept tunnel AES decrypt key with up to 16
spaces.
aes decrypt key text <text>
Sets the accept tunnel AES decrypt key with up to 16
spaces.
aes encrypt key <hexadecimal>
Sets the accept tunnel AES encrypt key with up to 16
spaces.
aes encrypt key text <text>
Sets the accept tunnel AES encrypt key with up to 16
bytes.
•modem (tunnel-modem:1)
•packing (tunnel-packing:1)
•serial (tunnel-serial:1)
•xml (xml)
•host 10 (tunnel-connect-host:1:10)
•host 11 (tunnel-connect-host:1:11)
•host 12 (tunnel-connect-host:1:12)
•host 13 (tunnel-connect-host:1:13)
•host 14 (tunnel-connect-host:1:14)
•host 15 (tunnel-connect-host:1:15)
•host 16 (tunnel-connect-host:1:16)
T
able 5-1 Commands and Levels
tions only when a
character is received through the corresponding line (seri-
5: Commands and Leve ls
tions when the modem
character
bytes.
Each byte is represented by two adjacent hex digits.
Bytes may run together or be separated by optional punctuation:
123ABC "12 3A BC" 12,3A,BC 12.3a.bc 12:3a:bc
Note that quotes must enclose the value if it contains
bytes.
Each byte is represented by a single character.
Note that quotes must enclose the value if it contains
bytes.
Each byte is represented by two adjacent hex digits.
Bytes may run together or be separated by optional punctuation:
123ABC "12 3A BC" 12,3A,BC 12.3a.bc 12:3a:bc
Note that quotes must enclose the value if it contains
XPort® Pro Lx6 Embedded Device Server Command Reference 39
5: Commands and Leve ls
Each byte is represented by a single character.
spaces.
block network disable
Forwards (tunnels) network data in accept mode tunneling.
block network enable
Discards all data coming in from the accept mode tunnel
it to the serial interface (generally used for debugging).
block serial disable
Restores the default priority for the interface.
block serial enable
Sets the priority for interface.
<number> = priority number.
clrscrn
Clears the screen.
cp output
Enters the next lower level.
default accept mode
Restores the default accept mode as "always".
default local port
Uses the default port number as the local port for accept
for this tunnel.
default protocol
Restores the default protocol as "TCP".
default start character
Defaults the accept mode start character.
default tcp keep alive
Restores the default 45 second accept mode TCP keep
alive timeout.
email connect <number>
Sets an email profile to use to send an email alert upon
<number> = the number of the email profile to use.
email disconnect <number>
Sets an email profile to use to send an email alert upon
<number> = the number of the email profile to use.
exit
Returns to the tunnel level.
flush serial disable
Characters already in the serial data buffer are retained
an accept mode tunneling connection.
flush serial enable
Flushes the serial data buffer upon establish ing an acc ept
connection.
flush start character disable
Enables forwarding of the accept start character into the
network.
flush start character enable
Disables forwarding of the accept start character into the
network.
kill connection
Disconnects the active accept mode tunneling connec tion .
local port <number>
Sets the port to use for accept mode tunneling.
<number> = number of the port to use.
no aes decrypt key
Removes the accept tunnel AES decrypt key.
no aes encrypt key
Removes the accept tunnel AES encrypt key.
no email connect
Discontinues sending email alerts upon establishing an
accept mode tunnel.
no email disconnect
Discontinues sending email alerts upon closing an accept
mode tunnel.
no tcp keep alive
Disables the accept mode TCP keep alive timeout.
Note that quotes must enclose the value if it contains
before forwarding
mode tunneling.
The default port is 10000 + #, where # is the line number
establishing
an accept mode tunnel.
closing
an accept mode tunnel.
upon establishing
mode tunneling
XPort® Pro Lx6 Embedded Device Server Command Reference 40
5: Commands and Leve ls
password
Enters the next lower level.
protocol tcp
Uses TCP protocol for accept mode tunneling.
protocol tcp aes
Uses TCP protocol with AES encryption for accept mode
tunneling.
protocol telnet
Uses Telnet protocol (with IAC) for accept mode tunneling.
show
Displays the current configuration.
show history
Displays the last 20 commands entered during the current
CLI session.
show status
Displays tunnel accept status.
start character <control>
Sets the accept mode start character.
A hex value character has the form 0xFF.
tcp keep alive <milliseconds>
Enables TCP keep alive for accept mode tunneling and
<milliseconds> = timer value, in milliseconds.
write
Stores the current configuration in permanent memory.
arp (config-arp) level commands
add <IP address><MAC address>
Adds an entry to the ARP table, mapping an IP addr e ss to
<mac address> = MAC address in colon-separated form.
clrscrn
Clears the screen.
exit
Exits to the configuration level.
remove all
Removes all entries from the ARP cache.
remove ip <IP address>
Removes an entry from the ARP cache.
<ip address> = address of the entry being removed.
show cache
Displays the ARP cache table.
show history
Displays the last 20 commands entered during the current
CLI session.
write
Stores the current configuration in permanent memory.
cli (config-cli) level commands
clrscrn
Clears the screen.
default inactivity timeout
The default inactivity timeout will apply to CLI sessions.
default login password
Restores the default CLI login password.
default quit connect line
Restores the default string to quit the "connect line",
"telnet", and "ssh" commands.
enable level password <text>
Sets the enable-level password.
exit
Exits to the configuration level.
inactivity timeout <minutes>
Sets the inactivity ti meou t for a ll CLI sessi ons .
line authentication disable
No password required for Line CLI users.
line authentication enable
Challenges the Line CLI user with a password.
login password <text>
Sets the CLI login password.
no enable level password
Removes the enable-level password.
no inactivity timeout
No inactivity timeout will apply to CLI sessions.
The character may be input as text, control, decimal, or
hex.
A control character has the form <control>C.
A decimal value character has the form \99.
sets the timer.
a MAC address.
<ip address> = IP address to be mapped.
XPort® Pro Lx6 Embedded Device Server Command Reference 41
5: Commands and Leve ls
quit connect line <control>
Sets the string used to quit the "connect line", "telnet", and
A control character has the form <control>C.
show
Displays the current configuration.
show history
Displays the last 20 commands entered during the current
CLI session.
telnet
Change to menu level for Telnet configuration and stat us.
write
Stores the current configuration in permanent memory.
configure (config) level commands
arp
Changes to the command level for ARP configuration and
status.
cli
Change to menu level for CLI configuration and stat u s
clrscrn
Clears the screen.
diagnostics
Enters the diagnostics level.
discovery
Enters the discovery level.
exit
Exits to the enable level.
ftp
Enters the ftp level.
http
Enters the http level.
icmp
Changes to the command level for ICMP configuration
and status.
icmpv6
Changes to the command level for ICMPv6 configuration
and status.
if <instance>
Changes to the interface configuration level.
ip
Changes to the command level for IP configuration and
status.
kill telnet <session>
Kills Telnet session with index from "show sessions"
show
Displays system information.
show history
Displays the last 20 commands entered during the current
CLI session.
smtp
Changes to the command level for SMTP configuration
and status.
syslog
Enters the syslog level.
terminal <line>
Enters the configure-terminal level.
configured.
terminal network
Enters the configure-terminal level for the network.
write
Stores the current configuration in permanent memory.
connect (tunnel-connect:1) level commands
block network disable
Forwards (tunnels) network data in connect mode tunneling.
block network enable
Discards all data coming in from the connect mode tunnel
it to the serial interface (generally used for debugging).
block serial disable
Forwards (tunnels) serial data in connect mode tunneling.
block serial enable
Discards all data coming in from the serial interface before
ging).
"ssh" commands.
The characters may be input as text or control.
XPort® Pro Lx6 Embedded Device Server Command Reference 42
<line> = number of the terminal line (serial port) to be
before forwarding
forwarding
it to the connect mode tunnel (generally used for debug-
5: Commands and Leve ls
clrscrn
Clears the screen.
connect mode always
Enables the tunneling server to always establish tunneling
connections.
connect mode any character
Enables the tunneling server to establish a tunneling con-
port).
connect mode disable
Disables connect mode tunneling.
connect mode modem control asserted
Enables the tunneling server to make tunneling conneccontrol pin is asserted.
connect mode modem emulation
Enables modem emulation for connect mode tu nne lin g.
connect mode start character
Enables connect mode tunneling when the configured
is received on the line.
cp output
Enters the next lower level.
default connect mode
Restores the default connect mode as "disable".
default host mode
Connects to the first host in the list that accepts the connection.
default local port
Uses a random port number as the local port for establishconnections to other devices.
default reconnect time
Restores the default reconnect time value for connect
mode tunneling.
default start character
Defaults the connect mode start character.
email connect <number>
Sets an email profile to use to send an email alert upon
<number> = the number of the email profile to use.
email disconnect <number>
Sets an email profile to use to send an email alert upon
<number> = the number of the email profile to use.
exit
Returns to the tunnel level.
flush serial disable
Characters already in the serial data buffer are retained
a connect mode tunneling connection.
flush serial enable
Flushes the serial data buffer upon establish ing a conne ct
connection.
flush start character disable
Enables forwarding of the connect start character into the
network.
flush start character enable
Disables forwarding of the connect start char a cter into the
network.
host <instance>
Enters the next lower level.
Specify the instance for the next lower level.
host mode sequential
Connects to the first host in the list that accepts the connection.
host mode simultaneous
Selects simultaneous connections to all hosts on the host
list.
kill connection
Disconnects the active connect mode tunneling connection or connections.
nection when a
character is received on the corresponding line (serial
tions when the modem
start character
ing tunneling
establishing
a connect mode tunnel.
closing
a connect mode tunnel.
upon establishing
mode tunneling
XPort® Pro Lx6 Embedded Device Server Command Reference 43
5: Commands and Leve ls
local port <number>
Sets a specific port for use as the local port.
<number> = the number of the port to use.
no email connect
Discontinues sending email alerts upon establishing a
connect mode tunnel.
no email disconnect
Discontinues sending email alerts upon closing a connect
mode tunnel.
promote host <number>
Promotes the identified host, exchanging it place with the
to adjust the order of the defined hosts.
reconnect time <milliseconds>
Sets the reconnect time value for tunneling connections
<milliseconds> = timeout in millise co nds.
show
Displays the current configuration.
show history
Displays the last 20 commands entered during the current
CLI session.
show status
Displays tunnel connect status.
start character <control>
Sets the connect mode start character.
A hex value character has the form 0xFF.
write
Stores the current configuration in permanent memory.
cp (email-cp:4) level commands
clrscrn
Clears the screen.
exit
Exits to the next higher level.
group <text>
Specify a CP group that shall trigger an email.
<text> = configurable pin group.
no group
Disables the trigger to send an email.
no trigger value
Clears the value that shall trigger an email.
show
Shows the current configuration.
show history
Displays the last 20 commands entered during the current
CLI session.
trigger value <number>
Specify a value of the CP group that shall trigger an email.
hex if prepended with “0x”.
write
Stores the current configuration in permanent memory.
cp (email-cp:3) level commands
clrscrn
Clears the screen.
exit
Exits to the next higher level.
group <text>
Specify a CP group that shall trigger an email.
<text> = configurable pin group.
no group
Disables the trigger to send an email.
no trigger value
Clears the value that shall trigger an email.
show
Shows the current configuration.
show history
Displays the last 20 commands entered during the current
CLI session.
trigger value <number>
Specify a value of the CP group that shall trigger an email.
host above it,
established by the
device in milliseconds.
The character may be input as text, control, decimal, or
hex.
A control character has the form <control>C.
A decimal value character has the form \99.
XPort® Pro Lx6 Embedded Device Server Command Reference 44
<number> = numeric value to watch for from the CP
group. Can be specified as
5: Commands and Leve ls
<number> = numeric value to watch for from the CP
hex if prepended with “0x”.
write
Stores the current configuration in permanent memory.
cp (email-cp:2) level commands
clrscrn
Clears the screen.
exit
Exits to the next higher level.
group <text>
Specify a CP group that shall trigger an email.
<text> = configurable pin group.
no group
Disables the trigger to send an email.
no trigger value
Clears the value that shall trigger an email.
show
Shows the current configuration.
show history
Displays the last 20 commands entered during the current
CLI session.
trigger value <number>
Specify a value of the CP group that shall trigger an email.
hex if prepended with “0x”.
write
Stores the current configuration in permanent memory.
cp (email-cp:1) level commands
clrscrn
Clears the screen.
exit
Exits to the next higher level.
group <text>
Specify a CP group that shall trigger an email.
<text> = configurable pin group.
no group
Disables the trigger to send an email.
no trigger value
Clears the value that shall trigger an email.
show
Shows the current configuration.
show history
Displays the last 20 commands entered during the current
CLI session.
trigger value <number>
Specify a value of the CP group that shall trigger an email.
hex if prepended with “0x”.
write
Stores the current configuration in permanent memory.
Sets the value to output to the CP Group upon accept
mode connection.
<number> = binary to output (typically 1 or 0).
default connection value
Restores the default value for accept mode connection.
default disconnection value
Restores the default value for accept mode disconnection.
disconnection value <number>
Sets the value to output to the CP Group upon accept
<number> = binary to output (typically 1 or 0).
exit
Exits to the next higher level.
group <text>
Configures the CP Group to set upon making or breaking
<text> = CP Group.
no group
Removes the CP Set Group for accept mode.
show
Shows the current configuration.
show history
Displays the last 20 commands entered during the current
CLI session.
write
Stores the current configuration in permanent memory.
cpm (cpm) level commands
add <cp> to <group>
Adds the specified CP to the specified group.
add the CP.
add <cp> to <group><bit>
Adds a specified CP to a specified group at a specified bit
<bit> = bit position.
clrscrn
Clears the screen.
create <group>
Creates a configurable pin (CP) group.
<group> = the name for the new group.
delete <cp> from <group>
Removes a CP from a specified group and sets the CP to
<group> = the name of the group.
delete <group>
Removes a group and resets all CPs in that group to the
<group> = the name of the group.
disable <group>
Disables the specified group.
<group> = the name of the group.
mode disconnection.
an accept
mode connection.
5: Commands and Leve ls
XPort® Pro Lx6 Embedded Device Server Command Reference 46
<cp> = configurable pin.
<group> = the name of the group to which you want to
position.
<cp> = configurable pin.
<group> = the name of the group to which you want to
add the CP.
its default
configuration of input.
<cp> = configurable pin.
default
configuration of input.
5: Commands and Leve ls
enable <group>
Enables a disabled group.
<group> = the name of the group.
exit
Exits to the enable level.
get <group>
Displays the value of the specified group.
<group> = the name of the group.
set <cp> as input
Configures a CP as an asserted high input.
<cp> = configurable pin.
set <cp> as input assert low
Configures a CP as an asserted low input.
<cp> = configurable pin.
set <cp> as output
Configures a CP as an asserted high output.
<cp> = configurable pin.
set <cp> as output assert low
Configures a CP as an asserted low output.
<cp> = configurable pin.
set <group><value>
Assigns a value to the specified group.
if prepended with “0x”.
show <group>
Displays group information for specified group.
<group> = the name of the group.
show cp
Displays configuration and group information for all CPs.
show groups
Displays all groups defined and their state.
show history
Displays the last 20 commands entered during the current
CLI session.
write
Stores the current configuration in permanent memory.
device (device) level commands
auto show tlog
Continuously displays the internal trouble log.
clrscrn
Clears the screen.
exit
Exit to the enable level.
show
Show system information
show hardware information
Displays information about the hardware.
show history
Displays the last 20 commands entered during the current
CLI session.
show memory
Displays current memory usage information.
show task state
Displays current task states.
show tlog
Displays the internal trouble log.
write
Stores the current configuration in permanent memory.
diagnostics (config-diagnostics) level commands
clrscrn
Clears the screen.
exit
Returns to the config level.
log
Enters the next lower level.
show
Displays the current configuration.
show history
Displays the last 20 commands entered during the current
CLI session.
write
Stores the current configuration in permanent memory.
disconnect (tunnel-disconnect:1) level commands
clrscrn
Clears the screen.
exit
Returns to the tunnel level.
<group> = the name of the group.
<value> = numeric value to assign to the CP group. Can
be specified as hex
XPort® Pro Lx6 Embedded Device Server Command Reference 47
5: Commands and Leve ls
flush serial disable
Does not flush serial data upon closing a tunneling connection.
flush serial enable
Flushes serial data buffer when a tunneling connection is
closed.
flush stop character disable
Forwards the stop character from the Line to the network.
flush stop character enable
Prevents the stop character from the Line from being forwarded to the network.
modem control disable
Does not watch the modem control pin to disconnect.
modem control enable
Watches the modem control pin and disconnects if it is not
asserted.
no stop character
Removes the stop character.
no timeout
Disables disconnect after timeout feature for tunneling
sessions.
show
Displays the current configuration.
show history
Displays the last 20 commands entered during the current
CLI session.
stop character <control>
Sets the stop character.
A hex value character has the form 0xFF.
timeout <milliseconds>
Disconnects when no data has been received on the line
<milliseconds> = timeout in millise co nds.
write
Stores the current configuration in permanent memory.
discovery (config-discovery) level commands
clear counters
Zeros Query Port counters
clrscrn
Clears the screen.
exit
Returns to the config level.
no clear counters
Unzeros Query Port counters
show
Displays the current configuration.
show history
Displays the last 20 commands entered during the current
CLI session.
show statistics
Displays statistics and informat ion abou t the discov ery
services.
state disable
Disables the Query Port server.
state enable
Enables the Query Port server.
write
Stores the current configuration in permanent memory.
dns (dns) level commands
clrscrn
Clears the screen.
exit
Exits to the enable level.
ipv6 precedence disable
Disables IPv6 DNS record precedence.
ipv6 precedence enable
Enables IPv6 DNS record precedence.
lookup <host_or_ip>
Return a lookup on the DNS name or IP address.
show
Displays the current configuration.
show history
Displays the last 20 commands entered during the current
The character may be input as text, control, decimal, or
hex.
A control character has the form <control>C.
A decimal value character has the form \99.
(serial port) for the
specified length of time.
XPort® Pro Lx6 Embedded Device Server Command Reference 48
5: Commands and Leve ls
CLI session.
show status
Show DNS status.
write
Stores the current configuration in permanent memory.
email 1 (email:1) level commands
auto show statistics
Continuously displays email statistics.
cc <text>
Sets Cc addresses for email alerts.
dresses.
clear log
Clears all entries from the mail log.
clear mail counters
Sets the email counters to zero.
clrscrn
Clears the screen.
cp
Enters the next lower level.
default local port
Sets the local port (used to send email alerts) to random.
default priority
Sets X-Priority for email alerts to 3 (normal).
default server port
Restores the factory default port for SMTP on the server
side.
email <number>
Enters the configure email level.
exit
Exits to the enable level.
from <text>
Sets the From address for email alerts.
email alert.
local port <number>
Sets the local port used to send email alerts.
<number> local port to use for email alerts.
message file <text>
Specifies a text file, the contents of which will be the mes-
<text> = the name of a local file.
no cc
Removes the Cc addresses for email alerts.
no clear mail counters
Restores the email counters to the aggregate values.
no from
Removes the From address for email alerts.
no message file
Removes the file name, so the message body will be
empty.
no overriding domain
Removes the overriding domain name option.
no reply to
Removes the Reply To address for email alerts.
no subject
Removes subject used for email alerts.
no to
Removes the To addresses for email alerts.
overriding domain <text>
Sets a domain name that will be used when connecting to
name in EHLO.
priority high
Sets X-Priority for email alerts to 2 (high).
priority low
Sets X-Priority for email alerts to 4 (low).
priority normal
Sets X-Priority for email alerts to 3 (normal).
priority urgent
Sets X-Priority for email alerts to 1 (urgent).
priority very low
Sets X-Priority for email alerts to 5 (very low).
reply to <text>
Sets the Reply To address for email alerts.
<text> = a quoted, semicolon separated list of email ad-
<text> = email address to place in the From field of the
sage body
of an email alert.
an SMTP server to
send an email alert instead of the device’s domain name
in EHLO.
<text> = domain name to override the current domain
XPort® Pro Lx6 Embedded Device Server Command Reference 49
5: Commands and Leve ls
<text> = email address to place in the Reply To field of
the email alert.
send
Sends an email using the current settings.
server port <number>
Sets the port used by the SMTP server.
<number> = port used for SMTP on the server side.
show
Displays the current configuration.
show history
Displays the last 20 commands entered during the current
CLI session.
show log
Displays the email log.
show statistics
Displays email statistics.
subject <text>
Sets the Subject for email alerts.
<text> = text to placed as the subject.
to <text>
Sets To addresses for email alerts.
dresses.
write
Stores the current configuration in permanent memory.
email 2 (email:2) level commands
auto show statistics
Continuously displays email statistics.
cc <text>
Sets Cc addresses for email alerts.
dresses.
clear log
Clears all entries from the mail log.
clear mail counters
Sets the email counters to zero.
clrscrn
Clears the screen.
cp
Enters the next lower level.
default local port
Sets the local port (used to send email alerts) to random.
default priority
Sets X-Priority for email alerts to 3 (normal).
default server port
Restores the factory default port for SMTP on the server
side.
email <number>
Enters the configure email level.
exit
Exits to the enable level.
from <text>
Sets the From address for email alerts.
email alert.
local port <number>
Sets the local port used to send email alerts.
<number> local port to use for email alerts.
message file <text>
Specifies a text file, the contents of which will be the mes-
<text> = the name of a local file.
no cc
Removes the Cc addresses for email alerts.
no clear mail counters
Restores the email counters to the aggregate values.
no from
Removes the From address for email alerts.
no message file
Removes the file name, so the message body will be
empty.
no overriding domain
Removes the overriding domain name option.
no reply to
Removes the Reply To address for email alerts.
no subject
Removes subject used for email alerts.
<text> = a quoted, semicolon separated list of email ad-
<text> = a quoted, semicolon separated list of email ad-
XPort® Pro Lx6 Embedded Device Server Command Reference 50
<text> = email address to place in the From field of the
sage body
of an email alert.
5: Commands and Leve ls
no to
Removes the To addresses for email alerts.
overriding domain <text>
Sets a domain name that will be used when connecting to
name in EHLO.
priority high
Sets X-Priority for email alerts to 2 (high).
priority low
Sets X-Priority for email alerts to 4 (low).
priority normal
Sets X-Priority for email alerts to 3 (normal).
priority urgent
Sets X-Priority for email alerts to 1 (urgent).
priority very low
Sets X-Priority for email alerts to 5 (very low).
reply to <text>
Sets the Reply To address for email alerts.
the email alert.
send
Sends an email using the current settings.
server port <number>
Sets the port used by the SMTP server.
<number> = port used for SMTP on the server side.
show
Displays the current configuration.
show history
Displays the last 20 commands entered during the current
CLI session.
show log
Displays the email log.
show statistics
Displays email statistics.
subject <text>
Sets the Subject for email alerts.
<text> = text to placed as the subject.
to <text>
Sets To addresses for email alerts.
dresses.
write
Stores the current configuration in perm anen t memory .
email 3 (email:3) level commands
auto show statistics
Continuously displays email statistics.
cc <text>
Sets Cc addresses for email alerts.
dresses.
clear log
Clears all entries from the mail log.
clear mail counters
Sets the email counters to zero.
clrscrn
Clears the screen.
cp
Enters the next lower level.
default local port
Sets the local port (used to send email alerts) to random.
default priority
Sets X-Priority for email alerts to 3 (normal).
default server port
Restores the factory default port for SMTP on the server
side.
email <number>
Enters the configure email level.
exit
Exits to the enable level.
from <text>
Sets the From address for email alerts.
email alert.
local port <number>
Sets the local port used to send email alerts.
<number> local port to use for email alerts.
an SMTP server to
send an email alert instead of the device’s domain name
in EHLO.
<text> = domain name to override the current domain
<text> = email address to place in the Reply To field of
<text> = a quoted, semicolon separated list of email ad-
<text> = a quoted, semicolon separated list of email ad-
<text> = email address to place in the From field of the
XPort® Pro Lx6 Embedded Device Server Command Reference 51
5: Commands and Leve ls
message file <text>
Specifies a text file, the contents of which will be the mes-
<text> = the name of a local file.
no cc
Removes the Cc addresses for email alerts.
no clear mail counters
Restores the email counters to the aggregate values.
no from
Removes the From address for email alerts.
no message file
Removes the file name, so the message body will be
empty.
no overriding domain
Removes the overriding domain name option.
no reply to
Removes the Reply To address for email alerts.
no subject
Removes subject used for email alerts.
no to
Removes the To addresses for email alerts.
overriding domain <text>
Sets a domain name that will be used when connecting to
name in EHLO.
priority high
Sets X-Priority for email alerts to 2 (high).
priority low
Sets X-Priority for email alerts to 4 (low).
priority normal
Sets X-Priority for email alerts to 3 (normal).
priority urgent
Sets X-Priority for email alerts to 1 (urgent).
priority very low
Sets X-Priority for email alerts to 5 (very low).
reply to <text>
Sets the Reply To address for email alerts.
the email alert.
send
Sends an email using the current settings.
server port <number>
Sets the port used by the SMTP server.
<number> = port used for SMTP on the server side.
show
Displays the current configuration.
show history
Displays the last 20 commands entered during the current
CLI session.
show log
Displays the email log.
show statistics
Displays email statistics.
subject <text>
Sets the Subject for email alerts.
<text> = text to placed as the subject.
to <text>
Sets To addresses for email alerts.
dresses.
write
Stores the current configuration in permanent memory.
email 4 (email:4) level commands
auto show statistics
Continuously displays email statistics.
cc <text>
Sets Cc addresses for email alerts.
dresses.
clear log
Clears all entries from the mail log.
clear mail counters
Sets the email counters to zero.
clrscrn
Clears the screen.
sage body
of an email alert.
an SMTP server to
send an email alert instead of the device’s domain name
in EHLO.
<text> = domain name to override the current domain
<text> = email address to place in the Reply To field of
<text> = a quoted, semicolon separated list of email ad-
<text> = a quoted, semicolon separated list of email ad-
XPort® Pro Lx6 Embedded Device Server Command Reference 52
5: Commands and Leve ls
cp
Enters the next lower level.
default local port
Sets the local port (used to send email alerts) to random.
default priority
Sets X-Priority for email alerts to 3 (normal).
default server port
Restores the factory default port for SMTP on the server
side.
email <number>
Enters the configure email level.
exit
Exits to the enable level.
from <text>
Sets the From address for email alerts.
email alert.
local port <number>
Sets the local port used to send email alerts.
<number> local port to use for email alerts.
message file <text>
Specifies a text file, the contents of which will be the mes-
<text> = the name of a local file.
no cc
Removes the Cc addresses for email alerts.
no clear mail counters
Restores the email counters to the aggregate values.
no from
Removes the From address for email alerts.
no message file
Removes the file name, so the message body will be
empty.
no overriding domain
Removes the overriding domain name option.
no reply to
Removes the Reply To address for email alerts.
no subject
Removes subject used for email alerts.
no to
Removes the To addresses for email alerts.
overriding domain <text>
Sets a domain name that will be used when connecting to
name in EHLO.
priority high
Sets X-Priority for email alerts to 2 (high).
priority low
Sets X-Priority for email alerts to 4 (low).
priority normal
Sets X-Priority for email alerts to 3 (normal).
priority urgent
Sets X-Priority for email alerts to 1 (urgent).
priority very low
Sets X-Priority for email alerts to 5 (very low).
reply to <text>
Sets the Reply To address for email alerts.
the email alert.
send
Sends an email using the current settings.
server port <number>
Sets the port used by the SMTP server.
<number> = port used for SMTP on the server side.
show
Displays the current configuration.
show history
Displays the last 20 commands entered during the current
CLI session.
show log
Displays the email log.
show statistics
Displays email statistics.
subject <text>
Sets the Subject for email alerts.
<text> = text to placed as the subject.
<text> = email address to place in the From field of the
sage body
of an email alert.
an SMTP server to
send an email alert instead of the device’s domain name
in EHLO.
<text> = domain name to override the current domain
<text> = email address to place in the Reply To field of
XPort® Pro Lx6 Embedded Device Server Command Reference 53
5: Commands and Leve ls
to <text>
Sets To addresses for email alerts.
dresses.
write
Stores the current configuration in permanent memory.
enable (enable) level commands
auto show interfaces
Show interface statistics
auto show processes
Continuously show thread runtime information
clrscrn
Clears the screen.
configure
Enters the configuration level.
connect
Show name and number for lines.
connect line <line>
Begin session on serial port.
cpm
Enters the CP Manager level.
device
Enters the device level.
disable
Exits the enable level.
dns
Enters the DNS level.
email <number>
Enters the configure email level.
exit
Exit from the system
filesystem
Enters the filesystem level.
iperf <params>
Run iperf with command line parameters passed in quoted string.
kill telnet <session>
Kills Telnet session with index from "show sessions"
line <line>
Enters the line level.
<line> = number of the line (serial port) to be configured.
ping <host>
Ping destination continuously with 5 second timeout
ping <host><count>
Ping destination n times with 5 second timeout
ping <host><count><timeout>
Ping destination n times with x timeout (in seconds)
ping6 <host>
Ping IPv6 destination continuously with 5 second timeout
ping6 <host><count>
Ping IPv6 destination n times with 5 second timeout
ping6 <host><count><timeout>
Ping IPv6 destination n times with x timeout (in seconds)
reload
Reboot system
reload factory defaults
Reload factory defaults to permanent storage
show
Show system information
show history
Displays the last 20 commands entered during the current
CLI session.
show interfaces
Show interface statistics
show ip sockets
Show UDP/TCP state information
show processes
Show thread runtime information
show sessions
Show active Telnet Sessions
telnet <host>
Begin telnet session on network <host>.
telnet <host><port>
Begin telnet session on network <host>:<port>.
trace route <host>
Trace route to destination
trace route <host><protocol>
Trace route to destination using TCP, ICMP, or UDP
tunnel <line>
Enters the tunnel level.
figured.
<text> = a quoted, semicolon separated list of email ad-
XPort® Pro Lx6 Embedded Device Server Command Reference 54
<line> = number of the tunnel line (serial port) to be con-
5: Commands and Leve ls
write
Stores the current configuration in permanent memory.
xml
Enters the XML level.
filesystem (filesystem) level commands
cat <file>
Show the contents of a file
cd <directory>
Change the current directory to the specified dir e ctory
clrscrn
Clears the screen.
cp <source file><destination file>
Copy an existing file
dump <file>
Show contents of a file as a hex dump
exit
Exits to the enable level.
format
Format the file system and lose all data
ls
Show all files and directories in the current directory
ls <directory>
Show all files and directories in the specified dire ctory
mkdir <directory>
Create a directory
mv <source file><destination file>
Move a file on the file system
pwd
Print working directory
rm <file>
Remove a file
rmdir <directory>
Remove a directory
show
Show file system statistics
show history
Displays the last 20 commands entered during the current
CLI session.
show tree
Show all files and directories from current directory
tftp get <source file><destination file> <host>
Get a file using TFTP
tftp get <source file><destination file> <host> <port>
Get a file using TFTP
tftp put <source file><destination file> <host>
Put a file using TFTP
tftp put <source file><destination file> <host> <port>
Put a file using TFTP
touch <file>
Create a file
ftp (config-ftp) level commands
clrscrn
Clears the screen.
exit
Returns to the config level.
show
Displays the current configuration.
show history
Displays the last 20 commands entered during the current
CLI session.
show statistics
Displays the FTP statistics.
state disable
Disables the FTP server.
state enable
Enables the FTP server.
write
Stores the current configuration in permanent memory.
host 1 (tunnel-connect-host:1:1) level commands
address <text>
Sets the remote host to establish tunneling connections
<text> = IP address or host name of the remote host.
aes decrypt key <hexadecimal>
Sets the connect tunnel AES decrypt key with up to 16
123ABC "12 3A BC" 12,3A,BC 12.3a.bc 12:3a:bc
XPort® Pro Lx6 Embedded Device Server Command Reference 55
with.
bytes.
Each byte is represented by two adjacent hex digits.
Bytes may run together or be separated by optional punctuation:
5: Commands and Leve ls
Note that quotes must enclose the value if it contains
spaces.
aes decrypt key text <text>
Sets the connect tunnel AES decrypt key with up to 16
spaces.
aes encrypt key <hexadecimal>
Sets the connect tunnel AES encrypt key with up to 16
spaces.
aes encrypt key text <text>
Sets the connect tunnel AES encrypt key with up to 16
spaces.
auto show statistics
show connection statistics
clrscrn
Clears the screen.
default protocol
Restores the default protocol as "TCP".
default tcp keep alive
Restores the default 45 second connect mode TCP keep
alive timeout.
exit
Exits to the next higher level.
no address
Removes the remote host address used to establish tunneling connections.
no aes decrypt key
Removes the connect tunnel AES decrypt key.
no aes encrypt key
Removes the connect tunnel AES encrypt key.
no port
Removes the remote port used to establish tunnel connections.
no tcp keep alive
Disables the connect mode TCP keep alive timeout.
port <number>
Sets the remote port to use for connect mode tunneling.
<number> = number of the port to use.
protocol tcp
Uses TCP protocol for connect mode tunneling.
protocol tcp aes
Uses TCP protocol with AES encryption for connect mode
tunneling.
protocol telnet
Uses Telnet protocol (with IAC) for connect mode tunneling.
protocol udp
Uses UDP protocol for connect mode tunneling.
protocol udp aes
Uses UDP protocol with AES encryption for connect mode
tunneling.
show
Shows the current configuration.
show history
Displays the last 20 commands entered during the current
CLI session.
show statistics
show connection statistics
tcp keep alive <milliseconds>
Enables TCP keep alive for connect mode tunneling and
<milliseconds> = timer value, in milliseconds.
write
Stores the current configuration in permanent memory.
bytes.
Each byte is represented by a single character.
Note that quotes must enclose the value if it contains
bytes.
Each byte is represented by two adjacent hex digits.
Bytes may run together or be separated by optional punctuation:
123ABC "12 3A BC" 12,3A,BC 12.3a.bc 12:3a:bc
Note that quotes must enclose the value if it contains
bytes.
Each byte is represented by a single character.
Note that quotes must enclose the value if it contains
XPort® Pro Lx6 Embedded Device Server Command Reference 56
sets the timer.
5: Commands and Leve ls
host 10 (tunnel-connect-host:1:10) level commands
address <text>
Sets the remote host to establish tunneling connections
<text> = IP address or host name of the remote host.
aes decrypt key <hexadecimal>
Sets the connect tunnel AES decrypt key with up to 16
spaces.
aes decrypt key text <text>
Sets the connect tunnel AES decrypt key with up to 16
spaces.
aes encrypt key <hexadecimal>
Sets the connect tunnel AES encrypt key with up to 16
spaces.
aes encrypt key text <text>
Sets the connect tunnel AES encrypt key with up to 16
spaces.
auto show statistics
show connection statistics
clrscrn
Clears the screen.
default protocol
Restores the default protocol as "TCP".
default tcp keep alive
Restores the default 45 second connect mode TCP keep
alive timeout.
exit
Exits to the next higher level.
no address
Removes the remote host address used to establish tunneling connections.
no aes decrypt key
Removes the connect tunnel AES decrypt key.
no aes encrypt key
Removes the connect tunnel AES encrypt key.
no port
Removes the remote port used to establish tunnel connections.
no tcp keep alive
Disables the connect mode TCP keep alive timeout.
port <number>
Sets the remote port to use for connect mode tunneling.
<number> = number of the port to use.
protocol tcp
Uses TCP protocol for connect mode tunneling.
protocol tcp aes
Uses TCP protocol with AES encryption for connect mode
tunneling.
protocol telnet
Uses Telnet protocol (with IAC) for connect mode tunneling.
protocol udp
Uses UDP protocol for connect mode tunneling.
protocol udp aes
Uses UDP protocol with AES encryption for connect mode
tunneling.
with.
bytes.
Each byte is represented by two adjacent hex digits.
Bytes may run together or be separated by optional punctuation:
123ABC "12 3A BC" 12,3A,BC 12.3a.bc 12:3a:bc
Note that quotes must enclose the value if it contains
bytes.
Each byte is represented by a single character.
Note that quotes must enclose the value if it contains
bytes.
Each byte is represented by two adjacent hex digits.
Bytes may run together or be separated by optional punctuation:
123ABC "12 3A BC" 12,3A,BC 12.3a.bc 12:3a:bc
Note that quotes must enclose the value if it contains
bytes.
Each byte is represented by a single character.
Note that quotes must enclose the value if it contains
XPort® Pro Lx6 Embedded Device Server Command Reference 57
5: Commands and Leve ls
show
Shows the current configuration.
show history
Displays the last 20 commands entered during the current
CLI session.
show statistics
show connection statistics
tcp keep alive <milliseconds>
Enables TCP keep alive for connect mode tunneling and
<milliseconds> = timer value, in milliseconds.
write
Stores the current configuration in permanent memory.
host 11 (tunnel-connect-host:1:11) level commands
address <text>
Sets the remote host to establish tunneling connections
<text> = IP address or host name of the remote host.
aes decrypt key <hexadecimal>
Sets the connect tunnel AES decrypt key with up to 16
spaces.
aes decrypt key text <text>
Sets the connect tunnel AES decrypt key with up to 16
spaces.
aes encrypt key <hexadecimal>
Sets the connect tunnel AES encrypt key with up to 16
spaces.
aes encrypt key text <text>
Sets the connect tunnel AES encrypt key with up to 16
spaces.
auto show statistics
show connection statistics
clrscrn
Clears the screen.
default protocol
Restores the default protocol as "TCP".
default tcp keep alive
Restores the default 45 second connect mode TCP keep
alive timeout.
exit
Exits to the next higher level.
no address
Removes the remote host address used to establish tunneling connections.
no aes decrypt key
Removes the connect tunnel AES decrypt key.
no aes encrypt key
Removes the connect tunnel AES encrypt key.
no port
Removes the remote port used to establish tunnel connections.
no tcp keep alive
Disables the connect mode TCP keep alive timeout.
port <number>
Sets the remote port to use for connect mode tunneling.
<number> = number of the port to use.
sets the timer.
with.
bytes.
Each byte is represented by two adjacent hex digits.
Bytes may run together or be separated by optional punctuation:
123ABC "12 3A BC" 12,3A,BC 12.3a.bc 12:3a:bc
Note that quotes must enclose the value if it contains
bytes.
Each byte is represented by a single character.
Note that quotes must enclose the value if it contains
bytes.
Each byte is represented by two adjacent hex digits.
Bytes may run together or be separated by optional punctuation:
123ABC "12 3A BC" 12,3A,BC 12.3a.bc 12:3a:bc
Note that quotes must enclose the value if it contains
bytes.
Each byte is represented by a single character.
Note that quotes must enclose the value if it contains
XPort® Pro Lx6 Embedded Device Server Command Reference 58
protocol tcp
Uses TCP protocol for connect mode tunneling.
protocol tcp aes
Uses TCP protocol with AES encryption for connect mode
tunneling.
protocol telnet
Uses Telnet protocol (with IAC) for connect mode tunneling.
protocol udp
Uses UDP protocol for connect mode tunneling.
protocol udp aes
Uses UDP protocol with AES encryption for connect mode
tunneling.
show
Shows the current configuration.
show history
Displays the last 20 commands entered during the current
CLI session.
show statistics
show connection statistics
tcp keep alive <milliseconds>
Enables TCP keep alive for connect mode tunneling and
sets the timer.
<milliseconds> = timer value, in milliseconds.
write
Stores the current configuration in permanent memory.
host 12 (tunnel-connect-host:1:12) level commands
address <text>
Sets the remote host to establish tunneling connections
<text> = IP address or host name of the remote host.
aes decrypt key <hexadecimal>
Sets the connect tunnel AES decrypt key with up to 16
spaces.
aes decrypt key text <text>
Sets the connect tunnel AES decrypt key with up to 16
spaces.
aes encrypt key <hexadecimal>
Sets the connect tunnel AES encrypt key with up to 16
spaces.
aes encrypt key text <text>
Sets the connect tunnel AES encrypt key with up to 16
spaces.
auto show statistics
show connection statistics
clrscrn
Clears the screen.
default protocol
Restores the default protocol as "TCP".
default tcp keep alive
Restores the default 45 second connect mode TCP keep
alive timeout.
exit
Exits to the next higher level.
no address
Removes the remote host address used to establish tun-
with.
5: Commands and Leve ls
bytes.
Each byte is represented by two adjacent hex digits.
Bytes may run together or be separated by optional punctuation:
123ABC "12 3A BC" 12,3A,BC 12.3a.bc 12:3a:bc
Note that quotes must enclose the value if it contains
bytes.
Each byte is represented by a single character.
Note that quotes must enclose the value if it contains
bytes.
Each byte is represented by two adjacent hex digits.
Bytes may run together or be separated by optional punctuation:
123ABC "12 3A BC" 12,3A,BC 12.3a.bc 12:3a:bc
Note that quotes must enclose the value if it contains
bytes.
Each byte is represented by a single character.
Note that quotes must enclose the value if it contains
XPort® Pro Lx6 Embedded Device Server Command Reference 59
5: Commands and Leve ls
neling connections.
no aes decrypt key
Removes the connect tunnel AES decrypt key.
no aes encrypt key
Removes the connect tunnel AES encrypt key.
no port
Removes the remote port used to establish tunnel connections.
no tcp keep alive
Disables the connect mode TCP keep alive timeout.
port <number>
Sets the remote port to use for connect mode tunneling.
<number> = number of the port to use.
protocol tcp
Uses TCP protocol for connect mode tunneling.
protocol tcp aes
Uses TCP protocol with AES encryption for connect mode
tunneling.
protocol telnet
Uses Telnet protocol (with IAC) for connect mode tunneling.
protocol udp
Uses UDP protocol for connect mode tunneling.
protocol udp aes
Uses UDP protocol with AES encryption for connect mode
tunneling.
show
Shows the current configuration.
show history
Displays the last 20 commands entered during the current
CLI session.
show statistics
show connection statistics
tcp keep alive <milliseconds>
Enables TCP keep alive for connect mode tunneling and
<milliseconds> = timer value, in milliseconds.
write
Stores the current configuration in permanent memory.
host 13 (tunnel-connect-host:1:13) level commands
address <text>
Sets the remote host to establish tunneling connections
<text> = IP address or host name of the remote host.
aes decrypt key <hexadecimal>
Sets the connect tunnel AES decrypt key with up to 16
spaces.
aes decrypt key text <text>
Sets the connect tunnel AES decrypt key with up to 16
spaces.
aes encrypt key <hexadecimal>
Sets the connect tunnel AES encrypt key with up to 16
spaces.
aes encrypt key text <text>
Sets the connect tunnel AES encrypt key with up to 16
Note that quotes must enclose the value if it contains
sets the timer.
with.
bytes.
Each byte is represented by two adjacent hex digits.
Bytes may run together or be separated by optional punctuation:
123ABC "12 3A BC" 12,3A,BC 12.3a.bc 12:3a:bc
Note that quotes must enclose the value if it contains
bytes.
Each byte is represented by a single character.
Note that quotes must enclose the value if it contains
bytes.
Each byte is represented by two adjacent hex digits.
Bytes may run together or be separated by optional punctuation:
123ABC "12 3A BC" 12,3A,BC 12.3a.bc 12:3a:bc
Note that quotes must enclose the value if it contains
XPort® Pro Lx6 Embedded Device Server Command Reference 60
bytes.
Each byte is represented by a single character.
5: Commands and Leve ls
spaces.
auto show statistics
show connection statistics
clrscrn
Clears the screen.
default protocol
Restores the default protocol as "TCP".
default tcp keep alive
Restores the default 45 second connect mode TCP keep
alive timeout.
exit
Exits to the next higher level.
no address
Removes the remote host address used to establish tunneling connections.
no aes decrypt key
Removes the connect tunnel AES decrypt key.
no aes encrypt key
Removes the connect tunnel AES encrypt key.
no port
Removes the remote port used to establish tunnel connections.
no tcp keep alive
Disables the connect mode TCP keep alive timeout.
port <number>
Sets the remote port to use for connect mode tunneling.
<number> = number of the port to use.
protocol tcp
Uses TCP protocol for connect mode tunneling.
protocol tcp aes
Uses TCP protocol with AES encryption for connect mode
tunneling.
protocol telnet
Uses Telnet protocol (with IAC) for connect mode tunneling.
protocol udp
Uses UDP protocol for connect mode tunneling.
protocol udp aes
Uses UDP protocol with AES encryption for connect mode
tunneling.
show
Shows the current configuration.
show history
Displays the last 20 commands entered during the current
CLI session.
show statistics
show connection statistics
tcp keep alive <milliseconds>
Enables TCP keep alive for connect mode tunneling and
<milliseconds> = timer value, in milliseconds.
write
Stores the current configuration in permanent memory.
host 14 (tunnel-connect-host:1:14) level commands
address <text>
Sets the remote host to establish tunneling connections
<text> = IP address or host name of the remote host.
aes decrypt key <hexadecimal>
Sets the connect tunnel AES decrypt key with up to 16
spaces.
aes decrypt key text <text>
Sets the connect tunnel AES decrypt key with up to 16
spaces.
aes encrypt key <hexadecimal>
Sets the connect tunnel AES encrypt key with up to 16
bytes.
XPort® Pro Lx6 Embedded Device Server Command Reference 61
sets the timer.
with.
bytes.
Each byte is represented by two adjacent hex digits.
Bytes may run together or be separated by optional punctuation:
123ABC "12 3A BC" 12,3A,BC 12.3a.bc 12:3a:bc
Note that quotes must enclose the value if it contains
bytes.
Each byte is represented by a single character.
Note that quotes must enclose the value if it contains
5: Commands and Leve ls
Each byte is represented by two adjacent hex digits.
spaces.
aes encrypt key text <text>
Sets the connect tunnel AES encrypt key with up to 16
spaces.
auto show statistics
show connection statistics
clrscrn
Clears the screen.
default protocol
Restores the default protocol as "TCP".
default tcp keep alive
Restores the default 45 second connect mode TCP keep
alive timeout.
exit
Exits to the next higher level.
no address
Removes the remote host address used to establish tunneling connections.
no aes decrypt key
Removes the connect tunnel AES decrypt key.
no aes encrypt key
Removes the connect tunnel AES encrypt key.
no port
Removes the remote port used to establish tunnel connections.
no tcp keep alive
Disables the connect mode TCP keep alive timeout.
port <number>
Sets the remote port to use for connect mode tunneling.
<number> = number of the port to use.
protocol tcp
Uses TCP protocol for connect mode tunneling.
protocol tcp aes
Uses TCP protocol with AES encryption for connect mode
tunneling.
protocol telnet
Uses Telnet protocol (with IAC) for connect mode tunneling.
protocol udp
Uses UDP protocol for connect mode tunneling.
protocol udp aes
Uses UDP protocol with AES encryption for connect mode
tunneling.
show
Shows the current configuration.
show history
Displays the last 20 commands entered during the current
CLI session.
show statistics
show connection statistics
tcp keep alive <milliseconds>
Enables TCP keep alive for connect mode tunneling and
<milliseconds> = timer value, in milliseconds.
write
Stores the current configuration in permanent memory.
host 15 (tunnel-connect-host:1:15) level commands
address <text>
Sets the remote host to establish tunneling connections
<text> = IP address or host name of the remote host.
aes decrypt key <hexadecimal>
Sets the connect tunnel AES decrypt key with up to 16
tuation:
Bytes may run together or be separated by optional punctuation:
123ABC "12 3A BC" 12,3A,BC 12.3a.bc 12:3a:bc
Note that quotes must enclose the value if it contains
bytes.
Each byte is represented by a single character.
Note that quotes must enclose the value if it contains
XPort® Pro Lx6 Embedded Device Server Command Reference 62
sets the timer.
with.
bytes.
Each byte is represented by two adjacent hex digits.
Bytes may run together or be separated by optional punc-
Sets the connect tunnel AES decrypt key with up to 16
spaces.
aes encrypt key <hexadecimal>
Sets the connect tunnel AES encrypt key with up to 16
spaces.
aes encrypt key text <text>
Sets the connect tunnel AES encrypt key with up to 16
spaces.
auto show statistics
show connection statistics
clrscrn
Clears the screen.
default protocol
Restores the default protocol as "TCP".
default tcp keep alive
Restores the default 45 second connect mode TCP keep
alive timeout.
exit
Exits to the next higher level.
no address
Removes the remote host address used to establish tunneling connections.
no aes decrypt key
Removes the connect tunnel AES decrypt key.
no aes encrypt key
Removes the connect tunnel AES encrypt key.
no port
Removes the remote port used to establish tunnel connections.
no tcp keep alive
Disables the connect mode TCP keep alive timeout.
port <number>
Sets the remote port to use for connect mode tunneling.
<number> = number of the port to use.
protocol tcp
Uses TCP protocol for connect mode tunneling.
protocol tcp aes
Uses TCP protocol with AES encryption for connect mode
tunneling.
protocol telnet
Uses Telnet protocol (with IAC) for connect mode tunneling.
protocol udp
Uses UDP protocol for connect mode tunneling.
protocol udp aes
Uses UDP protocol with AES encryption for connect mode
tunneling.
show
Shows the current configuration.
show history
Displays the last 20 commands entered during the current
CLI session.
show statistics
show connection statistics
tcp keep alive <milliseconds>
Enables TCP keep alive for connect mode tunneling and
<milliseconds> = timer value, in milliseconds.
Note that quotes must enclose the value if it contains
bytes.
Each byte is represented by a single character.
Note that quotes must enclose the value if it contains
bytes.
Each byte is represented by two adjacent hex digits.
Bytes may run together or be separated by optional punctuation:
123ABC "12 3A BC" 12,3A,BC 12.3a.bc 12:3a:bc
Note that quotes must enclose the value if it contains
bytes.
Each byte is represented by a single character.
Note that quotes must enclose the value if it contains
XPort® Pro Lx6 Embedded Device Server Command Reference 63
sets the timer.
5: Commands and Leve ls
write
Stores the current configuration in permanent memory.
host 16 (tunnel-connect-host:1:16) level commands
address <text>
Sets the remote host to establish tunneling connections
<text> = IP address or host name of the remote host.
aes decrypt key <hexadecimal>
Sets the connect tunnel AES decrypt key with up to 16
spaces.
aes decrypt key text <text>
Sets the connect tunnel AES decrypt key with up to 16
spaces.
aes encrypt key <hexadecimal>
Sets the connect tunnel AES encrypt key with up to 16
spaces.
aes encrypt key text <text>
Sets the connect tunnel AES encrypt key with up to 16
spaces.
auto show statistics
show connection statistics
clrscrn
Clears the screen.
default protocol
Restores the default protocol as "TCP".
default tcp keep alive
Restores the default 45 second connect mode TCP keep
alive timeout.
exit
Exits to the next higher level.
no address
Removes the remote host address used to establish tunneling connections.
no aes decrypt key
Removes the connect tunnel AES decrypt key.
no aes encrypt key
Removes the connect tunnel AES encrypt key.
no port
Removes the remote port used to establish tunnel connections.
no tcp keep alive
Disables the connect mode TCP keep alive timeout.
port <number>
Sets the remote port to use for connect mode tunneling.
<number> = number of the port to use.
protocol tcp
Uses TCP protocol for connect mode tunneling.
protocol tcp aes
Uses TCP protocol with AES encryption for connect mode
tunneling.
protocol telnet
Uses Telnet protocol (with IAC) for connect mode tunneling.
protocol udp
Uses UDP protocol for connect mode tunneling.
with.
bytes.
Each byte is represented by two adjacent hex digits.
Bytes may run together or be separated by optional punctuation:
123ABC "12 3A BC" 12,3A,BC 12.3a.bc 12:3a:bc
Note that quotes must enclose the value if it contains
bytes.
Each byte is represented by a single character.
Note that quotes must enclose the value if it contains
bytes.
Each byte is represented by two adjacent hex digits.
Bytes may run together or be separated by optional punctuation:
123ABC "12 3A BC" 12,3A,BC 12.3a.bc 12:3a:bc
Note that quotes must enclose the value if it contains
bytes.
Each byte is represented by a single character.
Note that quotes must enclose the value if it contains
XPort® Pro Lx6 Embedded Device Server Command Reference 64
5: Commands and Leve ls
protocol udp aes
Uses UDP protocol with AES encryption for connect mode
tunneling.
show
Shows the current configuration.
show history
Displays the last 20 commands entered during the current
CLI session.
show statistics
show connection statistics
tcp keep alive <milliseconds>
Enables TCP keep alive for connect mode tunneling and
<milliseconds> = timer value, in milliseconds.
write
Stores the current configuration in permanent memory.
host 2 (tunnel-connect-host:1:2) level commands
address <text>
Sets the remote host to establish tunneling connections
<text> = IP address or host name of the remote host.
aes decrypt key <hexadecimal>
Sets the connect tunnel AES decrypt key with up to 16
spaces.
aes decrypt key text <text>
Sets the connect tunnel AES decrypt key with up to 16
spaces.
aes encrypt key <hexadecimal>
Sets the connect tunnel AES encrypt key with up to 16
spaces.
aes encrypt key text <text>
Sets the connect tunnel AES encrypt key with up to 16
spaces.
auto show statistics
show connection statistics
clrscrn
Clears the screen.
default protocol
Restores the default protocol as "TCP".
default tcp keep alive
Restores the default 45 second connect mode TCP keep
alive timeout.
exit
Exits to the next higher level.
no address
Removes the remote host address used to establish tunneling connections.
no aes decrypt key
Removes the connect tunnel AES decrypt key.
no aes encrypt key
Removes the connect tunnel AES encrypt key.
no port
Removes the remote port used to establish tunnel connections.
no tcp keep alive
Disables the connect mode TCP keep alive timeout.
sets the timer.
with.
bytes.
Each byte is represented by two adjacent hex digits.
Bytes may run together or be separated by optional punctuation:
123ABC "12 3A BC" 12,3A,BC 12.3a.bc 12:3a:bc
Note that quotes must enclose the value if it contains
bytes.
Each byte is represented by a single character.
Note that quotes must enclose the value if it contains
bytes.
Each byte is represented by two adjacent hex digits.
Bytes may run together or be separated by optional punctuation:
123ABC "12 3A BC" 12,3A,BC 12.3a.bc 12:3a:bc
Note that quotes must enclose the value if it contains
bytes.
Each byte is represented by a single character.
Note that quotes must enclose the value if it contains
XPort® Pro Lx6 Embedded Device Server Command Reference 65
port <number>
Sets the remote port to use for connect mode tunneling.
<number> = number of the port to use.
protocol tcp
Uses TCP protocol for connect mode tunneling.
protocol tcp aes
Uses TCP protocol with AES encryption for connect mode
tunneling.
protocol telnet
Uses Telnet protocol (with IAC) for connect mode tunneling.
protocol udp
Uses UDP protocol for connect mode tunneling.
protocol udp aes
Uses UDP protocol with AES encryption for connect mode
tunneling.
show
Shows the current configuration.
show history
Displays the last 20 commands entered during the current
CLI session.
show statistics
show connection statistics
tcp keep alive <milliseconds>
Enables TCP keep alive for connect mode tunneling and
sets the timer.
<milliseconds> = timer value, in milliseconds.
write
Stores the current configuration in permanent memory.
host 3 (tunnel-connect-host:1:3) level commands
address <text>
Sets the remote host to establish tunneling connections
<text> = IP address or host name of the remote host.
aes decrypt key <hexadecimal>
Sets the connect tunnel AES decrypt key with up to 16
spaces.
aes decrypt key text <text>
Sets the connect tunnel AES decrypt key with up to 16
spaces.
aes encrypt key <hexadecimal>
Sets the connect tunnel AES encrypt key with up to 16
spaces.
aes encrypt key text <text>
Sets the connect tunnel AES encrypt key with up to 16
spaces.
auto show statistics
show connection statistics
clrscrn
Clears the screen.
default protocol
Restores the default protocol as "TCP".
default tcp keep alive
Restores the default 45 second connect mode TCP keep
alive timeout.
5: Commands and Leve ls
with.
bytes.
Each byte is represented by two adjacent hex digits.
Bytes may run together or be separated by optional punctuation:
123ABC "12 3A BC" 12,3A,BC 12.3a.bc 12:3a:bc
Note that quotes must enclose the value if it contains
bytes.
Each byte is represented by a single character.
Note that quotes must enclose the value if it contains
bytes.
Each byte is represented by two adjacent hex digits.
Bytes may run together or be separated by optional punctuation:
123ABC "12 3A BC" 12,3A,BC 12.3a.bc 12:3a:bc
Note that quotes must enclose the value if it contains
bytes.
Each byte is represented by a single character.
Note that quotes must enclose the value if it contain s
XPort® Pro Lx6 Embedded Device Server Command Reference 66
5: Commands and Leve ls
exit
Exits to the next higher level.
no address
Removes the remote host address used to establish tunneling connections.
no aes decrypt key
Removes the connect tunnel AES decrypt key.
no aes encrypt key
Removes the connect tunnel AES encrypt key.
no port
Removes the remote port used to establish tunnel connections.
no tcp keep alive
Disables the connect mode TCP keep alive timeout.
port <number>
Sets the remote port to use for connect mode tunneling.
<number> = number of the port to use.
protocol tcp
Uses TCP protocol for connect mode tunneling.
protocol tcp aes
Uses TCP protocol with AES encryption for connect mode
tunneling.
protocol telnet
Uses Telnet protocol (with IAC) for connect mode tunneling.
protocol udp
Uses UDP protocol for connect mode tunneling.
protocol udp aes
Uses UDP protocol with AES encryption for connect mode
tunneling.
show
Shows the current configuration.
show history
Displays the last 20 commands entered during the current
CLI session.
show statistics
show connection statistics
tcp keep alive <milliseconds>
Enables TCP keep alive for connect mode tunneling and
<milliseconds> = timer value, in milliseconds.
write
Stores the current configuration in permanent memory.
host 4 (tunnel-connect-host:1:4) level commands
address <text>
Sets the remote host to establish tunneling connections
<text> = IP address or host name of the remote host.
aes decrypt key <hexadecimal>
Sets the connect tunnel AES decrypt key with up to 16
spaces.
aes decrypt key text <text>
Sets the connect tunnel AES decrypt key with up to 16
spaces.
aes encrypt key <hexadecimal>
Sets the connect tunnel AES encrypt key with up to 16
spaces.
aes encrypt key text <text>
Sets the connect tunnel AES encrypt key with up to 16
sets the timer.
with.
bytes.
Each byte is represented by two adjacent hex digits.
Bytes may run together or be separated by optional punctuation:
123ABC "12 3A BC" 12,3A,BC 12.3a.bc 12:3a:bc
Note that quotes must enclose the value if it contains
bytes.
Each byte is represented by a single character.
Note that quotes must enclose the value if it contains
bytes.
Each byte is represented by two adjacent hex digits.
Bytes may run together or be separated by optional punctuation:
123ABC "12 3A BC" 12,3A,BC 12.3a.bc 12:3a:bc
Note that quotes must enclose the value if it contains
XPort® Pro Lx6 Embedded Device Server Command Reference 67
5: Commands and Leve ls
bytes.
spaces.
auto show statistics
show connection statistics
clrscrn
Clears the screen.
default protocol
Restores the default protocol as "TCP".
default tcp keep alive
Restores the default 45 second connect mode TCP keep
alive timeout.
exit
Exits to the next higher level.
no address
Removes the remote host address used to establish tunneling connections.
no aes decrypt key
Removes the connect tunnel AES decrypt key.
no aes encrypt key
Removes the connect tunnel AES encrypt key.
no port
Removes the remote port used to establish tunnel connections.
no tcp keep alive
Disables the connect mode TCP keep alive timeout.
port <number>
Sets the remote port to use for connect mode tunneling.
<number> = number of the port to use.
protocol tcp
Uses TCP protocol for connect mode tunneling.
protocol tcp aes
Uses TCP protocol with AES encryption for connect mode
tunneling.
protocol telnet
Uses Telnet protocol (with IAC) for connect mode tunneling.
protocol udp
Uses UDP protocol for connect mode tunneling.
protocol udp aes
Uses UDP protocol with AES encryption for connect mode
tunneling.
show
Shows the current configuration.
show history
Displays the last 20 commands entered during the current
CLI session.
show statistics
show connection statistics
tcp keep alive <milliseconds>
Enables TCP keep alive for connect mode tunneling and
<milliseconds> = timer value, in milliseconds.
write
Stores the current configuration in permanent memory.
host 5 (tunnel-connect-host:1:5) level commands
address <text>
Sets the remote host to establish tunneling connections
<text> = IP address or host name of the remote host.
aes decrypt key <hexadecimal>
Sets the connect tunnel AES decrypt key with up to 16
spaces.
aes decrypt key text <text>
Sets the connect tunnel AES decrypt key with up to 16
Note that quotes must enclose the value if it contains
Each byte is represented by a single character.
Note that quotes must enclose the value if it contains
XPort® Pro Lx6 Embedded Device Server Command Reference 68
sets the timer.
with.
bytes.
Each byte is represented by two adjacent hex digits.
Bytes may run together or be separated by optional punctuation:
123ABC "12 3A BC" 12,3A,BC 12.3a.bc 12:3a:bc
Note that quotes must enclose the value if it contains
bytes.
Each byte is represented by a single character.
5: Commands and Leve ls
spaces.
aes encrypt key <hexadecimal>
Sets the connect tunnel AES encrypt key with up to 16
spaces.
aes encrypt key text <text>
Sets the connect tunnel AES encrypt key with up to 16
spaces.
auto show statistics
show connection statistics
clrscrn
Clears the screen.
default protocol
Restores the default protocol as "TCP".
default tcp keep alive
Restores the default 45 second connect mode TCP keep
alive timeout.
exit
Exits to the next higher level.
no address
Removes the remote host address used to establish tunneling connections.
no aes decrypt key
Removes the connect tunnel AES decrypt key.
no aes encrypt key
Removes the connect tunnel AES encrypt key.
no port
Removes the remote port used to establish tunnel connections.
no tcp keep alive
Disables the connect mode TCP keep alive timeout.
port <number>
Sets the remote port to use for connect mode tunneling.
<number> = number of the port to use.
protocol tcp
Uses TCP protocol for connect mode tunneling.
protocol tcp aes
Uses TCP protocol with AES encryption for connect mode
tunneling.
protocol telnet
Uses Telnet protocol (with IAC) for connect mode tunneling.
protocol udp
Uses UDP protocol for connect mode tunneling.
protocol udp aes
Uses UDP protocol with AES encryption for connect mode
tunneling.
show
Shows the current configuration.
show history
Displays the last 20 commands entered during the current
CLI session.
show statistics
show connection statistics
tcp keep alive <milliseconds>
Enables TCP keep alive for connect mode tunneling and
<milliseconds> = timer value, in milliseconds.
write
Stores the current configuration in permanent memory.
host 6 (tunnel-connect-host:1:6) level commands
address <text>
Sets the remote host to establish tunneling connections
<text> = IP address or host name of the remote host.
aes decrypt key <hexadecimal>
Sets the connect tunnel AES decrypt key with up to 16
bytes.
bytes.
Each byte is represented by two adjacent hex digits.
Bytes may run together or be separated by optional punctuation:
123ABC "12 3A BC" 12,3A,BC 12.3a.bc 12:3a:bc
Note that quotes must enclose the value if it contains
bytes.
Each byte is represented by a single character.
Note that quotes must enclose the value if it contains
XPort® Pro Lx6 Embedded Device Server Command Reference 69
sets the timer.
with.
5: Commands and Leve ls
Each byte is represented by two adjacent hex digits.
spaces.
aes decrypt key text <text>
Sets the connect tunnel AES decrypt key with up to 16
spaces.
aes encrypt key <hexadecimal>
Sets the connect tunnel AES encrypt key with up to 16
spaces.
aes encrypt key text <text>
Sets the connect tunnel AES encrypt key with up to 16
spaces.
auto show statistics
show connection statistics
clrscrn
Clears the screen.
default protocol
Restores the default protocol as "TCP".
default tcp keep alive
Restores the default 45 second connect mode TCP keep
alive timeout.
exit
Exits to the next higher level.
no address
Removes the remote host address used to establish tunneling connections.
no aes decrypt key
Removes the connect tunnel AES decrypt key.
no aes encrypt key
Removes the connect tunnel AES encrypt key.
no port
Removes the remote port used to establish tunnel connections.
no tcp keep alive
Disables the connect mode TCP keep alive timeout.
port <number>
Sets the remote port to use for connect mode tunneling.
<number> = number of the port to use.
protocol tcp
Uses TCP protocol for connect mode tunneling.
protocol tcp aes
Uses TCP protocol with AES encryption for connect mode
tunneling.
protocol telnet
Uses Telnet protocol (with IAC) for connect mode tunneling.
protocol udp
Uses UDP protocol for connect mode tunneling.
protocol udp aes
Uses UDP protocol with AES encryption for connect mode
tunneling.
show
Shows the current configuration.
show history
Displays the last 20 commands entered during the current
CLI session.
show statistics
show connection statistics
tcp keep alive <milliseconds>
Enables TCP keep alive for connect mode tunneling and
Bytes may run together or be separated by optional punctuation:
123ABC "12 3A BC" 12,3A,BC 12.3a.bc 12:3a:bc
Note that quotes must enclose the value if it contains
bytes.
Each byte is represented by a single character.
Note that quotes must enclose the value if it contains
bytes.
Each byte is represented by two adjacent hex digits.
Bytes may run together or be separated by optional punctuation:
123ABC "12 3A BC" 12,3A,BC 12.3a.bc 12:3a:bc
Note that quotes must enclose the value if it contains
bytes.
Each byte is represented by a single character.
Note that quotes must enclose the value if it contains
XPort® Pro Lx6 Embedded Device Server Command Reference 70
5: Commands and Leve ls
sets the timer.
<milliseconds> = timer value, in milliseconds.
write
Stores the current configuration in permanent memory.
host 7 (tunnel-connect-host:1:7) level commands
address <text>
Sets the remote host to establish tunneling connections
<text> = IP address or host name of the remote host.
aes decrypt key <hexadecimal>
Sets the connect tunnel AES decrypt key with up to 16
spaces.
aes decrypt key text <text>
Sets the connect tunnel AES decrypt key with up to 16
spaces.
aes encrypt key <hexadecimal>
Sets the connect tunnel AES encrypt key with up to 16
spaces.
aes encrypt key text <text>
Sets the connect tunnel AES encrypt key with up to 16
spaces.
auto show statistics
show connection statistics
clrscrn
Clears the screen.
default protocol
Restores the default protocol as "TCP".
default tcp keep alive
Restores the default 45 second connect mode TCP keep
alive timeout.
exit
Exits to the next higher level.
no address
Removes the remote host address used to establish tunneling connections.
no aes decrypt key
Removes the connect tunnel AES decrypt key.
no aes encrypt key
Removes the connect tunnel AES encrypt key.
no port
Removes the remote port used to establish tunnel connections.
no tcp keep alive
Disables the connect mode TCP keep alive timeout.
port <number>
Sets the remote port to use for connect mode tunneling.
<number> = number of the port to use.
protocol tcp
Uses TCP protocol for connect mode tunneling.
protocol tcp aes
Uses TCP protocol with AES encryption for connect mode
tunneling.
protocol telnet
Uses Telnet protocol (with IAC) for connect mode tunneling.
with.
bytes.
Each byte is represented by two adjacent hex digits.
Bytes may run together or be separated by optional punctuation:
123ABC "12 3A BC" 12,3A,BC 12.3a.bc 12:3a:bc
Note that quotes must enclose the value if it contains
bytes.
Each byte is represented by a single character.
Note that quotes must enclose the value if it contains
bytes.
Each byte is represented by two adjacent hex digits.
Bytes may run together or be separated by optional punctuation:
123ABC "12 3A BC" 12,3A,BC 12.3a.bc 12:3a:bc
Note that quotes must enclose the value if it contains
bytes.
Each byte is represented by a single character.
Note that quotes must enclose the value if it contains
XPort® Pro Lx6 Embedded Device Server Command Reference 71
5: Commands and Leve ls
protocol udp
Uses UDP protocol for connect mode tunneling.
protocol udp aes
Uses UDP protocol with AES encryption for connect mode
tunneling.
show
Shows the current configuration.
show history
Displays the last 20 commands entered during the current
CLI session.
show statistics
show connection statistics
tcp keep alive <milliseconds>
Enables TCP keep alive for connect mode tunneling and
<milliseconds> = timer value, in milliseconds.
write
Stores the current configuration in permanent memory.
host 8 (tunnel-connect-host:1:8) level commands
address <text>
Sets the remote host to establish tunneling connections
<text> = IP address or host name of the remote host.
aes decrypt key <hexadecimal>
Sets the connect tunnel AES decrypt key with up to 16
spaces.
aes decrypt key text <text>
Sets the connect tunnel AES decrypt key with up to 16
spaces.
aes encrypt key <hexadecimal>
Sets the connect tunnel AES encrypt key with up to 16
spaces.
aes encrypt key text <text>
Sets the connect tunnel AES encrypt key with up to 16
spaces.
auto show statistics
show connection statistics
clrscrn
Clears the screen.
default protocol
Restores the default protocol as "TCP".
default tcp keep alive
Restores the default 45 second connect mode TCP keep
alive timeout.
exit
Exits to the next higher level.
no address
Removes the remote host address used to establish tunneling connections.
no aes decrypt key
Removes the connect tunnel AES decrypt key.
no aes encrypt key
Removes the connect tunnel AES encrypt key.
no port
Removes the remote port used to establish tunnel connections.
sets the timer.
with.
bytes.
Each byte is represented by two adjacent hex digits.
Bytes may run together or be separated by optional punctuation:
123ABC "12 3A BC" 12,3A,BC 12.3a.bc 12:3a:bc
Note that quotes must enclose the value if it contains
bytes.
Each byte is represented by a single character.
Note that quotes must enclose the value if it contains
bytes.
Each byte is represented by two adjacent hex digits.
Bytes may run together or be separated by optional punctuation:
123ABC "12 3A BC" 12,3A,BC 12.3a.bc 12:3a:bc
Note that quotes must enclose the value if it contains
bytes.
Each byte is represented by a single character.
Note that quotes must enclose the value if it contains
XPort® Pro Lx6 Embedded Device Server Command Reference 72
no tcp keep alive
Disables the connect mode TCP keep alive timeout.
port <number>
Sets the remote port to use for connect mode tunneling.
<number> = number of the port to use.
protocol tcp
Uses TCP protocol for connect mode tunneling.
protocol tcp aes
Uses TCP protocol with AES encryption for connect mode
tunneling.
protocol telnet
Uses Telnet protocol (with IAC) for connect mode tunneling.
protocol udp
Uses UDP protocol for connect mode tunneling.
protocol udp aes
Uses UDP protocol with AES encryption for connect mode
tunneling.
show
Shows the current configuration.
show history
Displays the last 20 commands entered during the current
CLI session.
show statistics
show connection statistics
tcp keep alive <milliseconds>
Enables TCP keep alive for connect mode tunneling and
sets the timer.
<milliseconds> = timer value, in milliseconds.
write
Stores the current configuration in permanent memory.
host 9 (tunnel-connect-host:1:9) level commands
address <text>
Sets the remote host to establish tunneling connections
<text> = IP address or host name of the remote host.
aes decrypt key <hexadecimal>
Sets the connect tunnel AES decrypt key with up to 16
spaces.
aes decrypt key text <text>
Sets the connect tunnel AES decrypt key with up to 16
spaces.
aes encrypt key <hexadecimal>
Sets the connect tunnel AES encrypt key with up to 16
spaces.
aes encrypt key text <text>
Sets the connect tunnel AES encrypt key with up to 16
spaces.
auto show statistics
show connection statistics
clrscrn
Clears the screen.
default protocol
Restores the default protocol as "TCP".
default tcp keep alive
Restores the default 45 second connect mode TCP keep
5: Commands and Leve ls
with.
bytes.
Each byte is represented by two adjacent hex digits.
Bytes may run together or be separated by optional punctuation:
123ABC "12 3A BC" 12,3A,BC 12.3a.bc 12:3a:bc
Note that quotes must enclose the value if it contains
bytes.
Each byte is represented by a single character.
Note that quotes must enclose the value if it contains
bytes.
Each byte is represented by two adjacent hex digits.
Bytes may run together or be separated by optional punctuation:
123ABC "12 3A BC" 12,3A,BC 12.3a.bc 12:3a:bc
Note that quotes must enclose the value if it contains
bytes.
Each byte is represented by a single character.
Note that quotes must enclose the value if it contains
XPort® Pro Lx6 Embedded Device Server Command Reference 73
5: Commands and Leve ls
alive timeout.
exit
Exits to the next higher level.
no address
Removes the remote host address used to establish tunneling connections.
no aes decrypt key
Removes the connect tunnel AES decrypt key.
no aes encrypt key
Removes the connect tunnel AES encrypt key.
no port
Removes the remote port used to establish tunnel connections.
no tcp keep alive
Disables the connect mode TCP keep alive timeout.
port <number>
Sets the remote port to use for connect mode tunneling.
<number> = number of the port to use.
protocol tcp
Uses TCP protocol for connect mode tunneling.
protocol tcp aes
Uses TCP protocol with AES encryption for connect mode
tunneling.
protocol telnet
Uses Telnet protocol (with IAC) for connect mod e tunneling.
protocol udp
Uses UDP protocol for connect mode tunneling.
protocol udp aes
Uses UDP protocol with AES encryption for connect mode
tunneling.
show
Shows the current configuration.
show history
Displays the last 20 commands entered during the current
CLI session.
show statistics
show connection statistics
tcp keep alive <milliseconds>
Enables TCP keep alive for connect mode tunneling and
<milliseconds> = timer value, in milliseconds.
write
Stores the current configuration in permanent memory.
http (config-http) level commands
auth <uri>
Creates a new HTTP server authentication directive.
<uri> = URI of the server.
auth type <uri> digest
Sets an HTTP server authentication directive to the Digest
<uri> = URI of the server.
auth type <uri> none
Sets the authentication type for an HTTP server authenti-
<uri> = URI of the server.
authentication timeout <minutes>
For any Digest AuthType, sets the timeout for authentica<minutes> = authentication timeou t value .
clear counters
Sets the HTTP counters to zero.
clear log
Clears the HTTP server log.
clrscrn
Clears the screen.
default authentication timeout
Resets the authentication timeout to its default value.
default log format
Restores the HTTP Server log format string to its default
value.
default max bytes
Resets the maximum bytes to its default value.
default max log entries
Restores the default maximum number of HTTP Server
sets the timer.
Access
Authentication scheme.
cation directive to
none.
tion.
XPort® Pro Lx6 Embedded Device Server Command Reference 74
5: Commands and Leve ls
log entries.
default max timeout
Resets the timeout to its default value.
default port
Resets the HTTP Server port to its default value.
delete auth <uri>
Deletes an existing HTTP Server authentication directive.
<uri> = URI of the server.
exit
Returns to the config level.
log format <text>
Sets the log format string for the HTTP server, using the
%s return status
logging state disable
Disables HTTP server logging.
logging state enable
Enables HTTP server logging.
max bytes <number>
Sets the maximum number of bytes the HTTP server aca request.
max log entries <number>
Sets the maximum number of HTTP server log entries.
tries.
max timeout <seconds>
Sets the maximum time the HTTP server waits when re<seconds> = maximum timeout value.
no clear counters
Restores the HTTP counters to the aggregate values.
no port
Disables the HTTP Server port.
port <number>
Sets the port number the HTTP server will use.
<number> = port number.
show
Displays the current configuration.
show auth
Displays the HTTP server authentication settings.
show history
Displays the last 20 commands entered during the current
CLI session.
show log
Displays the HTTP server log.
show statistics
Displays the HTTP statistics.
state disable
Disables the HTTP server.
state enable
Enables the HTTP server.
write
Stores the current configuration in permanent memory.
icmp (config-icmp) level commands
clrscrn
Clears the screen.
exit
Exits to the configuration level.
show
Displays the current configuration.
following
directives:
%a remote ip address (could be a proxy)
%b bytes sent excluding headers
%B bytes sent excluding headers (0 = '-')
%h remote host (same as %a)
%{h}i header contents from request (h = header string)
%m request method
%p ephemeral local port value used for request
%q query string (prepend with '?' or empty '-')
%t timestamp HH:MM:SS (same as Apache
'%(%H:%M:%S)t')
%u remote user (could be bogus for 401 status)
%U URL path info
%r first line of request (same as '%m %U%q <version>')
cepts when receiving
<number> = maximum number of HTTP server log en-
ceiving a request.
XPort® Pro Lx6 Embedded Device Server Command Reference 75
5: Commands and Leve ls
show history
Displays the last 20 commands entered during the current
CLI session.
state disable
Prevents ICMP packets from being sent or received.
state enable
Allows ICMP packets to be se nt and receiv ed.
write
Stores the current configuration in permanent memory.
icmpv6 (config-icmpv6) level commands
clrscrn
Clears the screen.
exit
Exits to the configuration level.
show history
Displays the last 20 commands entered during the current
CLI session.
show neighbors
Displays IPv6 neighbor cache.
write
Stores the current configuration in permanent memory.
if 1 (config-if:eth0) level commands
bootp disable
Disables BOOTP.
bootp enable
Enables BOOTP.
clrscrn
Clears the screen.
default gateway <IP address>
Sets the configurable gateway IP address to the default
value.
default mtu
Restores the default Maximum Transmission Unit (MTU)
size.
dhcp client id <text>
Sets the DHCP client id.
dhcp disable
Disables DHCP.
dhcp enable
Enables DHCP.
dhcpv6 disable
Disabled DHCPv6 support.
dhcpv6 enable
Enables DHCPv6 support.
domain <text>
Sets the domain name.
<text> = name of the domain.
exit
Exits to the config level.
hostname <text>
Sets the host name.
<text> = name of the host.
ip address <ip address/cidr>
Sets the IP address and network mask.
"192.168.1.1 255.255.255.0" (explicit mask)
ipv6 address <ip address/prefix_length>
Sets the IPv6 address and network prefix length.
3456:abcd::456:de10/64 (a ddr ess and prefix length)
ipv6 autoconf enable
Enables support for stateless autoconfiguration of IPv6
addresses.
ipv6 default gateway <IP address>
Sets the IPv6 default gateway.
link
Enter link configuration level
mtu <bytes>
Sets the Maximum Transmission Unit (MTU) size.
no default gateway
Clears the default gateway.
no dhcp client id
Clears the DHCP client ID.
no domain
Clears the domain name.
no hostname
Clears the host name.
XPort® Pro Lx6 Embedded Device Server Command Reference 76
Formats accepted:
192.168.1.1 (default mask)
192.168.1.1/24 (CIDR)
Formats accepted:
5: Commands and Leve ls
no ip address
Clears the IP address.
no ipv6 address
Clears the IPv6 address.
no ipv6 default gateway
Clears the IPv6 default gateway.
no primary dns
Clears the name of the primary DNS server.
no secondary dns
Clears the name of the secondary DNS server.
primary dns <text>
Sets the IP address of the primary DNS server.
secondary dns <text>
Sets the IP address of the secondary DNS server.
show
Displays the current configuration.
show history
Displays the last 20 commands entered during the current
CLI session.
show status
Show interface status
write
Stores the current configuration in permanent memory.
ip (config-ip) level commands
clrscrn
Clears the screen.
default ip time to live
Restores the default IP time to live.
default multicast time to live
Restores the default IP multicast time to live, which is one
hop.
exit
Exits to the configuration level.
ip time to live <hops>
Sets the IP time to live, known by SNMP as
lowed to live.
multicast time to live <hops>
Sets the IP multicast time to live.
allowed to live.
show
Displays the current configuration.
show history
Displays the last 20 commands entered during the current
CLI session.
write
Stores the current configuration in permanent memory.
line 1 (line:1) level commands
auto show statistics
Continuously displays line statistics.
baud rate <bits per second>
Sets the line speed.
Standard speeds include 1200, 2400, 4800, 9600, 19200,
and so on.
clear line counters
Sets the serial counters to zero.
clrscrn
Clears the screen.
command mode always
Sets the current line to always be in command mode.
command mode echo serial string disable
Disables user-defined serial boot string to be echoed in
the CLI.
command mode echo serial string enable
Enables user-defined serial boot string to be echoed in
the CLI.
command mode serial string
Enables user to enter a custom string at boot time to enter
command mode.
command mode serial string <string>
Sets a string that can be entered at boot time to enter
Within {} specify decimal milliseconds time delay.
"ipDefaultTTL".
<hops> = number of hops that a typical IP packet is al-
<hops> = number of hops that a multicast IP packet is
<bits per second> = the speed.
XPort® Pro Lx6 Embedded Device Server Command Reference 77
command mode.
<string> = text with possible binary characters.
Within [] use binary decimal up to 255 or hex up to 0xFF.
5: Commands and Leve ls
command mode signon message <string>
Sets a sign-on message that is sent from the serial port
Within [] use binary decimal up to 255 or hex up to 0xFF.
command mode wait time <milliseconds>
Sets boot-up wait time for command mode serial string.
<milliseconds> = wait time.
configure current settings
Configures line with the current value of settings.
data bits 7
Uses seven bits for data on the line.
data bits 8
Uses eight bits for data on the line.
default baud rate
Restores the default speed of 9600 bits per second.
default data bits
Restores the default of eight data bits.
default flow control
Restores the default of no flow control.
default interface
Restores the default interface type to this line.
default parity
Restores the default of no parity.
default protocol
Restores the default protocol on the line.
default stop bits
Restores the default of one stop bit.
default threshold
Restores the factory default threshold.
default xoff char
Restores the default xoff character on this line.
default xon char
Restores the default xon character on this line.
exit
Exits to the enable level
flow control hardware
Uses hardware (RTS/CTS) flow control on the line.
flow control none
Does not provide flow control on the line.
flow control software
Uses software (xon/xoff characters) flow control on the
line.
gap timer <milliseconds>
Sets the gap timer in milliseconds. If some data has been
be forwarded after this time since the last character.
interface rs232
Sets the line interface to RS232.
interface rs485 full-duplex
Sets the line interface to RS485 in full-duplex mode.
interface rs485 half-duplex
Sets the line interface to RS485 in half-duplex mode.
kill session
Kills command mode session on the Line
line <line>
Enters the line level.
<line> = number of the line (serial port) to be configured.
name <text>
Sets the name for this line.
no clear line counters
Restores the serial counters to the aggregate values.
no command mode
Disables command mode for the current line.
no command mode signon message
Clears the signon message displayed at boot time and
command mode.
no gap timer
Removes the gap timer, so forwarding depends on the
line speed.
no name
Removes the name of this line.
parity even
Uses a parity bit on the line for even parity.
parity none
Does not use a parity bit on the line.
parity odd
Uses a parity bit on the line for odd parity.
protocol none
Uses no protocol on the line.
when the
device boots and when the line is in command mode.
<string> = text with possible binary characters.
received, it will
when entering
XPort® Pro Lx6 Embedded Device Server Command Reference 78
5: Commands and Leve ls
protocol tunnel
Applies tunnel protocol on the line.
reassert
Asserts line status with current configured values.
show
Displays the current status.
show command mode
Shows the command mode settings for the current line.
show history
Displays the last 20 commands entered during the current
CLI session.
show line
Displays the current configuration.
show statistics
Shows the line statistics.
state disable
Disables the line so data cannot be sent/received.
state enable
Enables the line so data can be sent/received.
stop bits 1
Uses one stop bit after data on the line.
stop bits 2
Uses two stop bits after data on the line.
terminal <line>
Enters the configure-terminal level.
configured.
terminal network
Enters the configure-terminal level for the network.
termination disable
Refrains from terminating the line.
termination enable
Enables 120 ohm line termination in RS485 half-duplex
mode.
threshold <bytes>
Sets the threshold in bytes. After this many bytes are reforwarded without delay.
tunnel <line>
Enters the tunnel level.
figured.
write
Stores the current configuration in permanent memory.
xoff char <control>
Sets the xoff character for use with software flow control
A hex value character has the form 0xFF.
xon char <control>
Sets the xon character for use with software flow control
A hex value character has the form 0xFF.
link (config-ethernet:eth0) level commands
clrscrn
Clears the screen.
default duplex
Restores the default duplex setting, which is auto.
default speed
Restores the default speed setting, which is autonegotiate.
duplex auto
Sets duplex mode to auto.
duplex full
Sets duplex mode to full.
duplex half
Sets duplex mode to half.
exit
Exit back to interface configuration level
show
Displays the current configuration.
<line> = number of the terminal line (serial port) to be
ceived, they are
<line> = number of the tunnel line (serial port) to be con-
on this line.
The character may be input as text, control, decimal, or
hex.
A control character has the form <control>C.
A decimal value character has the form \99.
on this line.
The character may be input as text, control, decimal, or
hex.
A control character has the form <control>C.
A decimal value character has the form \99.
XPort® Pro Lx6 Embedded Device Server Command Reference 79
5: Commands and Leve ls
show history
Displays the last 20 commands entered during the current
CLI session.
speed 10
Sets the speed of the Ethernet link to 10 Mbps.
speed 100
Sets the speed of the Ethernet link to 100 Mbps.
speed auto
Sets the speed of the Ethernet link to auto-negotiate.
write
Stores the current configuration in permanent memory.
log (config-diagnostics-log) lev el commands
clrscrn
Clears the screen.
default max length
Restores the factory default maximum Log file size.
default output
Restores the default log output, which is disable.
exit
Exits to the next higher level.
max length <Kbytes>
Sets the maximum size in Kbytes for the Log file.
output disable
Disables log output.
output filesystem
Enables log to filesystem.
output line <number>
Enables log to serial line.
show
Shows the current configuration.
show history
Displays the last 20 commands entered during the current
CLI session.
write
Stores the current configuration in permanent memory.
modem (tunnel-modem:1) level commands
clrscrn
Clears the screen.
connect string <text>
Sets the CONNECT string used in modem emulation.
<string > = connect string.
default incoming connection
Default disables incoming netw or k connections .
default response type
Default uses text type responses.
display remote ip disable
The incoming RING has nothing following it.
display remote ip enable
The incoming RING is followed by the IP address of the
caller.
echo commands disable
Does not echo modem commands.
echo commands enable
Echoes modem commands.
echo pluses disabl e
Does not echo the +++ characters when entering modem
command mode.
echo pluses enable
Echoes the +++ characters when entering modem command mode.
Wait for an ATA command before answering an incoming
network connection.
no connect string
Removes optional CONNECT string information for modem emulation.
reassert
Asserts tunnel modem status with current configured values.
response type numeric
Uses numeric type responses.
XPort® Pro Lx6 Embedded Device Server Command Reference 80
5: Commands and Leve ls
response type text
Uses text type responses.
show
Displays the current configuration.
show history
Displays the last 20 commands entered during the current
CLI session.
show status
Displays tunnel modem status.
verbose response disable
Does not send Modem Response Codes.
verbose response enable
Sends Modem Response Codes out on the Serial Line.
write
Stores the current configuration in permanent memory.
packing (tunnel-packing:1) level commands
clrscrn
Clears the screen.
default packing mode
Sets to default packing mode, which is "Disable"
default send character
Removes the send character for packing mode.
default threshold
Restores the default threshold.
default timeout
Restores the default packing mode timeout.
exit
Returns to the tunnel level.
no trailing character
Removes the trailing character for packing mo de.
packing mode disable
Disables packing. Data is sent to the network when received.
packing mode send character
Sets packing mode to accumulate data and transmit it
configured send character on the line (serial port).
packing mode timeout
Sets packing mode to accumulate data and transmit it
amount of time (timeout).
send character <control>
Sets the send character for packing mode.
A hex value character has the form 0xFF.
show
Displays the current configuration.
show history
Displays the last 20 commands entered during the current
CLI session.
threshold <bytes>
Sets the threshold (byte count). If the queued data reach-
<bytes> = number of bytes in the threshold.
timeout <milliseconds>
Sets the timeout value for packing mode in milliseconds.
<milliseconds> = timeout value, in milliseconds.
trailing character <control>
Sets the trailing character for packing mod e.
A hex value character has the form 0xFF.
write
Stores the current configuration in permanent memory.
password (tunnel-accept-pa ss word: 1) level comm ands
clrscrn
Clears the screen.
exit
Exits to the next higher level.
no password
Removes the password so connections will be accepted
upon receiving the
after a specified
The character may be input as text, control, decimal, or
hex.
A control character has the form <control>C.
A decimal value character has the form \99.
es this threshold
then the data will be sent.
The character may be input as text, control, decimal, or
hex.
A control character has the form <control>C.
A decimal value character has the form \99.
XPort® Pro Lx6 Embedded Device Server Command Reference 81
unchallenged.
password <text>
Sets the password required on the network side of the
tunnel to begin
a connection.
prompt disable
Inhibits any prompting for password on the network side
of the tunnel.
prompt enable
Sets up so a user on the network side of the tunnel will be
a password.
show
Shows the current configuration.
show history
Displays the last 20 commands entered during the current
CLI session.
write
Stores the current configuration in permanent memory.
root level commands
clrscrn
Clears the screen.
enable
Enters the enable level.
exit
Exit from the system
iperf <params>
Run iperf with command line parameters passed in quoted string.
ping <host>
Ping destination continuously with 5 second timeout
ping <host><count>
Ping destination n times with 5 second timeout
ping <host><count><timeout>
Ping destination n times with x timeout (in seconds)
ping6 <host>
Ping IPv6 destination continuously with 5 second timeout
ping6 <host><count>
Ping IPv6 destination n times with 5 second timeout
ping6 <host><count><timeout>
Ping IPv6 destination n times with x timeout (in seconds)
show
Show system information
show history
Displays the last 20 commands entered during the current
CLI session.
trace route <host>
Trace route to destination
trace route <host><protocol>
Trace route to destination using TCP, ICMP, or UDP
serial (tunnel-serial: 1) level comma nds
clrscrn
Clears the screen.
default dtr
Restores default DTR control, asserted while connected.
dtr asserted while connected
Asserts DTR whenever a connect or accept mode tunnel
connection is active.
dtr continuously asserted
Asserts DTR regardless of any connections.
dtr truport
Asserts DTR to match remote DSR when connected via
Telnet.
dtr unasserted
Does not assert DTR.
exit
Returns to the tunnel level.
show
Displays the current configuration.
show history
Displays the last 20 commands entered during the current
CLI session.
write
Stores the current configuration in permanent memory.
smtp (config-smtp) level commands
clrscrn
Clears the screen.
default relay port
Restores the SMTP relay port to its default.
prompted for
5: Commands and Leve ls
XPort® Pro Lx6 Embedded Device Server Command Reference 82
exit
Exits to the configuration level.
no relay address
Removes the SMTP relay address.
relay address <text>
Sets an SMTP relay address to direct all outbound email
messages through
a mail server.
relay port <number>
Sets the SMTP relay port.
show
Displays the current configuration.
show history
Displays the last 20 commands entered during the current
CLI session.
write
Stores the current configuration in permanent memory.
syslog (config-syslog) level co mma nds
clrscrn
Clears the screen.
default remote port
Restores the default syslog remote port.
default severity log level
No logging.
exit
Returns to the config level.
host <text>
Sets the address of the syslog recipient.
<text> = IP address or name of the host.
no host
Removes the address of the syslog recipient .
remote port <number>
Sets the syslog remote port.
ing a syslog connection.
severity log level alert
Log only Alert and more severe events.
severity log level critical
Log only Critical and more severe events.
severity log level debug
Log all events.
severity log level emergency
Log only Emergency events.
severity log level error
Log only Error and more severe events.
severity log level information
Log only Information and more severe events.
severity log level none
No logging.
severity log level notice
Log only Notice and more severe events.
severity log level warning
Log only Warning and more severe events.
show
Displays the current configuration.
show history
Displays the last 20 commands entered during the current
CLI session.
show statistics
Displays the syslog statistics.
state disable
Disables syslog logging.
state enable
Enables syslog logging.
write
Stores the current configuration in permanent memory.
telnet (config-cli-telnet) level commands
authentication disable
No password required for Telnet users.
authentication enable
Challenges the Telnet user with a password.
clrscrn
Clears the screen.
default max sessions
Restores the default maximum allowed concurrent incoming Telnet sessions.
default port
Restores the default local port to the Telnet server.
exit
Exits to the CLI level.
max sessions <number>
Sets the maximum allowed concurrent incoming Telnet
5: Commands and Leve ls
<number> = number of the remote port used when mak-
XPort® Pro Lx6 Embedded Device Server Command Reference 83
sessions.
<number> = number of sessions.
port <number>
Sets the local port that the Telnet server uses.
<number> = local port number.
show
Displays the current configuration.
show history
Displays the last 20 commands entered during the current
CLI session.
show statistics
Displays the Telnet statistics.
state disable
Disables the Telnet Server.
state enable
Enables the Telnet Server.
write
Stores the current configuration in permanent memory.
terminal 1 (config-terminal:1) level commands
break duration <milliseconds>
Sets how long a break should last when it is being sent to
the line.
<milliseconds> = number of milliseconds.
clrscrn
Clears the screen.
default break duration
Restores the break duration to the default value (500 ms).
default terminal type
Sets the default terminal type, "UNKNOWN".
echo disable
Disables echoing of characters received on the line back
to the line.
echo enable
Enables echoing of characters received on the line back
to the line.
exit
Exits to the configuration level.
exit connect menu disable
On the login connect menu, removes the menu item alto the CLI.
exit connect menu enable
On the login connect menu, inserts the menu item allowto the CLI.
line <line>
Enters the line level.
<line> = number of the line (serial port) to be configured.
login connect menu disable
Disables the login connect menu, so a user will get the
after logging in.
login connect menu enable
Enables the login connect menu, so a user will get the
CLI immediately after logging in.
no send break
Removes the configured send break charac ter.
preview connect menu
Shows the layout of the connect menu with current settings.
send break <control>
Sets the optional send break character.
A hex value character has the form 0xFF.
show
Displays the current configuration.
show history
Displays the last 20 commands entered during the current
CLI session.
terminal <line>
Enters the configure-terminal level.
5: Commands and Leve ls
lowing the user to exit
ing the user to exit
CLI immediately
menu rather than the
<text> = the character.
The character may be input as text, control, decimal, or
hex.
A control character has the form <control>C.
A decimal value character has the form \99.
XPort® Pro Lx6 Embedded Device Server Command Reference 84
5: Commands and Leve ls
<line> = number of the terminal line (serial port) to be
configured.
terminal network
Enters the configure-terminal level for the network.
terminal type <text>
Sets the terminal type.
tunnel <line>
Enters the tunnel level.
figured.
write
Stores the current configuration in permanent memory.
Sets how long a break should last when it is being sent to
<milliseconds> = number of millisec ond s.
clrscrn
Clears the screen.
default break duration
Restores the break duration to the default value (500 ms).
default terminal type
Sets the default terminal type, "UNKNOWN".
echo disable
Disables echoing of characters received on the line back
to the line.
echo enable
Enables echoing of characters received on the line back
to the line.
exit
Exits to the configuration level.
exit connect menu disable
On the login connect menu, removes the menu item alto the CLI.
exit connect menu enable
On the login connect menu, inserts the menu item allowto the CLI.
line <line>
Enters the line level.
<line> = number of the line (serial port) to be configured.
login connect menu disable
Disables the login connect menu, so a user will get the
after logging in.
login connect menu enable
Enables the login connect menu, so a user will get the
CLI immediately after logging in.
no send break
Removes the configured send break charac ter.
preview connect menu
Shows the layout of the connect menu with current settings.
send break <control>
Sets the optional send break character.
A hex value character has the form 0xFF.
show
Displays the current configuration.
show history
Displays the last 20 commands entered during the current
CLI session.
terminal <line>
Enters the configure-terminal level.
configured.
terminal network
Enters the configure-terminal level for the network.
<line> = number of the tunnel line (serial port) to be con-
the line.
lowing the user to exit
ing the user to exit
CLI immediately
menu rather than the
<text> = the character.
The character may be input as text, control, decimal, or
hex.
A control character has the form <control>C.
A decimal value character has the form \99.
XPort® Pro Lx6 Embedded Device Server Command Reference 85
<line> = number of the terminal line (serial port) to be
5: Commands and Leve ls
terminal type <text>
Sets the terminal type.
tunnel <line>
Enters the tunnel level.
figured.
write
Stores the current configuration in permanent memory.
tunnel 1 (tunnel:1) level commands
accept
Enters the accept level for this tunnel.
auto show statistics
show connection statistics
clear counters
Zeros all tunnel counters
clrscrn
Clears the screen.
connect
Enters the connect level for this tunnel.
disconnect
Enters the disconnect level for this tunnel.
exit
Exits to the enable level.
line <line>
Enters the line level.
<line> = number of the line (serial port) to be configured.
modem
Enters the modem level for this tunnel.
no clear counters
Unzeros all tunnel counters
packing
Enters the packing level for this tunnel.
serial
Enters the serial level for this tunnel.
show history
Displays the last 20 commands entered during the current
CLI session.
show statistics
show connection statistics
terminal <line>
Enters the configure-terminal level.
configured.
terminal network
Enters the configure-terminal level for the network.
tunnel <line>
Enters the tunnel level.
figured.
write
Stores the current configuration in permanent memory.
xml (xml) level commands
clrscrn
Clears the screen.
exit
Exits to the enable level.
secret xcr dump
Dump XML configuration containing secrets to the console
secret xcr dump <group list>
Dump specified XML configuration cont ain ing se crets to
the console
secret xcr export <file>
Save XML configuration containing secrets to a file
secret xcr export <file> <group list>
Save specified XML configuration containing secrets to a
local file
show history
Displays the last 20 commands entered during the current
CLI session.
write
Stores the current configuration in permanent memory.
xcr dump
Dump XML configuration to the console
xcr dump <group list>
Dump specified XML configuration to the console
xcr export <file>
Save XML configuration to a file
xcr export <file><group list>
Save specified XML configuration to a local file
<line> = number of the tunnel line (serial port) to be con-
<line> = number of the terminal line (serial port) to be
<line> = number of the tunnel line (serial port) to be con-
XPort® Pro Lx6 Embedded Device Server Command Reference 86
5: Commands and Leve ls
xcr import <file>
Load XML configuration from a local file
xcr import <file><group list>
Load specified XML configuration from a local file
xcr list
List XML Configuration Record groups to the console
xsr dump
Dump XML Status Records to the console
xsr dump <group list>
Dump specified XML Status Records to the console
xsr export <file>
Save XML Status Record to a file
xsr export <file><group list>
Save specified XML Status Record to a local file
xsr list
List XML Status Record groups to the console
XPort® Pro Lx6 Embedded Device Server Command Reference 87
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.