LANtools network management
BAT54-Rail/F..
Release
7.54
06/08
5.3
Scripting
183
D In Flash Yes mode (standard), the configuration commands are directly
written to the device's flash memory and are thus non-volatile (i.e. boot re-
sistant). Since the flash mode is always ON with the other methods of
configuration (console without script, LANconfig or WEBconfig), the con-
figuration changes are written first to the RAM memory and then immedi-
ately to the flash memory.
D In Flash No mode the data are written to RAM only and are thus available
only until the next boot.
D During the boot process, the device reads the configuration data from
the flash memory.
D The configuration in the RAM can be written to the flash memory at any
time with the command "Flash Yes".
While operating, BAT devices work with the information stored in the RAM
configuration. The script commands stored in the intermediate memory are,
just like the configuration in the flash memory, of no relevance to the real-time
operations of a BAT.
5.3.3 Generating script files
A script for a BAT configuration exists in the form of a conventional text file.
These include any necessary comments and of the all of the commands as
used e.g. with a Telnet console to set the configuration. There are two differ-
ent ways to generate a script file:
D The script can be generated entirely with a text editor.
D The configuration, or a section of it, is read out of a device, stored as a
script file and then altered with a suitable text editor.
Script commands in
the script memory
script memory
Configuration in
RAM (deleted
upon booting)
Configuration in
flash (not deleted
upon booting)
EXIT Flash ON
Beginscript
Configuration for
operating the
BAT
"Normal" configuration
via console, LANconfig
or WEBconfig