Chapter 44 File Manager

"“exit” or “!'” must follow sub commands if it is to make the ZyWALL exit sub command mode.

Line 3 in the following example exits sub command mode.

interface dmz

ip address 192.168.5.1

!

Lines 1 and 3 in the following example are comments and line 4 exits sub command mode.

!

interface dmz

#this is a note about the interface

!

Lines 1 and 2 are comments. Line 5 exits sub command mode.

!this is from Joe

# on 2008/02/26 interface dmz

ip address 192.168.5.1

Errors in Configuration Files or Shell Scripts

When you apply a configuration file or run a shell script, the ZyWALL processes the file line- by-line. The ZyWALL checks the first line and applies the line if no errors are detected. Then it continues with the next line. If the ZyWALL finds an error, it stops applying the configuration file or shell script and generates a log.

You can change the way a configuration file or shell script is applied. Include setenv stop- on-error off in the configuration file or shell script. The ZyWALL ignores any errors in the configuration file or shell script and applies all of the valid commands. The ZyWALL still generates a log for any errors.

44.2 The Configuration File Screen

Click Maintenance > File Manager > Configuration File to open the Configuration File screen. Use the Configuration File screen to store, run, and name configuration files. You can also download configuration files from the ZyWALL to your computer and upload configuration files from your computer to the ZyWALL.

 

707

ZyWALL USG 100/200 Series User’s Guide