Configuring System Scripts
- Last Updated: June 21, 2023
- 4 minute read
- WhatsUp Gold
To add a new default script:
- Go to the System Script Library (SETTINGS > Configuration Management > System Script Library). The System Script Library displays.
- Click 'add' (
).
The New Configuration Management System Script dialog displays. Use the dialog
options to modify the script as desired. - Enter a Description for the script. This description is displayed in the default script library to differentiate the script from other scripts.
- In the Keys section of the dialog, click 'add' (
) to add a new
OID or IP key and value. - Select a Script Type. Select to create one of the following:
- BackupStartupConfig. Create a script to backup a device's startup config file.
- BackupRunningConfig. Create a script to backup a device's running config file.
- UploadStartupConfig. Create a script to upload a device's startup config file.
- UploadRunningConfig. Create a script to upload a device's running config file.
- TelnetPasswordAdd. Create a script to add a new Telnet password to a device.
- TelnetPasswordEdit. Create a script to edit a device's Telnet password.
- TelnetPasswordDelete. Create a script to delete a device's Telnet password.
- SshPasswordAdd. Create a script to add a new SSH password to a device.
- SshPasswordEdit. Create a script to edit a device's SSH password.
- SshPasswordDelete. Create a script to delete a device's SSH password.
- SnmpPasswordAdd. Create a script to add a new SNMP password to a device.
- SnmpPasswordEdit. Create a script to edit a device's SNMP password.
- SnmpPasswordDelete. Create a script to delete a device's SNMP password.
- CustomScript. Create a custom script type.
- TftpBackupStartupConfig. Create a script to backup a device's TFTP startup config file.
- TftpBackupRunningConfig. Create a script to backup a device's TFTP running config file.
- UploadStartupConfig_REBOOT. Create a script to upload a startup config for a device in order to reboot that device.
- SecureUploadStartupConfig. Create a script to upload a startup config file for a device using either SCP or SFCP.
- SecureUploadRunningConfig. Create a script to upload a running config file for a device using either SCP or SFCP.
- VlanAdds (VlanEdits, VlanDeletes). Manage a device's (layer 3 switch) VLAN database specification. (Called directly by VLAN manager.)
- VlanAssignPorts. Manage switch ports for VLAN assignments. (Called directly by VLAN manager.)
- VlanTrunkAdd (VlanTrunkDelete). Manage VLAN trunks. (Called directly by VLAN manager.)
- Enter the Script Text.
- Click OK to save changes.
To modify an existing system script:
Note: You cannot modify default system scripts provided by Configuration
Management. You can only modify system scripts that you and other users have configured for use on your network.
- Go to the System Script Library (SETTINGS > Configuration Management > System Script Library). The Default Script Library appears.
- Select an existing script, then click 'edit' (
). The Edit
Configuration Script dialog appears. Use the dialog options to modify the script
as desired. - Enter a Description for the script.
- In the Keys section of the dialog, click 'add' (
) to add a new
OID or IP key and value.- or -
Select an existing Key, then click 'edit' (
) or
'delete' (
) to modify or remove the key value. - Select a Script Type. For a complete listing of available script types, see the previous section, To add a new default script.
- Enter or modify the Script Text as needed.
- Click OK to save changes.
To copy an existing script to modify for a new script:
- Go to System Script Library (SETTINGS > Configuration Management > System Script Library). The Default Script Library displays.
- Select an existing script, then click Copy. The New Configuration Script dialog displays with a copy of the existing script. Use the dialog options to modify the script as desired.
- Enter a Description for the script.
- In the Keys section of the dialog, click 'add'
(
)to add a new OID or IP key and
value.- or -
Select an existing Key, then click 'edit' (
) or 'delete' (
) to modify or
remove the key value. - Select a Script Type. For a complete listing of available script types, see the previous section, To add a new default script.
- Enter or modify the Script Text as needed.
- Click OK to save changes.