Chapter 35 File Manager
NXC5200 User’s Guide
521
Note: “exit” or “!'” must follow sub commands if it is to make the NXC 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.
Errors in Configuration Files or Shell Scripts
When you apply a configuration file or run a shell script, the NXC processes the file
line-by-line. The NXC checks the first line and applies the line if no errors are
detected. Then it continues with the next line. If the NXC 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 NXC
ignores any errors in the configuration file or shell script and applies all of the valid
commands. The NXC still generates a log for any errors.
interface ge1
ip address dhcp
!
!
interface ge1
# this interface is a DHCP client
!
! this is from Joe
# on 2008/04/05
interface ge1
ip address dhcp
!