Lantronix LX6 manual Navigating the CLI Hierarchy, Command Line Interface

Page 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 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 Reference

10

Image 10
Contents Embedded Device Server Command Reference Copyright and Trademark Table of Contents List of Figures List of Tables Chapter Summaries Conventions DeviceInstaller Online Help Additional DocumentationOverview XML Architecture and Device ControlConfiguration Using Telnet Configuration Using the Serial PortCommand Line Interface Navigating the CLI HierarchyUsing Keyboard Shortcuts and CLI Understanding the CLI Level HierarchyCLI Level Hierarchy Enable Level Commands Configuration Using XML XML Configuration Record Document Type DefinitionQuick Tour of XML Syntax DeclarationRecord, Group, Item, and Value Tags XML Example of Multiple Named ValuesXML Example of Multiple Items Importing and Exporting an XML Configuration File Best PracticesImporting XML Configuration Groups XCR GroupsConfiguration Using XML Icmp Configuration Using XML Configuration Using XML Configuration Using XML Configuration Using XML URI XML Status Record Groups and Items XSR Group and ItemsConfiguration Using XML Configuration Using XML LISTEN, Synrecvd Configuration Using XML Status Configuration Using XML Group Name Item Name Configuration Using XML Configuration Using XML Commands and Levels Commands and Levels Accept tunnel-accept1 level commandsFlushes the serial data buffer upon establishing an accept Add IP address MAC address Arp config-arp level commandsCli config-cli level commands Remove ip IP addressConnect tunnel-connect1 level commands Configure config level commandsIf instance Host instance Cp email-cp4 level commands Cp email-cp3 level commandsCp email-cp1 level commands Cp email-cp2 level commandsCp output tunnel-connect-cpoutput1 level commands Add cp to group Cp output tunnel-accept-cpoutput1 level commandsCpm cpm level commands Add cp to group bitDiagnostics config-diagnostics level commands Device device level commandsDisconnect tunnel-disconnect1 level commands Dns dns level commands Timeout millisecondsDiscovery config-discovery level commands Lookup hostoripEmail number Email 1 email1 level commandsCc text From textEmail 2 email2 level commands To textEmail 3 email3 level commands Email 4 email4 level commands Commands and Levels Enable enable level commands Ftp config-ftp level commands Filesystem filesystem level commandsHost 1 tunnel-connect-host11 level commands Port number Host 10 tunnel-connect-host110 level commands Host 11 tunnel-connect-host111 level commands Host 12 tunnel-connect-host112 level commands Host 13 tunnel-connect-host113 level commands Host 14 tunnel-connect-host114 level commands Host 15 tunnel-connect-host115 level commands Tunneling Show Shows the current configuration Show history Host 16 tunnel-connect-host116 level commands Host 2 tunnel-connect-host12 level commands Host 3 tunnel-connect-host13 level commands Host 4 tunnel-connect-host14 level commands Host 5 tunnel-connect-host15 level commands Host 6 tunnel-connect-host16 level commands Commands and Levels Host 7 tunnel-connect-host17 level commands Host 8 tunnel-connect-host18 level commands Host 9 tunnel-connect-host19 level commands Http config-http level commands Icmp config-icmp level commands Ip address ip address/cidr Icmpv6 config-icmpv6 level commandsIf 1 config-ifeth0 level commands Ipv6 address ip address/prefixlengthLine 1 line1 level commands Ip config-ip level commandsBaud rate bits per second Gap timer milliseconds Name textLink config-etherneteth0 level commands Log config-diagnostics-log level commands Modem tunnel-modem1 level commandsPacking tunnel-packing1 level commands Serial tunnel-serial1 level commands Root level commandsSmtp config-smtp level commands Telnet config-cli-telnet level commands Syslog config-syslog level commandsHost text Terminal 1 config-terminal1 level commands Terminal network config-terminalnetwork level commands Secret xcr export file group list Tunnel 1 tunnel1 level commandsXml xml level commands Xcr dump group listXsr dump group list Xcr import file group listXsr export file group list
Related manuals
Manual 74 pages 16.36 Kb