Filter:

Submit Search

# Running the SNS CLI script from the web interface

1. In the web interface of the SMC server, select Deployment > SNS CLI scripts.
2. In the Firewalls selection tab, select the script to run.
   - You can store a list of scripts on the SMC server,
   - The button makes it possible to show the raw contents of the script as it is found on your workstation.
3. In the Attachments related to the script menu, add the relevant files to attach to the script. These files will be deleted from the SMC server after the script has been successfully executed. For more information, please refer to the section Attaching files to a script and receiving files generated by script.
4. In the second part of the Firewalls selection tab, select the firewalls on which the script will be run. For each firewall:
   - The icon indicates, where applicable, that the firewall cannot be selected to run the script. The row will be grayed out in this case. Scroll over the icon with your mouse to find out why.
   - The icon makes it possible to view the contents of the script, including variables replaced with values associated with the firewall in question. The icon becomes if there is an error during the analysis of the script (missing attached file or unknown variable). View the contents of the script to find out which row is causing the issue.
5. Click on Execute script at the bottom of the tab. The Execution tab automatically opens.
6. Track the progress and results of the execution of scripts on each selected firewall.
   During the execution of a script or deployment of a configuration, you will not be able to run another script but you can prepare it in the Firewalls selection tab.

   IMPORTANT
   Executing script automatically adopts the reading/writing privileges on any administration sessions already open on the firewalls in question.

7. A summary of the execution process can be seen at the bottom of the panel, displaying successful operations, errors and the firewalls on which the script could not be deployed.
8. You can also filter the list of firewalls by selecting a status in the drop down list at the top of the list.

   TIP
   If the script has been executed on offline firewalls, the actual execution will be postponed until the next time the firewalls are connected.

9. In case of error, see the SMC server logs. You can also connect to the logs and activity reports of a firewall by clicking on the icon in the Actions column.