Installations with multiple LANCOM devices often profit from the automatic execution of certain configuration tasks. The scripting function in LANCOM enables entire sets of commands for device configuration to be stored in a single file—a script—for transfer to one or more devices in one step.
Note: Detailed information about scripting can be found under the section
'scripting' in the chapter on Network Management with LANtools in the
reference manual.
In addition to manually setting a script and console read-outs, script files can also be read out from a device with the help of LANconfig. For this, right click on the corresponding entry in the device list and select the entry Configuration management / Save script to file from the context menu. Select the following options here:
- Numeric sections Enable this option if you do not want the configuration sections in the script to be displayed in cleartext (e.g. /setup/wlan/ppp), but numerically (/2/2/5).
- Default parameters Unless defined otherwise, the only parameters saved in a script are those that deviate from the default values. Enable this option if the standard values should also be entered into the script.
- Column names Unless defined otherwise, the fields of a table are initially entered as column names in the scripts and, thereafter, only the respective values are inserted into the rows. Enable this option when every value in the table should explicitly receive the description of the column in which it is inserted.
- Comments Activate this option when additional comments should be included in the script file.
- Compact formatting
- Enable this option if spaces and tabs should be suppressed.
- Download only selected sections Without further entries, the entire device configuration will always be saved in the script. In contrast, entering the sections also makes it possible to save partial configurations. Enter the sections to which the script should be transferred into this field, e.g. /setup/wlan.