Lantronix 2100 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, 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 bit, and no flow control.

1.Power off the device.

2.Press and hold down the exclamation point (!) key.

3.Power on the device. After about ten seconds, the exclamation point will display on the terminal or PC screen.

4.Type xyz within 5 seconds to display the CLI prompt.

Navigating the CLI Hierarchy

The CLI is organized into a hierarchy of levels. Each level has a group of commands for a specific purpose. For example, to configure a setting for the FTP server, one would navigate to the FTP level, which is under the configuration level.

To move to a different level—Enter the name of the level from within its parent level. For example, to enter the tunnel level, type tunnel <number> at the enable prompt. This displays: <enable> tunnel <number>#.

To exit and return to one level higher—Type exit and press the Enter key. Typing exit at the login level or the enable level will close the CLI session. If Line — Command Mode is specified as Always, a new session starts immediately.

To view the current configuration at any level—Type show.

To view the list of commands available at the current level—Type the question mark "?". Items within < > (e.g. <string>) are required parameters.

To view the available commands and explanations—Type the asterisk ( *).

To view the list of commands available for a partial command—Type the partial command followed by the question mark "?". For example: <tunnel-1>#echo?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>#echo*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.

IntelliBox-I/O 2100 Command Reference

10

Image 10
Contents IntelliBox-I/O 2100 Command Reference Copyright and Trademark Date Rev CommentsConfiguration Using XML Table of ContentsCommand Line Interface Commands and LevelsList of Figures CLI Level HierarchyList of Tables Chapter Summary Chapter SummariesConventions Convention DescriptionAdditional Documentation Document DescriptionOverview XML Architecture and Device ControlConfiguration Using Telnet Configuration Using Serial PortsCommand 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 Group ExampleImporting and Exporting an XML Configuration File XML Example of Multiple ItemsBest Practices ImportingExporting XML Configuration Groups XCR GroupsConfiguration Using XML None Event trak Step Name URI Configuration Using XML Cidr Configuration Using XML Configuration Using XML Configuration Using XML Configuration Using XML Unknown Configuration Using XML Configuration Using XML XML Status Record Groups and Items Group Name Item Name Value Name Valid ValuesConfiguration Using XML Configuration Using XML Configuration Using XML Arpa Configuration Using XML UDP Configuration Using XML Configuration Using XML Configuration Using XML Configuration Using XML Configuration Using XML Configuration Using XML Configuration Using XML Commands and Levels Commands and Levels Accept tunnel-accept2 level commandsAccept tunnel-accept1 level commands Commands and Levels Arp config-arp level commands Chem 1 chem1 level commandsTo email addresses Chem 2 chem2 level commandsReplyto email address Trigger xio1/xio2 high/lowChem 3 chem3 level commands Chem 4 chem4 level commands Cli config-cli level commands Configure config level commandsIf instance Connect tunnel-connect2 level commandsHost number Lpd lineConnect mode any character Connect tunnel-connect1 level commands Device device level commands Disconnect tunnel-disconnect2 level commands Timeout millisecondsEnable enable level commands Disconnect tunnel-disconnect1 level commandsLine line Eventtrak 1 config-eventtrak1 level commands Eventtrak 2 config-eventtrak2 level commands Filesystem filesystem level commandsCLI session File host port Touch file Create a fileThis host is Auth user uri user password Http config-http level commandsAuth uri realm If 1 config-ifeth0 level commands Icmp config-icmp level commandsPort number Ip filter config-filter level commands Io io level commandsIp config-ip level commands Ip address ip address/cidrRemove ip address subnet mask Line 1 line1 level commandsAdd ip address subnet mask Baud rate bits per secondLine 2 line2 level commands Commands and Levels Link config-etherneteth0 level commands Lpd lpd level commandsShow line Lpd 1 config-lpd1 level commandsKill line Test print number of linesLpd 2 config-lpd2 level commands Match 1 config-eventtrak-match2.1 level commandsMatch 1 config-eventtrak-match1.1 level commands Match 2 config-eventtrak-match2.2 level commands Match 2 config-eventtrak-match1.2 level commandsMatch 3 config-eventtrak-match2.3 level commands Match 3 config-eventtrak-match1.3 level commandsModbus modbus level commands Modem tunnel-modem2 level commandsModem tunnel-modem1 level commands Output select tunnel-accept-outputselect2 level commands Output select tunnel-connect-outputselect2 level commandsOutput select tunnel-connect-outputselect1 level commands Output select tunnel-accept-outputselect1 level commands Packing tunnel-packing2 level commandsQuery port config-queryport level commands Packing tunnel-packing1 level commandsRoot level commands Serial tunnel-serial1 level commands Rss config-rss level commandsSerial tunnel-serial2 level commands Snmp config-snmp level commandsSsh ssh level commands Host user user password public public Host user user passwordHost user user password public Ssl ssl level commandsTask 1 config-eventtrak-task2.1 level commands Level severityTask 2 config-eventtrak-task2.2 level commands Task 1 config-eventtrak-task1.1 level commandsStep letter Task 2 config-eventtrak-task1.2 level commands Task 3 config-eventtrak-task2.3 level commands Task 3 config-eventtrak-task1.3 level commands Tcp config-tcp level commands Terminal 1 config-terminal1 level commandsTerminal 2 config-terminal2 level commands Terminal network config-terminalnetwork level commandsTftp config-tftp level commands Tunnel 1 tunnel1 level commandsTunnel 2 tunnel2 level commands Udp config-udp level commands
Related manuals
Manual 79 pages 2.62 Kb