Control Script Configuration Persistence
When a script runs, the commands within the script can make persistent changes to the switch configuration, which are saved across reboots, or it can make non-persistent changes. Non-persistent configuration changes remain part of the switch configuration only until the switch reboots.
The default setting for scripts is non-persistent. To change the script configuration persistence setting, use the following command:
configure cli mode [persistent | non-persistent]