5: Commands and Levels
PremierWave XN Command Reference 79
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:2: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
Note that quotes must enclose the value if it contains
spaces.
aes decrypt key text
<text>
Sets the connect tunnel AES decrypt key with up to 16
bytes.
Each byte is represented by a single character.
Note that quotes must enclose the value if it contains
spaces.
aes encrypt key <hexadecimal>
Sets the connect tunnel AES encrypt 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
Note that quotes must enclose the value if it contains
spaces.
aes encrypt key text <text>
Sets the connect tunnel AES encrypt key with up to 16