The command-line interface is operated with the following commands. An overview of the available configuration parameters and actions is available in the LCOS LX Menu Reference Guide.
Note: Which commands are available depends upon the equipment of the device.
Note: For an overview of the available commands, just press the tab key twice. Enter the option --help after the command for an overview of the available parameters.
Important: Changes to the configuration are not immediately boot-persistent. They have to be saved explicitly by using the command flash.
Command | Description |
---|---|
add [<Path>] | Adds a row to the table. |
beginscript | Resets the CLI session to script mode. In this state, commands entered are not transferred directly to the device's configuration RAM but initially to its script memory. The mode is terminated by the command exit. |
cd <Path> | Changes the current menu or directory. |
default | Resets the table or the value to the default setting.
Important: This command works recursively. Therefore, all values and tables in the current path and those below it will be reset.
|
del <Path> <Index> | Deletes the value or the table row in the branch of the menu tree referenced by <Path>. Enter the line number for the <Index>. |
delete | Synonymous with del. |
dir | Synonymous with ls. |
do <Path> [<Parameter>] | Executes the action in the current or referenced directory. If the action has additional parameters, they can be added at the end. |
exit | Ends the terminal session. |
flash |
Store the configuration
Important: Changes to the configuration are not immediately boot-persistent. They have to be saved explicitly by using the command flash.
|
history | Displays a list of recently executed commands. |
ll2mdetect |
LL2Mdetect finds LL2M-capable devices in the network.
The LL2M client uses this command to send a SYSINFO request to the LL2M server. The server then sends its system information, such as hardware and serial number, back to the client for display. The LL2Mdetect command can be restricted with the following parameters:
|
ll2mexec |
The command ll2mexec sends commands to or initiates terminal sessions on devices found by ll2mdetect.
The LL2M client uses this command to send a single-line command to run on the LL2M server. Multiple commands can be combined in one LL2M command by using semicolons as separators. Depending on the command, the actions are run on the remote device and the responses from the remote device are sent to the LL2M client for display. The LL2Mexec command conforms to the following syntax:
ll2mexec -i <(W)LAN-Interface> <User>[:<Password>]@<MAC address>The LL2Mexec command can be restricted with the following parameters:
|
list | Synonymous with ls. |
ls [<Path>] | Displays the contents of the current directory or path. |
passwd <Password> | Changes the password of the current user account. |
ping [-c count] [-i interval] [-s packetsize] destination | Sends an ICMP echo request to the IP address specified. Possible arguments are:
|
rm | Synonymous with del. |
set <Index> {Column} <Value> | Sets the value of a table row in a specific column to <Value>. |
set <Path> <Value(s)> | Sets the value or values of a specific path to the specified value(s). |
show diag [<Parameter>] | Output diagnostic information on the CLI. |
show 3rd-party-licenses | Output the device license information on the CLI. |
startlmc <Activation Code> [Domain] | After you have generated an activation code in the LANCOM Management Cloud, you use this code to pair the device with the LANCOM Management Cloud. You can optionally specify a new LMC domain as well. |
sysinfo | Shows the system information (e.g., hardware release, software version, MAC address, serial number, etc.). |
trace [--log] [+|-|#|?] <Parameter> | Starts (+) or stops (-) a trace command to output diagnosis data. # switches between different trace outputs and ? displays a help text. The parameter --log restricts the output to "historical" log information. For further information on this command refer to the section Diagnosis. |
writeconfig [noflash] | Writes a new configuration in the LCF file format to the device. The system interprets all of the following lines as configuration values until two empty lines are read. This is used by management systems, for example. Possible arguments are:
|
Legend
-
Characters and brackets:
- Objects, in this case dynamic or situation-dependent, are in angle brackets.
- Round brackets group command components, for a better overview.
- Vertical lines (pipes) separate alternative inputs.
- Square brackets describe optional switches.
-
<Path>:
- Describes the path name for a menu or parameter, separated by "/".
- .. means: one level higher
- . means: the current level
-
<Value>:
- Describes a possible input value.
- "" is a blank input value
-
<Name>:
- Describes a character sequence of [0…9] [A…Z] [a…z] [ _ ].
- The first character cannot be a digit.
- There is no difference between small letters and capital letters.
-
<Filter>:
- The output of some commands can be restricted by entering a filter expression. Filtering does not occur line by line, but in blocks, depending on the command.
- A filter expression starts with the "@" symbol by itself and ends either at the end of the line or at a ";" (semicolon) to end the current command.
- A filter expression also consists of one or more search patterns, which are separated by blank spaces and preceded either by no operator (OR pattern), a "+" operator (AND pattern) or a "-" operator (NOT pattern).
- For the execution of the command, an information block is output exactly when at least one of the "OR" patterns, all "AND" patterns or none of the "NOT" patterns matches. Capitalization is ignored.
- For a search pattern to contain characters for structuring in the filter syntax (e.g., blank characters), then the entire search pattern can be enclosed in "". Alternatively, the symbol "\" can be placed before the special characters. If you want to search for a quotation mark (") or "\", another "\" symbol has to be placed in front of it.Note: Entering the start of the word, if it is unique, is sufficient.
Explanations for addressing, syntax and command input
- All commands and directory/parameter names can be entered using their short-forms as long as they are unambiguous. For example, the command cd setup can be shortened to cd se. The input cd /s is not valid, however, since it corresponds to both cd /Setup and cd /Status.
- The values in a table row can alternatively be addressed via the column name or the position number in curly brackets. The command set ? in the table shows the name, the possible input values and the position number for each column.
- Multiple values in a table row can be changed with one command, for example in the WLAN networks (/Setup/WLAN/Network):
-
add Guest Guest 1234567890 creates a new network named Guest, SSID Guest, and key 1234567890.
Important: The order of the values must correspond to their order in the table. Values that should not be changed can be specified with a *.
- set Guest * 0987654321 changes the value Key in the network Guest. Using the * leaves the SSID unchanged.
- set Guest {Key} 1234567890 sets the value Key in the network Guest. Individual columns can be referenced by the column name in parentheses.
-
add Guest Guest 1234567890 creates a new network named Guest, SSID Guest, and key 1234567890.
- Names that contain spaces must be enclosed within quotation marks (““).
Command-specific help
- A command-specific help function is available for actions and commands (call the function with a question mark as the argument). For example, show ? displays the options available with the show command.