Chapter 42 File Manager
UAG4100 User’s Guide
420
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.
Errors in Configuration Files or Shell Scripts
When you apply a configuration file or run a shell script, the UAG processes the file line-by-line. The
UAG checks the first line and applies the line if no errors are detected. Then it continues with the
next line. If the UAG 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 UAG ignores any errors in the configuration
file or shell script and applies all of the valid commands. The UAG still generates a log for any
errors.
42.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 UAG to your computer and upload configuration files from
your computer to the UAG.
Once your UAG is configured and functioning properly, it is highly recommended that you back up
your configuration file before making further configuration changes. The backup configuration file
will be useful in case you need to return to your previous settings.
interface lan1
ip address dhcp
!
!
interface lan1
# this interface is a DHCP client
!
! this is from Joe
# on 2008/04/05
interface lan1
ip address dhcp
!