EasyManua.ls Logo

ZyXEL Communications ZyWALL 310 - 65.2.2 Errors in Configuration Files or Shell Scripts

ZyXEL Communications ZyWALL 310
665 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 65 File Manager
ZyWALL Series CLI Reference Guide
542
Note: “exit” or “!'” must follow sub commands if it is to make the Zyxel Device exit sub
command mode.
Line 3 in the following example exits sub command mode.
Lines 1 and 3 in the following example are comments and line 4 exits sub command mode.
Lines 1 and 2 are comments. Line 5 exits sub command mode.
65.2.2 Errors in Configuration Files or Shell Scripts
When you apply a configuration file or run a shell script, the Zyxel Device processes the file line-by-line.
The Zyxel Device checks the first line and applies the line if no errors are detected. Then it continues with
the next line. If the Zyxel Device finds an error, it stops applying the configuration file or shell script and
generates a log.
You can have the Zyxel Device to ignore errors and apply the valid parts of the configuration file every
time you upload configuration files or only for the specific file you’re uploading.
Use setenv stop-on-error off if you want the Zyxel Device to ignore errors and apply the valid parts
of the configuration file every time you upload configuration files to the Zyxel Device.
Use apply/conf/file_name.conf ignore-error, for example, apply/conf/ATPConfigFile.conf
ignore-error, to:
Apply the valid parts of the configuration file.
Generate error logs for all of the configuration file’s errors.
This lets the Zyxel Device apply most of your configuration in the configuration file you just uploaded.
You can refer to the logs for what to fix.
Use apply/conf/file_name.conf ignore-error rollback, for example, apply/conf/
ATPConfigFile.conf ignore-error rollback, to:
interface ge1
ip address dhcp
!
!
interface ge1
# this interface is a DHCP client
!
! this is from Joe
# on 2006/06/05
interface ge1
ip address dhcp
!

Table of Contents

Other manuals for ZyXEL Communications ZyWALL 310

Related product manuals