Scripting involves the collective transmission of a series of configuration commands to a LANCOM device just as if they were entered at a Telnet console (or similar). There are two variants of the collective transfer of configuration commands:
- 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 LANCOM. These commands are only executed after the command exit has been entered.
- 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.
- 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 resistant). Since the flash mode is always ON with the other methods of configuration (console without script, LANconfig or WEBconfig), the configuration changes are written first to the RAM memory and then immediately to the flash memory.
- In Flash
No mode the data are written to RAM only and are thus available only
until the next boot.
- During the boot process, the device reads the configuration data from the flash memory.
- The configuration in the RAM can be written to the flash memory at any time with the command "Flash Yes".
While operating, LANCOM 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 LANCOM.