Chapter 35 File Manager
ZyWALL (ZLD) CLI Reference Guide
277
35.4 File Manager Commands Summary
The following table lists the commands that you can use for file management.
Table 165 File Manager Commands Summary
COMMAND DESCRIPTION
apply /conf/file_name.conf Has the ZyWALL use a specific configuration file. You
must still use the
write command to save your
configuration changes to the flash (“non-volatile” or
“long term”) memory.
copy {/cert | /conf | /idp | /packet_trace |
/script | /tmp}file_name-a.conf {/cert | /
conf | /idp | /packet_trace | /script | /
tmp}/file_name-b.conf
Saves a duplicate of a file on the ZyWALL from the
source file name to the target file name.
Specify the directory and file name of the file that you
want to copy and the directory and file name to use for
the duplicate. Always copy the file into the same
directory.
copy running-config startup-config Saves your configuration changes to the flash (“non-
volatile” or “long term”) memory. The ZyWALL
immediately uses configuration changes made via
commands, but if you do not use this command or the
write command, the changes will be lost when the
ZyWALL restarts.
copy running-config /conf/file_name.conf Saves a duplicate of the configuration file that the
ZyWALL is currently using. You specify the file name to
which to copy.
delete {/cert | /conf | /idp | /packet_trace
| /script | /tmp}/file_name
Removes a file. Specify the directory and file name of
the file that you want to delete.
dir {/cert | /conf | /idp | /packet_trace |
/script | /tmp}
Displays the list of files saved in the specified directory.
rename {/cert | /conf | /idp | /packet_trace
| /script | /tmp}/old-file_name {/cert | /
conf | /idp | /packet_trace | /script | /
tmp}/new-file_name
Changes the name of a file.
Specify the directory and file name of the file that you
want to rename. Then specify the directory again
followed by the new file name.
rename /script/old-file_name /script/new-
file_name
Changes the name of a shell script.
run /script/file_name.zysh Has the ZyWALL execute a specific shell script file.
You must still use the
write command to save your
configuration changes to the flash (“non-volatile” or
“long term”) memory.
show running-config Displays the settings of the configuration file that the
system is using.
setenv-startup stop-on-error off Has the ZyWALL ignore any errors in the startup-
config.conf file and apply all of the valid commands.
show setenv-startup Displays whether or not the ZyWALL is set to ignore
any errors in the startup-config.conf file and apply all of
the valid commands.
write Saves your configuration changes to the flash (“non-
volatile” or “long term”) memory. The ZyWALL
immediately uses configuration changes made via
commands, but if you do not use the
write
command, the changes will be lost when the ZyWALL
restarts.