Page 2 - Copyright and Trademark; Contacts; Lantronix Corporate Headquarters; Disclaimer; Revision History
XPort Pro Command Reference 2 Copyright and Trademark © 2012 Lantronix. 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. Printed in the United States of America.Ethernet is a trademark ...
Page 3 - Table of Contents
XPort Pro Command Reference 3 Table of Contents List of Figures _____________________________________________________________ 4List of Tables ______________________________________________________________ 5 1: About This Guide 6 Chapter Summaries _____________________________________________________...
Page 4 - List of Figures
XPort Pro Command Reference 4 List of Figures Figure 3-1 CLI Level Hierarchy ______________________________________________________ 12Figure 3-2 Login Level Commands ___________________________________________________ 13Figure 3-3 Enable Level Commands________________________________________________...
Page 5 - List of Tables
XPort Pro Command Reference 5 List of Tables Table 4-8 XCR Groups ____________________________________________________________ 20Table 4-9 XSR Groups and Items ____________________________________________________ 34Table 5-1 Commands and Levels ____________________________________________________49
Page 6 - About This Guide; Chapter Summaries; Conventions
XPort Pro Command Reference 6 1: About This Guide This guide describes how to configure the XPort Pro using the Command Line Interface (CLI) and/ or Extensible Markup Language (XML). It is written for software developers and system integrators. Chapter Summaries This table lists and summarizes each ...
Page 7 - Additional Documentation
1: About This Guide XPort Pro Command Reference 7 Additional Documentation Visit the Lantronix web site at www.lantronix.com/support/documentation for the latest documentation and the following additional documentation. Document Description XPort Pro Integration Guide Information about the XPort Pro...
Page 8 - Overview; XML Architecture and Device Control; Command Line Interface
XPort Pro Command Reference 8 2: Overview Evolution OS™ is the Lantronix cutting-edge operating system that 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 ...
Page 9 - Configuration Using Telnet; Start; OK; Configuration Using Serial Ports; Serial Command Mode
XPort Pro Command Reference 9 3: Command Line Interface This chapter describes accessing the XPort Pro by using Telnet, SSH, or serial ports to configure the XPort Pro, navigating the Command Line Interface (CLI), typing keyboard shortcuts, and moving between the levels. It contains the following se...
Page 10 - xyz; Navigating the CLI Hierarchy; Enter
3: Command Line Interface XPort Pro Command Reference 10 To configure the Lantronix device server locally using a serial port, connect a terminal or a PC running a terminal emulation program to one of the device server's serial ports. Configure the terminal for 9600 baud, 8-bit, no parity, 1 stop bi...
Page 11 - Using Keyboard Shortcuts and CLI
3: Command Line Interface XPort Pro Command Reference 11 Using Keyboard Shortcuts and CLI One useful shortcut built into Evolution OS™ 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 ent...
Page 14 - Configuration Using XML; XML Configuration Record Document Type Definition
XPort Pro Command Reference 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...
Page 15 - Quick Tour of XML Syntax; Declaration
4: Configuration Using XML XPort Pro Command Reference 15 Notes: 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 User Guide for more information about the Web Mana...
Page 17 - Importing and Exporting an XML Configuration File
4: Configuration Using XML XPort Pro Command Reference 17 Figure 4-5 XML Example of Multiple Items Figure 4-6 XML Example with Multiple Groups 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 devic...
Page 18 - Best Practices; Importing
4: Configuration Using XML XPort Pro Command Reference 18 allow for providing root and enable level passwords so that this can also be done at the password prompt. 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...
Page 19 - Exporting; Passwords in the XML File
4: Configuration Using XML XPort Pro Command Reference 19 xcr export < file > xcr export < file > < groups and/or group:instances > The same guidelines above regarding importing configurations also apply to exporting configurations. If no groups are specified, then the export comma...
Page 20 - XML Configuration Groups
4: Configuration Using XML XPort Pro Command Reference 20 The “xml paste passwords” <configgroup> name is used with the “passwords” <configitem> name and “cli login” and “cli enable level” values to specify the passwords to use when the device has been configured with password protection...
Page 33 - XML Status Record Groups and Items
4: Configuration Using XML XPort Pro Command Reference 33 XML Status Record Groups and Items Table 4-9 lists 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...
Page 34 - XSR Groups and Items
4: Configuration Using XML XPort Pro Command Reference 34 Table 4-9 XSR Groups and Items Group Name Item Name Value Name Valid Values arp (Attribute of “instance” is “eth0”.) arp entry ip address mac address age type dynamic static buffer pool this group contains other groups: ethernet driver, proto...
Page 47 - : Commands and Levels
XPort Pro Command Reference 47 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) • ssh (config-cli-ssh) • telnet (config-cli-telnet) • diagnostics (co...