Chapter 53 File Manager
ZyWALL / USG (ZLD) CLI Reference Guide
343
53.4 File Manager Commands Summary
The following table lists the commands that you can use for file management.
Table 211
File Manager Commands Summary
COMMAND
DESCRIPTION
apply /conf/
file_name.conf
[ignore-
error] [rollback]
Has the ZyWALL / USG 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.
Use this command without specify both
ignore-error
and
rollback
: this
is not recommended because it would leave the rest of the configuration
blank. If the interfaces were not configured before the first error, the
console port may be the only way to access the device.
Use
ignore-error
without
rollback
: this applies the valid parts of the
configuration file and generates error logs for all of the configuration file’s
errors. This lets the ZyWALL / USG apply most of your configuration and
you can refer to the logs for what to fix.
Use both
ignore-error
and
rollback
: this applies the valid parts of the
configuration file, generates error logs for all of the configuration file’s
errors, and starts the ZyWALL / USG with a fully valid configuration file.
Use
rollback
without
ignore-error
: this gets the ZyWALL / USG
started with a fully valid configuration file as quickly as possible.
You can use the “
apply /conf/system-default.conf
” command to reset
the ZyWALL / USG to go back to its system defaults.
copy {/conf | /idp | /packet_trace | /
script | /tmp}
file_name-a.conf
{/conf |
/idp | /packet_trace | /script | /tmp}/
file_name-b.conf
Saves a duplicate of a file on the ZyWALL / USG 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 / USG 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 / USG
restarts.
copy running-config /conf/
file_name.conf
Saves a duplicate of the configuration file that the ZyWALL / USG is
currently using. You specify the file name to which to copy.
delete {/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
{/conf | /idp | /packet_trace | /
script | /tmp}
Displays the list of files saved in the specified directory.
rename {/conf | /idp | /packet_trace | /
script | /tmp}/
old-file_name
{/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 / USG 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.
schedule-run 1
file_name.zysh
{daily |
monthly | weekly} time {
date
| sun | mon
| tue | wed | thu | fri | sat}
Has the ZyWALL / USG execute the specified specific shell script file at the
the specified time. You must still use the
write
command to save your
configuration changes to the flash (“non-volatile” or “long term”)
memory.
Summary of Contents for ZyWALL USG Series
Page 19: ...19 PART I Introduction ...
Page 20: ...20 ...
Page 38: ...Chapter 2 User and Privilege Modes ZyWALL USG ZLD CLI Reference Guide 38 ...
Page 39: ...39 PART II Reference ...
Page 40: ...40 ...
Page 48: ...Chapter 4 Status ZyWALL USG ZLD CLI Reference Guide 48 ...
Page 52: ...Chapter 5 Registration ZyWALL USG ZLD CLI Reference Guide 52 ...
Page 128: ...Chapter 15 Route ZyWALL USG ZLD CLI Reference Guide 128 ...
Page 136: ...Chapter 17 Zones ZyWALL USG ZLD CLI Reference Guide 136 ...
Page 140: ...Chapter 18 DDNS ZyWALL USG ZLD CLI Reference Guide 140 ...
Page 148: ...Chapter 20 HTTP Redirect ZyWALL USG ZLD CLI Reference Guide 148 ...
Page 152: ...Chapter 21 ALG ZyWALL USG ZLD CLI Reference Guide 152 ...
Page 156: ...Chapter 22 UPnP ZyWALL USG ZLD CLI Reference Guide 156 ...
Page 159: ...Chapter 23 IP MAC Binding ZyWALL USG ZLD CLI Reference Guide 159 ...
Page 178: ...Chapter 25 Secure Policy ZyWALL USG ZLD CLI Reference Guide 178 ...
Page 218: ...Chapter 32 Application Patrol ZyWALL USG ZLD CLI Reference Guide 218 ...
Page 236: ...Chapter 34 IDP Commands ZyWALL USG ZLD CLI Reference Guide 236 ...
Page 246: ...Chapter 35 Content Filtering ZyWALL USG ZLD CLI Reference Guide 246 ...
Page 256: ...Chapter 36 Anti Spam ZyWALL USG ZLD CLI Reference Guide 256 ...
Page 262: ...Chapter 37 SSL Inspection ZyWALL USG ZLD CLI Reference Guide 262 ...
Page 268: ...Chapter 38 Device HA ZyWALL USG ZLD CLI Reference Guide 268 ...
Page 284: ...Chapter 41 Addresses ZyWALL USG ZLD CLI Reference Guide 284 ...
Page 288: ...Chapter 42 Services ZyWALL USG ZLD CLI Reference Guide 288 ...
Page 302: ...Chapter 46 Authentication Server ZyWALL USG ZLD CLI Reference Guide 302 ...
Page 338: ...Chapter 52 System Remote Management ZyWALL USG ZLD CLI Reference Guide 338 ...
Page 358: ...Chapter 53 File Manager ZyWALL USG ZLD CLI Reference Guide 358 ...
Page 372: ...Chapter 56 Session Timeout ZyWALL USG ZLD CLI Reference Guide 372 ...
Page 374: ...Chapter 57 Diagnostics ZyWALL USG ZLD CLI Reference Guide 374 ...
Page 384: ...Chapter 59 Maintenance Tools ZyWALL USG ZLD CLI Reference Guide 384 ...
Page 426: ...List of Commands Alphabetical ZyWALL USG ZLD CLI Reference Guide 426 ...