Chapter 39 File Manager

Table 185 File Manager Commands Summary (continued)

COMMAND

DESCRIPTION

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.

39.5 File Manager Command Examples

This example saves a back up of the current configuration before applying a shell script file.

Router(config)# copy running-config /conf/backup.conf

Router(config)# run /script/vpn_setup.zysh

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.

Router> configure terminal Router(config)# schedule-run 1 aaa.zysh Router(config)# schedule-run 1 aaa.zysh Router(config)# schedule-run 1 aaa.zysh Router(config)#

daily 12:00 monthly 12:00 01 weekly 12:00 mon wed fri

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

1Connect to the ZyWALL.

2Enter “bin” to set the transfer mode to binary.

3You can upload the firmware after you log in through FTP. To upload other files, use “cd” to change to the corresponding directory.

4Use “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.

304

 

ZyWALL (ZLD) CLI Reference Guide