Consider the following:
•
The total number of scripts stored is limited by the NVRAM/FLASH size.
•
Application of scripts is partial if a script fails. For example, if the script executes 5 of 10
commands and the script fails, the script stops at 5.
•
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 successfully.
script Command
(Netgear Switch) #script ?
apply
Applies configuration script to the switch.
delete
Deletes a configuration script file from the switch.
list
Lists all configuration script files present on the switch.
show
Displays the contents of configuration script.
validate
Validate the commands of configuration script.
script list Command and script delete Command
(Netgear Switch) #script list
Configuration Script Name
-------------------------
basic.scr
running-config.scr
2 configuration script(s) found.
1020706 bytes free.
(Netgear Switch) #script delete basic.scr
Are you sure you want to delete the configuration script(s)? (y/n) y
1 configuration script(s) deleted.
Managed Switches
Size(Bytes)
-----------
93
3201
Tools
403