ZyXEL Communications 3.1 Security Camera User Manual


 
Chapter 39 File Manager
ZyWALL (ZLD) CLI Reference Guide
304
39.5 File Manager Command Examples
This example saves a back up of the current configuration before applying a shell script file.
These commands run the aaa.zysh script at noon every day, on the first day of every month, and
on every Monday, Wednesday, and Friday.
39.6 FTP File Transfer
You can use FTP to transfer files to and from the ZyWALL for advanced maintenance and support.
39.6.1 Command Line FTP File Upload
1 Connect to the ZyWALL.
2 Enter “bin” to set the transfer mode to binary.
3 You can upload the firmware after you log in through FTP. To upload other files, use “cd” to change
to the corresponding directory.
4 Use “put” to transfer files from the computer to the ZyWALL.
1
For example:
In the conf directory, use "put config.conf today.conf” to upload the configuration file (config.conf)
to the ZyWALL and rename it “today.conf”.
"put 1.00(XL.0).bin” transfers the firmware (1.00(XL.0).bin) to the ZyWALL.
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.
Table 185 File Manager Commands Summary (continued)
COMMAND DESCRIPTION
Router(config)# copy running-config /conf/backup.conf
Router(config)# run /script/vpn_setup.zysh
Router> configure terminal
Router(config)# schedule-run 1 aaa.zysh daily 12:00
Router(config)# schedule-run 1 aaa.zysh monthly 12:00 01
Router(config)# schedule-run 1 aaa.zysh weekly 12:00 mon wed fri
Router(config)#