Configuration scripting, Overview, Considerations – D-Link UNIFIED WIRED & WIRELESS ACCESS SYSTEM DWS-3000 User Manual
Page 151: Cli examples, Example #1: script, 23 configuration scripting
Overview
151
23
Configuration Scripting
Configuration Scripting allows you to generate a text-formatted script file that shows the
current configuration of the system. You can generate multiple scripts and upload and apply
them to more than one switch.
Overview
Configuration Scripting:
•
Provides scripts that can be uploaded and downloaded to the system.
•
Provides flexibility to create command configuration scripts.
•
Can be applied to several switches.
•
Can save up to ten scripts or 500K of memory.
•
Provides List, Delete, Apply, Upload, Download.
•
Provides script format of one CLI command per line.
Considerations
•
Total number of scripts stored on the system is limited by NVRAM/FLASH size.
•
Application of scripts is partial if script fails. For example, if the script executes five of ten
commands and the script fails, the script stops at five.
•
Scripts cannot be modified or deleted while being applied.
•
Validation of scripts checks for syntax errors only. It does not validate that the script will
run.
CLI Examples
The following are examples of the commands used for the Configuration Scripting feature.
Example #1: script
(DWS-3024) #script ?
apply
Applies configuration script to the switch.
delete
Deletes a configuration script file from the switch.