5: Commands and Levels

 

 

write

Stores the current configuration in permanent memory.

xml

Enters the XML level.

filesystem (filesystem) level commands

 

cat <file>

Show the contents of a file

cd <directory>

Change the current directory to the specified directory

clrscrn

Clears the screen.

cp <source file> <destination file>

Copy an existing file

dump <file>

Show contents of a file as a hex dump

exit

Exits to the enable level.

format

Format the file system and lose all data

ls

Show all files and directories in the current directory

ls <directory>

Show all files and directories in the specified directory

mkdir <directory>

Create a directory

mv <source file> <destination file>

Move a file on the file system

pwd

Print working directory

rm <file>

Remove a file

rmdir <directory>

Remove a directory

show

Show file system statistics

show history

Displays the last 20 commands entered during the current

 

CLI session.

show tree

Show all files and directories from current directory

tftp get <source file> <destination file> <host>

Get a file using TFTP

tftp get <source file> <destination file> <host> <port>

Get a file using TFTP

tftp put <source file> <destination file> <host>

Put a file using TFTP

tftp put <source file> <destination file> <host> <port>

Put a file using TFTP

touch <file>

Create a file

ftp (config-ftp) level commands

 

clrscrn

Clears the screen.

exit

Returns to the config level.

show

Displays the current configuration.

show history

Displays the last 20 commands entered during the current

 

CLI session.

show statistics

Displays the FTP statistics.

state disable

Disables the FTP server.

state enable

Enables the FTP server.

write

Stores the current configuration in permanent memory.

host 1 (tunnel-connect-host:1:1) level commands

 

address <text>

Sets the remote host to establish tunneling connections

 

with.

 

<text> = IP address or host name of the remote host.

aes decrypt key <hexadecimal>

Sets the connect tunnel AES decrypt key with up to 16

 

bytes.

 

Each byte is represented by two adjacent hex digits.

 

Bytes may run together or be separated by optional punc-

 

tuation:

 

123ABC "12 3A BC" 12,3A,BC 12.3a.bc 12:3a:bc

XPort® Pro Lx6 Embedded Device Server Command Reference

55

Page 55
Image 55
Lantronix LX6 manual Filesystem filesystem level commands, Ftp config-ftp level commands