LANtools network management
182
5.3
 
Scripting
BAT54-Rail/F..
Release
 
7.54
 
06/08
D Configuration changes in test mode
The same mechanism allows changes to the configuration in test mode. 
A script triggers a time-delayed system boot; the intervening time period 
can be used to change and test the device's configuration without risk. 
Should the changes lead to a failure, the device automatically reboots 
after the time delay and is reset to its original configuration.
Comparable to the FirmSafe function, this variation is a type of "Conf-
Safe". Changes to the configuration after a firmware update can, on 
occasion, be impossible to edit in the case of a later downgrade to an 
older firmware version. If, however, the configuration subsequent to the 
firmware upgrade is stored in test mode only, then downgrading and sub-
sequently re-booting the system will result in the restoration of the origi-
nal firmware and its configuration.
5.3.2 Scripting function
Scripting involves the collective transmission of a series of configuration 
commands to a BAT device just as if they were entered at a Telnet console 
(or similar). There are two variants of the collective transfer of configuration 
commands:
D The device is set to script mode by entering the command 
beginscript
 at 
the console. In this mode, the commands are not executed individually but 
are stored in an intermediate memory in the BAT. These commands are 
only executed after the command 
exit
 has been entered. 
D Alternatively, the configuration commands are written offline to a script file 
(text file) and uploaded to the device as a complete script.
The configuration commands in the script file initially effect the configuration 
that is stored in the device's RAM only. The flash mode then determines 
whether or not the changes are to be made to the flash memory as well.