Краткое содержание страницы № 1
XPort Pro Lx6
Embedded Device Server
Command Reference
Part Number 900-689-R
Revision A December 2013
Краткое содержание страницы № 2
Copyright and Trademark © 2013 Lantronix, Inc. All rights reserved. No part of the contents of this book may be transmitted or reproduced in any form or by any means without the written permission of Lantronix. 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 Mi
Краткое содержание страницы № 3
Table of Contents Copyright and Trademark ____________________________________________________2 Contacts _________________________________________________________________2 Disclaimer ________________________________________________________________2 Revision History ___________________________________________________________2 List of Figures _____________________________________________________________4 List of Tables ______________________________________________________________5 1: About This G
Краткое содержание страницы № 4
List of Figures Figure 3-2 CLI Level Hierarchy ______________________________________________________12 Figure 3-3 Login Level Commands___________________________________________________12 Figure 3-4 Enable Level Commands__________________________________________________13 Figure 4-1 DTD for XCRs __________________________________________________________14 Figure 4-2 XML Example __________________________________________________________15 Figure 4-3 XML Example __________________________________
Краткое содержание страницы № 5
List of Tables Table 3-1 Keyboard Shortcuts ______________________________________________________11 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 Reference 5
Краткое содержание страницы № 6
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 port
Краткое содержание страницы № 7
1: About This Guide Additional Documentation Visit the Lantronix website at www.lantronix.com/support/documentation for the latest documentation and the following additional documentation. Document Description XPort® Pro Lx6 Embedded Device Describes how to configure and use the XPort Pro Lx6 embedded Server User Guide device server. XPort® Pro Embedded Device Contains information about the hardware and integrating the XPort Server Integration Guide Pro Lx6 into your product. DeviceInstalle
Краткое содержание страницы № 8
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 configurat
Краткое содержание страницы № 9
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
Краткое содержание страницы № 10
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 ter
Краткое содержание страницы № 11
3: Command Line Interface 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. Typin
Краткое содержание страницы № 12
3: Command Line Interface 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 (login) enable configure arp cpm cli telnet diagnostics log device discovery dns ftp email cp http filesystem icmp line icmpv6 tunnel accept cp output ethernet if 1 link password ip connect cp output smtp host syslog terminal disconnect modem terminal network packing seria
Краткое содержание страницы № 13
3: Command Line Interface Figure 3-4 Enable Level Commands > >enable (enable)#? auto show interfaces auto show processes clrscrn configure connect connect line cpm device disable dns email exit filesystem iperf kill telnet line ping <
Краткое содержание страницы № 14
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
Краткое содержание страницы № 15
4: Configuration Using XML Note: The name for each (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 element in each present clears the setting to its default. Quick Tour of XML Syntax Declaration The first line, , is c
Краткое содержание страницы № 16
4: Configuration Using XML Record, Group, Item, and Value Tags A is a logical grouping of configuration parameters and must contain one or more elements. It must have a name attribute and may have an instance attribute. A 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
Краткое содержание страницы № 17
4: Configuration Using XML 0 Figure 4-5 XML Example of Multiple Items disable enable
Краткое содержание страницы № 18
4: Configuration Using XML 0 input enable disable Importing and Exporting an XML Configuration File An XCR can be imported or exported using the following methods: Filesystem-XCRs can be saved to the device server file system and im
Краткое содержание страницы № 19
4: Configuration Using XML Importing The following syntax can be used to import configurations from a file: xcr import xcr import The first line imports all groups specified in the XML config record named in . 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 sp
Краткое содержание страницы № 20
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 Name Group Item Value Name Value Options Additional Information arp arp delete ip address Remove an entry f