Lantronix 2100 manual Using Keyboard Shortcuts and CLI, Understanding the CLI Level Hierarchy

Page 11

3: Command Line Interface

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 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. 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:

Ctrl + a: place cursor at the beginning of a line

Ctrl + b: backspace one character

Ctrl + d: delete one character

Ctrl + e: place cursor at the end of the line

Ctrl + f: move cursor forward one character

Ctrl + k: delete from the current position to the end of the line

Ctrl + l: redraw the command line

Ctrl + n: display the next line in the history

Ctrl + p: display the previous line in the history

Ctrl + u: delete entire line and place cursor at start of prompt

Ctrl + w: delete one word back

Ctrl + z: a shortcut for the exit command

Esc + b: move cursor back one word

Esc + f: move cursor forward one word

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.

An overview of the levels in the IntelliBox is presented in Figure 3-1.

IntelliBox-I/O 2100 Command Reference

11

Image 11
Contents IntelliBox-I/O 2100 Command Reference Date Rev Comments Copyright and TrademarkCommands and Levels Table of ContentsCommand Line Interface Configuration Using XMLCLI Level Hierarchy List of FiguresList of Tables Convention Description Chapter SummariesConventions Chapter SummaryDocument Description Additional DocumentationXML Architecture and Device Control OverviewConfiguration Using Serial Ports Configuration Using TelnetNavigating the CLI Hierarchy Command Line InterfaceUnderstanding the CLI Level Hierarchy Using Keyboard Shortcuts and CLICLI Level Hierarchy Enable Level Commands XML Configuration Record Document Type Definition Configuration Using XMLDeclaration Quick Tour of XML SyntaxXML Group Example Record, Group, Item, and Value TagsXML Example of Multiple Items Importing and Exporting an XML Configuration FileImporting Best PracticesExporting XCR Groups XML Configuration 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 Group Name Item Name Value Name Valid Values XML Status Record Groups and ItemsConfiguration 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 Accept tunnel-accept2 level commands Commands and LevelsAccept tunnel-accept1 level commands Commands and Levels Chem 1 chem1 level commands Arp config-arp level commandsTrigger xio1/xio2 high/low Chem 2 chem2 level commandsReplyto email address To email addressesChem 3 chem3 level commands Chem 4 chem4 level commands Configure config level commands Cli config-cli level commandsLpd line Connect tunnel-connect2 level commandsHost number If instanceConnect mode any character Connect tunnel-connect1 level commands Device device level commands Timeout milliseconds Disconnect tunnel-disconnect2 level commandsLine line Disconnect tunnel-disconnect1 level commandsEnable enable level commands Eventtrak 1 config-eventtrak1 level commands Filesystem filesystem level commands Eventtrak 2 config-eventtrak2 level commandsThis host is File host port Touch file Create a fileCLI session Auth uri realm Http config-http level commandsAuth user uri user password Port number Icmp config-icmp level commandsIf 1 config-ifeth0 level commands Ip address ip address/cidr Io io level commandsIp config-ip level commands Ip filter config-filter level commandsBaud rate bits per second Line 1 line1 level commandsAdd ip address subnet mask Remove ip address subnet maskLine 2 line2 level commands Commands and Levels Lpd lpd level commands Link config-etherneteth0 level commandsTest print number of lines Lpd 1 config-lpd1 level commandsKill line Show lineMatch 1 config-eventtrak-match2.1 level commands Lpd 2 config-lpd2 level commandsMatch 1 config-eventtrak-match1.1 level commands Match 2 config-eventtrak-match1.2 level commands Match 2 config-eventtrak-match2.2 level commandsMatch 3 config-eventtrak-match1.3 level commands Match 3 config-eventtrak-match2.3 level commandsModem tunnel-modem2 level commands Modbus modbus level commandsModem tunnel-modem1 level commands Output select tunnel-connect-outputselect1 level commands Output select tunnel-connect-outputselect2 level commandsOutput select tunnel-accept-outputselect2 level commands Packing tunnel-packing2 level commands Output select tunnel-accept-outputselect1 level commandsRoot level commands Packing tunnel-packing1 level commandsQuery port config-queryport level commands Snmp config-snmp level commands Rss config-rss level commandsSerial tunnel-serial2 level commands Serial tunnel-serial1 level commandsSsh ssh level commands Ssl ssl level commands Host user user passwordHost user user password public Host user user password public publicLevel severity Task 1 config-eventtrak-task2.1 level commandsStep letter Task 1 config-eventtrak-task1.1 level commandsTask 2 config-eventtrak-task2.2 level commands Task 2 config-eventtrak-task1.2 level commands Task 3 config-eventtrak-task2.3 level commands Task 3 config-eventtrak-task1.3 level commands Terminal 1 config-terminal1 level commands Tcp config-tcp level commandsTerminal network config-terminalnetwork level commands Terminal 2 config-terminal2 level commandsTunnel 1 tunnel1 level commands Tftp config-tftp level commandsTunnel 2 tunnel2 level commands Udp config-udp level commands
Related manuals
Manual 79 pages 2.62 Kb